|
|
|
|
Re: [CDO] Enum serialization and second-level cache enabled [message #1114959 is a reply to message #1114861] |
Mon, 23 September 2013 13:17 |
Martin Taal Messages: 5468 Registered: July 2009 |
Senior Member |
|
|
Hi Rumburak,
Afaics there are no drawbacks of using the second level cache, but it is not widely used as cdo already caches. So you
can give it a serious try afaics. It can possibly help in certain cases as CDO will only cache what goes through its own
layers, while hibernate will also cache what passes through its layer (which maybe more as Hibernate also sometimes
loads additional objects).
gr. Martin
On 09/23/2013 12:09 PM, rumburak r wrote:
> Martin Taal wrote on Sun, 22 September 2013 17:19
>> Hmm yes, indeed CDO also caches the revisions so the second level cache of hibernate is of less usage. But still the
>> issue reported by Rumburak seems quite solvable.
>> @Rumburak, can you enter a bugzilla for it?
>
>
> done. https://bugs.eclipse.org/bugs/show_bug.cgi?id=417797
>
> BTW I would like to know what is the status of the second-level cache in Hibernete Store. If the second level cache of
> hibernate is of less usage as Martin said, so it doesn't mean that is completely useless. But on the other hand I have
> not read any recommendations for use in CDO clinical ;) practice. Does the second-level cache increase the risk of
> certain types of drawbacks?
>
> I asked you because I have noticed a performance improvement if I use the second-level cache in the Hibernete Store. I
> don't know what is the reason. The hibernate tutorial leads me to believe that the second-level cache improvements some
> fetch strategies (e.g. the recommended approach to problems with N+1 selects) but I still don't know what does this
> recommendation have to do with the Hibernete Store?
>
> Thanks,
> Rumburak
--
With Regards, Martin Taal
Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Cell: +31 (0)6 288 48 943
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@xxxxxxxx - mtaal@xxxxxxxx
Web: www.springsite.com - www.elver.org
|
|
|
|
Re: [CDO] Enum serialization and second-level cache enabled [message #1115130 is a reply to message #1115010] |
Mon, 23 September 2013 17:57 |
Martin Taal Messages: 5468 Registered: July 2009 |
Senior Member |
|
|
Hi Rumburak,
Okay, btw where did you download the hibernate store plugins (I mean which version/timestamp are you using)?
gr. Martin
On 09/23/2013 04:25 PM, rumburak r wrote:
> Martin Taal wrote on Mon, 23 September 2013 09:17
>> Hi Rumburak,
>> Afaics there are no drawbacks of using the second level cache, but it is not widely used as cdo already caches. So you
>> can give it a serious try afaics.
>
>
> Thx Martin, I am going to test it further. The only thing that stopped it was this bug with Enums.
> Rumburak
--
With Regards, Martin Taal
Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Cell: +31 (0)6 288 48 943
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@xxxxxxxx - mtaal@xxxxxxxx
Web: www.springsite.com - www.elver.org
|
|
|
|
Re: [CDO] Enum serialization and second-level cache enabled [message #1115521 is a reply to message #1115512] |
Tue, 24 September 2013 07:59 |
Martin Taal Messages: 5468 Registered: July 2009 |
Senior Member |
|
|
Hi Rumburak,
Okay, I have worked the past weeks on performance improvements in the 4.2 stream also (so your git clone). See also this
update site:
http://www.eclipse.org/cdo/downloads/#maintenance
I wait until the SR1 release (beginning of next week) before working on/pushing new changes for the 4.2 stream.
Everything I do in 4.2.0 will also be in 4.3.0 ofcourse, will push/commit that sometime in october.
gr. Martin
On 09/24/2013 09:45 AM, rumburak r wrote:
> [quote title=Martin Taal wrote on Mon, 23 September 2013 13:57]Hi Rumburak,
> Okay, btw where did you download the hibernate store plugins (I mean which version/timestamp are you using)?
>
> Hi Martin,
> I've tested several possibilities - AFAIR for my own model example I used the update site and the vesion
> 4.2.0.v20130601-1611, for the mango model test I used the version 4.2.0 from my git clone.
>
> Rumburak
>
--
With Regards, Martin Taal
Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Cell: +31 (0)6 288 48 943
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@xxxxxxxx - mtaal@xxxxxxxx
Web: www.springsite.com - www.elver.org
|
|
|
|
Powered by
FUDForum. Page generated in 0.04172 seconds