[Building Sakai] update ehcahce to 1.5.0?

View: New views
7 Messages — Rating Filter:   Alert me  

[Building Sakai] update ehcahce to 1.5.0?

by David Horwitz :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi All,

At the moment we are using ehcache 1.3.0. The latest release is 1.7.0:

http://ehcache.org/changes-report.html

It seems that we can straightforwardly upgrade to 1.5.0 9 9 (there seem
to be API changes in 1.6.0 that break the memory service)

thoughts?

D

_______________________________________________
sakai-dev mailing list
sakai-dev@...
http://collab.sakaiproject.org/mailman/listinfo/sakai-dev

TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe@... with a subject of "unsubscribe"

Re: [Building Sakai] update ehcahce to 1.5.0?

by Ian Boston-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On 1 Nov 2009, at 07:54, David Horwitz wrote:

> Hi All,
>
> At the moment we are using ehcache 1.3.0. The latest release is 1.7.0:
>
> http://ehcache.org/changes-report.html
>
> It seems that we can straightforwardly upgrade to 1.5.0 9 9 (there  
> seem
> to be API changes in 1.6.0 that break the memory service)
>
> thoughts?

IMHO, I would certainly go up to 1.5
but I would be very tempted to do the work in memory service to make  
it work with 1.6. You should not have to change anything in the API  
only the implementation so the scope will be limited to just memory  
service impl. If that is not the case, then there is something really  
very wrong with the API.

I will be updating K2 as
"This release introduces a new high performance cache core, which is  
two orders of magnitude faster." in the 1.6 release is quite compelling

Ian


>
> D
>
> _______________________________________________
> sakai-dev mailing list
> sakai-dev@...
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe@...
>  with a subject of "unsubscribe"

_______________________________________________
sakai-dev mailing list
sakai-dev@...
http://collab.sakaiproject.org/mailman/listinfo/sakai-dev

TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe@... with a subject of "unsubscribe"

Re: [Building Sakai] update ehcahce to 1.5.0?

by David Horwitz :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi

Ian Boston wrote:

>>
>> thoughts?
>
> IMHO, I would certainly go up to 1.5
> but I would be very tempted to do the work in memory service to make
> it work with 1.6. You should not have to change anything in the API
> only the implementation so the scope will be limited to just memory
> service impl. If that is not the case, then there is something really
> very wrong with the API.
>
A bit of poking revealed that is looks fairly straight forward - most of
the issued are old log messages calling getTimeToLiveSeconds and the
such. I'll see about cleaning them up the only mystery one is:

/home/dhorwitz/sakai/kernel-trunk/kernel-impl/src/main/java/org/sakaiproject/content/impl/serialize/impl/conversion/SAXSerializableResourceAccess.java:[56,43]
package edu.emory.mathcs.backport.java.util does not exist  

Though no doubt that is findable too :-)

D


> I will be updating K2 as
> "This release introduces a new high performance cache core, which is
> two orders of magnitude faster." in the 1.6 release is quite compelling
>
> Ian
>
>
>>
>> D
>>
>> _______________________________________________
>> sakai-dev mailing list
>> sakai-dev@...
>> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>>
>> TO UNSUBSCRIBE: send email to
>> sakai-dev-unsubscribe@... with a subject of
>> "unsubscribe"
>
_______________________________________________
sakai-dev mailing list
sakai-dev@...
http://collab.sakaiproject.org/mailman/listinfo/sakai-dev

TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe@... with a subject of "unsubscribe"

Re: [Building Sakai] update ehcahce to 1.5.0?

by David Horwitz :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Ok

I've done this under http://jira.sakaiproject.org/browse/KNL-316

Notes:
- a couple of log lines are much pithier as the methods they call (mostly ttl and items on disk) no longer exit
- backport-util-concurrent is an explicit dependency of the kernel-impl

D

David Horwitz wrote:
Hi

Ian Boston wrote:
  
thoughts?
      
IMHO, I would certainly go up to 1.5
but I would be very tempted to do the work in memory service to make
it work with 1.6. You should not have to change anything in the API
only the implementation so the scope will be limited to just memory
service impl. If that is not the case, then there is something really
very wrong with the API.

    
A bit of poking revealed that is looks fairly straight forward - most of
the issued are old log messages calling getTimeToLiveSeconds and the
such. I'll see about cleaning them up the only mystery one is:

/home/dhorwitz/sakai/kernel-trunk/kernel-impl/src/main/java/org/sakaiproject/content/impl/serialize/impl/conversion/SAXSerializableResourceAccess.java:[56,43]
package edu.emory.mathcs.backport.java.util does not exist   

Though no doubt that is findable too :-)

D


  
I will be updating K2 as
"This release introduces a new high performance cache core, which is
two orders of magnitude faster." in the 1.6 release is quite compelling

Ian


    
D

_______________________________________________
sakai-dev mailing list
sakai-dev@...
http://collab.sakaiproject.org/mailman/listinfo/sakai-dev

TO UNSUBSCRIBE: send email to
sakai-dev-unsubscribe@... with a subject of
"unsubscribe"
      
_______________________________________________
sakai-dev mailing list
sakai-dev@...
http://collab.sakaiproject.org/mailman/listinfo/sakai-dev

TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe@... with a subject of "unsubscribe"
  

_______________________________________________
sakai-dev mailing list
sakai-dev@...
http://collab.sakaiproject.org/mailman/listinfo/sakai-dev

TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe@... with a subject of "unsubscribe"

Re: [Building Sakai] update ehcahce to 1.5.0?

by Ian Boston-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On 1 Nov 2009, at 15:12, David Horwitz wrote:

> Hi
>
> Ian Boston wrote:
>>>
>>> thoughts?
>>
>> IMHO, I would certainly go up to 1.5
>> but I would be very tempted to do the work in memory service to make
>> it work with 1.6. You should not have to change anything in the API
>> only the implementation so the scope will be limited to just memory
>> service impl. If that is not the case, then there is something really
>> very wrong with the API.
>>
> A bit of poking revealed that is looks fairly straight forward -  
> most of
> the issued are old log messages calling getTimeToLiveSeconds and the

that sounds good :)

> such. I'll see about cleaning them up the only mystery one is:
>
> /home/dhorwitz/sakai/kernel-trunk/kernel-impl/src/main/java/org/
> sakaiproject/content/impl/serialize/impl/conversion/
> SAXSerializableResourceAccess.java:[56,43]
> package edu.emory.mathcs.backport.java.util does not exist
>

That is probably a concurrent map or list, and could easily/should be  
converted to a post java 1.5 class.

Ian

> Though no doubt that is findable too :-)
>
> D
>
>
>> I will be updating K2 as
>> "This release introduces a new high performance cache core, which is
>> two orders of magnitude faster." in the 1.6 release is quite  
>> compelling
>>
>> Ian
>>
>>
>>>
>>> D
>>>
>>> _______________________________________________
>>> sakai-dev mailing list
>>> sakai-dev@...
>>> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>>>
>>> TO UNSUBSCRIBE: send email to
>>> sakai-dev-unsubscribe@... with a subject of
>>> "unsubscribe"
>>

_______________________________________________
sakai-dev mailing list
sakai-dev@...
http://collab.sakaiproject.org/mailman/listinfo/sakai-dev

TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe@... with a subject of "unsubscribe"

Re: [Building Sakai] update ehcahce to 1.5.0?

by Cris J Holdorph :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I've heard there are some interesting behavior (problems?) with 1.6 due
a switch toe java.util.logging instead of log4j.  Seems to play havoc
with classloaders according to a fellow uPortal developer who was trying
to upgrade uPortal's use of ehcache.

Something worth checking on, before you invest too much work in changing
something in kernel.

---- Cris J H

Ian Boston wrote:

> On 1 Nov 2009, at 07:54, David Horwitz wrote:
>
>> Hi All,
>>
>> At the moment we are using ehcache 1.3.0. The latest release is 1.7.0:
>>
>> http://ehcache.org/changes-report.html
>>
>> It seems that we can straightforwardly upgrade to 1.5.0 9 9 (there  
>> seem
>> to be API changes in 1.6.0 that break the memory service)
>>
>> thoughts?
>
> IMHO, I would certainly go up to 1.5
> but I would be very tempted to do the work in memory service to make  
> it work with 1.6. You should not have to change anything in the API  
> only the implementation so the scope will be limited to just memory  
> service impl. If that is not the case, then there is something really  
> very wrong with the API.
>
> I will be updating K2 as
> "This release introduces a new high performance cache core, which is  
> two orders of magnitude faster." in the 1.6 release is quite compelling
>
> Ian
>
>
>> D
>>
>> _______________________________________________
>> sakai-dev mailing list
>> sakai-dev@...
>> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>>
>> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe@...
>>  with a subject of "unsubscribe"
>
> _______________________________________________
> sakai-dev mailing list
> sakai-dev@...
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe@... with a subject of "unsubscribe"
>
_______________________________________________
sakai-dev mailing list
sakai-dev@...
http://collab.sakaiproject.org/mailman/listinfo/sakai-dev

TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe@... with a subject of "unsubscribe"

Re: [Building Sakai] update ehcahce to 1.5.0?

by Cris J Holdorph :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

This is the issue that I was talking about.  Eric Dalquist ran into it
with uPortal.

https://jira.terracotta.org/jira//browse/EHC-310

---- Cris J H

Cris J Holdorph wrote:

> I've heard there are some interesting behavior (problems?) with 1.6 due
> a switch toe java.util.logging instead of log4j.  Seems to play havoc
> with classloaders according to a fellow uPortal developer who was trying
> to upgrade uPortal's use of ehcache.
>
> Something worth checking on, before you invest too much work in changing
> something in kernel.
>
> ---- Cris J H
>
> Ian Boston wrote:
>> On 1 Nov 2009, at 07:54, David Horwitz wrote:
>>
>>> Hi All,
>>>
>>> At the moment we are using ehcache 1.3.0. The latest release is 1.7.0:
>>>
>>> http://ehcache.org/changes-report.html
>>>
>>> It seems that we can straightforwardly upgrade to 1.5.0 9 9 (there  
>>> seem
>>> to be API changes in 1.6.0 that break the memory service)
>>>
>>> thoughts?
>> IMHO, I would certainly go up to 1.5
>> but I would be very tempted to do the work in memory service to make  
>> it work with 1.6. You should not have to change anything in the API  
>> only the implementation so the scope will be limited to just memory  
>> service impl. If that is not the case, then there is something really  
>> very wrong with the API.
>>
>> I will be updating K2 as
>> "This release introduces a new high performance cache core, which is  
>> two orders of magnitude faster." in the 1.6 release is quite compelling
>>
>> Ian
>>
>>
>>> D
>>>
>>> _______________________________________________
>>> sakai-dev mailing list
>>> sakai-dev@...
>>> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>>>
>>> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe@...
>>>  with a subject of "unsubscribe"
>> _______________________________________________
>> sakai-dev mailing list
>> sakai-dev@...
>> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>>
>> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe@... with a subject of "unsubscribe"
>>
> _______________________________________________
> sakai-dev mailing list
> sakai-dev@...
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe@... with a subject of "unsubscribe"
>
_______________________________________________
sakai-dev mailing list
sakai-dev@...
http://collab.sakaiproject.org/mailman/listinfo/sakai-dev

TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe@... with a subject of "unsubscribe"