Home » Modeling » EMF » [CDO] Persisting CDORevisionCache to filesystem to improve user experience
[CDO] Persisting CDORevisionCache to filesystem to improve user experience [message #1446687] |
Fri, 17 October 2014 02:47  |
Eclipse User |
|
|
|
Hi all!
I'm thinking about persisting CDORevisionCache (client side) to disk, to keep it between restarting. Without it, users are often needed to load pretty large models from CDO server upon every restrart of out tool. As it seems to be pretty obvious optimization, but haven't been done yet, I'd like to ask - is there any danger in doing this? As far as I understand CDO, CDORevisionCache only keeps immutable data (CDORevision coordinates (ID, Branch, Version), and revision data (which is immutable as well)), so that should work fine.
Am I wrong?
|
|
|
Re: [CDO] Persisting CDORevisionCache to filesystem to improve user experience [message #1447599 is a reply to message #1446687] |
Sat, 18 October 2014 11:31   |
Eclipse User |
|
|
|
Hi Leonid,
Long ago André has created a DB-based CDORevisionCache. You may want to study
http://git.eclipse.org/c/cdo/cdo.git/tree/plugins/org.eclipse.emf.cdo.common.db/src/org/eclipse/emf/cdo/common/db/CDOCommonDBUtil.java
..
It hasn't been maintained for quite a while, so it might be broken.
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
Am 17.10.2014 um 08:47 schrieb Leonid Ripeynih:
> Hi all!
>
> I'm thinking about persisting CDORevisionCache (client side) to disk, to keep it between restarting. Without it, users
> are often needed to load pretty large models from CDO server upon every restrart of out tool. As it seems to be pretty
> obvious optimization, but haven't been done yet, I'd like to ask - is there any danger in doing this? As far as I
> understand CDO, CDORevisionCache only keeps immutable data (CDORevision coordinates (ID, Branch, Version), and
> revision data (which is immutable as well)), so that should work fine.
> Am I wrong?
|
|
| | |
Goto Forum:
Current Time: Wed Apr 30 20:19:00 EDT 2025
Powered by FUDForum. Page generated in 0.16397 seconds
|