You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by Kevin Brown <et...@google.com> on 2009/06/06 00:07:10 UTC
Upgrade to ehcache 1.6?
I'm seeing some pretty significant performance improvements with ehcache
1.6. Currently it's listed as beta 5, but it seems pretty stable and is
compatible with 1.4 as far as I've seen.
Previously we were seeing a huge amount of contention in the caches, but
with the new version it's a lot closer to using soft reference caches on
ConcurrentHashMaps
Has anyone else tried this switch? Would anyone object to making this the
default?
Re: Upgrade to ehcache 1.6?
Posted by Paul Lindner <li...@inuus.com>.
trunk is now pulling 1.6beta5. So far so good. I left the ticket open so
we can get this upgraded to the final version before we ship 1.1
On Sat, Jun 6, 2009 at 10:04 PM, Kevin Brown <et...@google.com> wrote:
> I'm using shindig head and ehcache 1.6.0-beta5
>
> There were some problems with earlier 1.6 betas, but the current version
> seems to work just fine (sans shared cache). We haven't tested it under
> significant load yet though, so it's certainly possible that other issues
> might show up.
>
> On Sat, Jun 6, 2009 at 8:29 AM, Carmen Sarlo <ne...@gmail.com> wrote:
>
> > Kevin,
> >
> > What rev of shindig code did you test with ehcache 1.6? I tested with an
> > earlier version of shindig and had some issues, so I went back to a
> ehcache
> > 1.5.
> >
> > Carmen
> >
> >
> > On Fri, Jun 5, 2009 at 6:32 PM, Kevin Brown <et...@google.com> wrote:
> >
> > > On Fri, Jun 5, 2009 at 3:21 PM, Paul Lindner <li...@inuus.com>
> wrote:
> > >
> > > > Is the API vastly different, will we have to change a lot of code to
> > use
> > > > 1.6?
> > >
> > >
> > > Nope. It seems to work as a drop in replacement. So far I haven't
> > > encountered any issues, though we don't use ehcache's distributed cache
> > so
> > > there could be problems there that I'm not aware of.
> > >
> > >
> > > >
> > > > I'm okay with this, but other people have restrictions on
> > prerelease/beta
> > > > libraries. I suspect that 1.6 will be finalized by the time we
> release
> > > > 1.1.
> > > >
> > > >
> > > > On Fri, Jun 5, 2009 at 3:07 PM, Kevin Brown <et...@google.com> wrote:
> > > >
> > > > > I'm seeing some pretty significant performance improvements with
> > > ehcache
> > > > > 1.6. Currently it's listed as beta 5, but it seems pretty stable
> and
> > is
> > > > > compatible with 1.4 as far as I've seen.
> > > > >
> > > > > Previously we were seeing a huge amount of contention in the
> caches,
> > > but
> > > > > with the new version it's a lot closer to using soft reference
> caches
> > > on
> > > > > ConcurrentHashMaps
> > > > >
> > > > > Has anyone else tried this switch? Would anyone object to making
> this
> > > the
> > > > > default?
> > > > >
> > > >
> > >
> >
>
Re: Upgrade to ehcache 1.6?
Posted by Kevin Brown <et...@google.com>.
I'm using shindig head and ehcache 1.6.0-beta5
There were some problems with earlier 1.6 betas, but the current version
seems to work just fine (sans shared cache). We haven't tested it under
significant load yet though, so it's certainly possible that other issues
might show up.
On Sat, Jun 6, 2009 at 8:29 AM, Carmen Sarlo <ne...@gmail.com> wrote:
> Kevin,
>
> What rev of shindig code did you test with ehcache 1.6? I tested with an
> earlier version of shindig and had some issues, so I went back to a ehcache
> 1.5.
>
> Carmen
>
>
> On Fri, Jun 5, 2009 at 6:32 PM, Kevin Brown <et...@google.com> wrote:
>
> > On Fri, Jun 5, 2009 at 3:21 PM, Paul Lindner <li...@inuus.com> wrote:
> >
> > > Is the API vastly different, will we have to change a lot of code to
> use
> > > 1.6?
> >
> >
> > Nope. It seems to work as a drop in replacement. So far I haven't
> > encountered any issues, though we don't use ehcache's distributed cache
> so
> > there could be problems there that I'm not aware of.
> >
> >
> > >
> > > I'm okay with this, but other people have restrictions on
> prerelease/beta
> > > libraries. I suspect that 1.6 will be finalized by the time we release
> > > 1.1.
> > >
> > >
> > > On Fri, Jun 5, 2009 at 3:07 PM, Kevin Brown <et...@google.com> wrote:
> > >
> > > > I'm seeing some pretty significant performance improvements with
> > ehcache
> > > > 1.6. Currently it's listed as beta 5, but it seems pretty stable and
> is
> > > > compatible with 1.4 as far as I've seen.
> > > >
> > > > Previously we were seeing a huge amount of contention in the caches,
> > but
> > > > with the new version it's a lot closer to using soft reference caches
> > on
> > > > ConcurrentHashMaps
> > > >
> > > > Has anyone else tried this switch? Would anyone object to making this
> > the
> > > > default?
> > > >
> > >
> >
>
Re: Upgrade to ehcache 1.6?
Posted by Carmen Sarlo <ne...@gmail.com>.
Kevin,
What rev of shindig code did you test with ehcache 1.6? I tested with an
earlier version of shindig and had some issues, so I went back to a ehcache
1.5.
Carmen
On Fri, Jun 5, 2009 at 6:32 PM, Kevin Brown <et...@google.com> wrote:
> On Fri, Jun 5, 2009 at 3:21 PM, Paul Lindner <li...@inuus.com> wrote:
>
> > Is the API vastly different, will we have to change a lot of code to use
> > 1.6?
>
>
> Nope. It seems to work as a drop in replacement. So far I haven't
> encountered any issues, though we don't use ehcache's distributed cache so
> there could be problems there that I'm not aware of.
>
>
> >
> > I'm okay with this, but other people have restrictions on prerelease/beta
> > libraries. I suspect that 1.6 will be finalized by the time we release
> > 1.1.
> >
> >
> > On Fri, Jun 5, 2009 at 3:07 PM, Kevin Brown <et...@google.com> wrote:
> >
> > > I'm seeing some pretty significant performance improvements with
> ehcache
> > > 1.6. Currently it's listed as beta 5, but it seems pretty stable and is
> > > compatible with 1.4 as far as I've seen.
> > >
> > > Previously we were seeing a huge amount of contention in the caches,
> but
> > > with the new version it's a lot closer to using soft reference caches
> on
> > > ConcurrentHashMaps
> > >
> > > Has anyone else tried this switch? Would anyone object to making this
> the
> > > default?
> > >
> >
>
Re: Upgrade to ehcache 1.6?
Posted by Paul Lindner <li...@inuus.com>.
okay, then I have no opposition. Implementors can choose to use 1.5
depending on their local policy.
On Fri, Jun 5, 2009 at 3:32 PM, Kevin Brown <et...@google.com> wrote:
> On Fri, Jun 5, 2009 at 3:21 PM, Paul Lindner <li...@inuus.com> wrote:
>
> > Is the API vastly different, will we have to change a lot of code to use
> > 1.6?
>
>
> Nope. It seems to work as a drop in replacement. So far I haven't
> encountered any issues, though we don't use ehcache's distributed cache so
> there could be problems there that I'm not aware of.
>
>
> >
> > I'm okay with this, but other people have restrictions on prerelease/beta
> > libraries. I suspect that 1.6 will be finalized by the time we release
> > 1.1.
> >
> >
> > On Fri, Jun 5, 2009 at 3:07 PM, Kevin Brown <et...@google.com> wrote:
> >
> > > I'm seeing some pretty significant performance improvements with
> ehcache
> > > 1.6. Currently it's listed as beta 5, but it seems pretty stable and is
> > > compatible with 1.4 as far as I've seen.
> > >
> > > Previously we were seeing a huge amount of contention in the caches,
> but
> > > with the new version it's a lot closer to using soft reference caches
> on
> > > ConcurrentHashMaps
> > >
> > > Has anyone else tried this switch? Would anyone object to making this
> the
> > > default?
> > >
> >
>
Re: Upgrade to ehcache 1.6?
Posted by Kevin Brown <et...@google.com>.
On Fri, Jun 5, 2009 at 3:21 PM, Paul Lindner <li...@inuus.com> wrote:
> Is the API vastly different, will we have to change a lot of code to use
> 1.6?
Nope. It seems to work as a drop in replacement. So far I haven't
encountered any issues, though we don't use ehcache's distributed cache so
there could be problems there that I'm not aware of.
>
> I'm okay with this, but other people have restrictions on prerelease/beta
> libraries. I suspect that 1.6 will be finalized by the time we release
> 1.1.
>
>
> On Fri, Jun 5, 2009 at 3:07 PM, Kevin Brown <et...@google.com> wrote:
>
> > I'm seeing some pretty significant performance improvements with ehcache
> > 1.6. Currently it's listed as beta 5, but it seems pretty stable and is
> > compatible with 1.4 as far as I've seen.
> >
> > Previously we were seeing a huge amount of contention in the caches, but
> > with the new version it's a lot closer to using soft reference caches on
> > ConcurrentHashMaps
> >
> > Has anyone else tried this switch? Would anyone object to making this the
> > default?
> >
>
Re: Upgrade to ehcache 1.6?
Posted by Paul Lindner <li...@inuus.com>.
Is the API vastly different, will we have to change a lot of code to use
1.6?
I'm okay with this, but other people have restrictions on prerelease/beta
libraries. I suspect that 1.6 will be finalized by the time we release 1.1.
On Fri, Jun 5, 2009 at 3:07 PM, Kevin Brown <et...@google.com> wrote:
> I'm seeing some pretty significant performance improvements with ehcache
> 1.6. Currently it's listed as beta 5, but it seems pretty stable and is
> compatible with 1.4 as far as I've seen.
>
> Previously we were seeing a huge amount of contention in the caches, but
> with the new version it's a lot closer to using soft reference caches on
> ConcurrentHashMaps
>
> Has anyone else tried this switch? Would anyone object to making this the
> default?
>