cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aristedes Maniatis <...@maniatis.org>
Subject Re: Scale out
Date Thu, 30 May 2013 07:05:22 GMT
On 30/05/13 4:33pm, Andrus Adamchik wrote:
> * Don't try to sync individual objects. You can't cluster that well (whatever Terracotta
might claim, there are issues beyond transferring object state).

Yes, and one more thing to think about: what happens when you upgrade an instance on your
cluster to a new version of the application. You'll end up with serialisation errors for objects
which are different versions as they are synced between instances. So you will need to end
up with at least two groups of clusters, each with their own backing cache, and upgrade each
group as a set.

This is the same problem as having distributed sessions (rather than sticky sessions) and
I've not ever found a good solution for it. But with a distributed cache the problem is even
worse.


Ari


-- 
-------------------------->
Aristedes Maniatis
GPG fingerprint CBFB 84B4 738D 4E87 5E5C  5EFA EF6A 7D2E 3E49 102A

Mime
View raw message