Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » EMFStore vs. CDO(EMFStore CDO)
EMFStore vs. CDO [message #1668743] Thu, 12 March 2015 16:20 Go to next message
Franco Lombardo is currently offline Franco LombardoFriend
Messages: 5
Registered: March 2015
Junior Member
Hi all,

I'm choosing the persistence engine for a project that uses EMF, and I'd like to know if I should use EMFStore or CDO. Consider that in my use case this engine will be heavily used by many concurrent clients, so scalability could be an issue.

I did some test with CDO and the MongoDBStore, because I thought to use the scalability features of this DB, but it seems to me that this project is not longer supported, isn't it?

Thank you very much.

Franco
Re: EMFStore vs. CDO [message #1676101 is a reply to message #1668743] Sun, 15 March 2015 10:23 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
Am 13.03.2015 um 06:02 schrieb Franco Lombardo:
> Hi all,
>
> I'm choosing the persistence engine for a project that uses EMF, and I'd like to know if I should use EMFStore or CDO.
> Consider that in my use case this engine will be heavily used by many concurrent clients, so scalability could be an
> issue.
CDO is the only scalable model repository I know of.

> I did some test with CDO and the MongoDBStore, because I thought to use the scalability features of this DB, but it
> seems to me that this project is not longer supported, isn't it?
CDO is an active project with a broad user base. Unfortunately the home page is currently broken by CSS changes but it
will be repaired ASAP.

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper


Re: EMFStore vs. CDO [message #1678800 is a reply to message #1668743] Mon, 16 March 2015 10:45 Go to previous messageGo to next message
Jonas Helming is currently offline Jonas HelmingFriend
Messages: 699
Registered: July 2009
Senior Member
Hi Franco,

I think it makes sense to define your requirements more in detail. Examples:
- Number of Users?
- Expected Model Size?
- Online vs. Offline?
- How should conflicts be handled?
- and many more

based on that I would spend some time on an evaluation to make sure you
find the best technology for your use case. Depending on the kind of
application you develop, there is even a third alternative: Git in
combination with EMF Compare.

About the scalability of concurrent Users in EMFStore: As the default
Mode in EMFStore is offline, the server only gets active, once a user
(or a system) triggers a commit or update. Of course it depends on the
total number of users, you want to support, but typically the model size
is a more critical factor. If you need to support very large model
instance (millions of elements), the loading and unloading feature of
CDO can help.

Best regards

Jonas

--
Get professional Eclipse developer support:
http://eclipsesource.com/en/services/developer-support/

Am 13.03.2015 um 06:02 schrieb Franco Lombardo:
> Hi all,
>
> I'm choosing the persistence engine for a project that uses EMF, and I'd
> like to know if I should use EMFStore or CDO. Consider that in my use
> case this engine will be heavily used by many concurrent clients, so
> scalability could be an issue.
>
> I did some test with CDO and the MongoDBStore, because I thought to use
> the scalability features of this DB, but it seems to me that this
> project is not longer supported, isn't it?
>
> Thank you very much.
>
> Franco
>


--
Get professional Eclipse developer support:
http://eclipsesource.com/en/services/developer-support/
Re: EMFStore vs. CDO [message #1679341 is a reply to message #1676101] Mon, 16 March 2015 15:22 Go to previous messageGo to next message
Franco Lombardo is currently offline Franco LombardoFriend
Messages: 5
Registered: March 2015
Junior Member
Eike,

thank you very much for your answer.

I had some doubts just about the MongoDBStore because I didn't see many commits on that "driver", and because the class MongoDBStoreAccessor has some methods throwing

throw new UnsupportedOperationException("Not yet implemented"); // TODO Implement me


By the way, I would like to test CDO with the latest version of MySQL/MariaDB, but I was hitting this bug:

bugs.eclipse.org/bugs/show_bug.cgi?id=439772

Thank you very much.

Bye

Franco


Re: EMFStore vs. CDO [message #1679456 is a reply to message #1679341] Mon, 16 March 2015 16:22 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
Am 16.03.2015 um 16:22 schrieb Franco Lombardo:
> Eike,
>
> thank you very much for your answer.
>
> I had some doubts just about the MongoDBStore because I didn't see many commits on that "driver", and because the
> class MongoDBStoreAccessor has some methods throwing
>
>
> throw new UnsupportedOperationException("Not yet implemented"); // TODO Implement me
Sorry, I forgot that the MongoDBStore is not under active development because the initial sponsor went away from it. I
doubt that it has many users. I've just updated https://wiki.eclipse.org/CDO/MongoDB_Store with some more details about
the implementation and characteristics.

> By the way, I would like to test CDO with the latest version of MySQL/MariaDB, but I was hitting this bug:
> bugs.eclipse.org/bugs/show_bug.cgi?id=439772
I'd like to "modernize" our Mysql adapter but that must wait until I could merge my current overhaul of the entire CDO
UI ( https://www.youtube.com/watch?v=iU21I4-ZxiQ ) into master...

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper


Re: EMFStore vs. CDO [message #1679486 is a reply to message #1678800] Mon, 16 March 2015 16:36 Go to previous messageGo to next message
Franco Lombardo is currently offline Franco LombardoFriend
Messages: 5
Registered: March 2015
Junior Member
Jonas,

thanks for your answer.

Here are some more data on my use case:

>Number of Users?

Hundreds.

>Expected Model Size?

Some thousands of objects

>Online vs. Offline?
Online

> How should conflicts be handled?

Well, I would think with something like a pessimistic lock policy.


I know that it's very difficult to give an answer with this scarce data, but what do you think would be better in this scenario?

Thanks in advance.

Franco
Re: EMFStore vs. CDO [message #1687586 is a reply to message #1679456] Thu, 19 March 2015 18:12 Go to previous messageGo to next message
Franco Lombardo is currently offline Franco LombardoFriend
Messages: 5
Registered: March 2015
Junior Member
Hi all,

I proposed a fix for the aforementioned bug:

bugs.eclipse.org/bugs/show_bug.cgi?id=439772

Bye

Franco
Re: EMFStore vs. CDO [message #1688177 is a reply to message #1679486] Fri, 20 March 2015 09:18 Go to previous messageGo to next message
Maximilian Koegel is currently offline Maximilian KoegelFriend
Messages: 253
Registered: July 2009
Senior Member
Hi Franco,

based on your requirements to have clients that are permanently
connected to the server (online) and having pessimistic locking I would
recommend you to look at CDO.

Cheers,
Maximilian

Am 16.03.2015 um 17:36 schrieb Franco Lombardo:
> Jonas,
>
> thanks for your answer.
>
> Here are some more data on my use case:
>
>> Number of Users?
>
> Hundreds.
>
>> Expected Model Size?
>
> Some thousands of objects
>
>> Online vs. Offline?
> Online
>
>> How should conflicts be handled?
>
> Well, I would think with something like a pessimistic lock policy.
>
>
> I know that it's very difficult to give an answer with this scarce data,
> but what do you think would be better in this scenario?
>
> Thanks in advance.
>
> Franco


--
Maximilian Kögel

Get professional Eclipse developer support:
http://eclipsesource.com/en/services/developer-support/
Re: EMFStore vs. CDO [message #1688396 is a reply to message #1688177] Fri, 20 March 2015 16:02 Go to previous message
Franco Lombardo is currently offline Franco LombardoFriend
Messages: 5
Registered: March 2015
Junior Member
Maximilian,

thank you for your answer: I think I'll use CDO.

Bye

Franco
Previous Topic:[Teneo] PSQLException: Too many clients already
Next Topic:[Xcore][CDO] Annotations instead of GenModel
Goto Forum:
  


Current Time: Thu Mar 28 18:59:28 GMT 2024

Powered by FUDForum. Page generated in 0.06786 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top