Re: Scale out

2013-06-03 Thread Christian Grobmeier
On Sat, Jun 1, 2013 at 8:02 AM, Andrus Adamchik wrote: > > On Jun 1, 2013, at 7:34 AM, Christian Grobmeier wrote: > >>> >>> what about doing something virtual with a Connect session or eqquivalent. >>> >>> >> Thanks Malcom! I am afraid I don't understand what you mean by that? > > I think Malcolm

Re: Scale out

2013-05-31 Thread Andrus Adamchik
On Jun 1, 2013, at 7:34 AM, Christian Grobmeier wrote: >> >> what about doing something virtual with a Connect session or eqquivalent. >> >> > Thanks Malcom! I am afraid I don't understand what you mean by that? I think Malcolm is talking about an online Cayenne presentation. BTW I'll proba

Re: Scale out

2013-05-31 Thread Christian Grobmeier
On Sat, Jun 1, 2013 at 4:45 AM, Malcolm Edgar wrote: > what about doing something virtual with a Connect session or eqquivalent. > > Thanks Malcom! I am afraid I don't understand what you mean by that? > regards Malcolm > > > On 31/05/2013, at 10:38 PM, Andrus Adamchik > wrote: > > > > > On May

Re: Scale out

2013-05-31 Thread Christian Grobmeier
On Fri, May 31, 2013 at 2:38 PM, Andrus Adamchik wrote: > > On May 31, 2013, at 3:21 PM, Christian Grobmeier > wrote: > > > Thanks all for your comments and the ideas > > Looks like it is not an easy task and I am glad I asked so early. I > > will most likely not check terracotta, I am hoping for

Re: Scale out

2013-05-31 Thread Malcolm Edgar
what about doing something virtual with a Connect session or eqquivalent. regards Malcolm On 31/05/2013, at 10:38 PM, Andrus Adamchik wrote: > > On May 31, 2013, at 3:21 PM, Christian Grobmeier wrote: > >> Thanks all for your comments and the ideas >> Looks like it is not an easy task and I

Re: Scale out

2013-05-31 Thread Andrus Adamchik
On May 31, 2013, at 3:21 PM, Christian Grobmeier wrote: > Thanks all for your comments and the ideas > Looks like it is not an easy task and I am glad I asked so early. I > will most likely not check terracotta, I am hoping for an easy > solution. :-( Cache groups are fairly easy and lightweigh

Re: Scale out

2013-05-31 Thread Christian Grobmeier
Thanks all for your comments and the ideas Looks like it is not an easy task and I am glad I asked so early. I will most likely not check terracotta, I am hoping for an easy solution. :-( Unfortunately Montreal is pretty far from Germany, I would have loved to check this training out. If you want

Re: Scale out

2013-05-30 Thread Aristedes Maniatis
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 cluste

Re: Scale out

2013-05-29 Thread Andrus Adamchik
I second all the suggestions here. My rules of thumb are: * Don't try to sync individual objects. You can't cluster that well (whatever Terracotta might claim, there are issues beyond transferring object state). * Turn off object cache syncing completely, even within a single VM, to get consiste

Re: Scale out

2013-05-29 Thread Malcolm Edgar
I have found using Caching Groups with relatively short timeouts 15 seconds, can have a huge performance benefit while still keeping most data quite fresh. On Thu, May 30, 2013 at 11:21 AM, Mike Kienenberger wrote: > And be careful not to overdo it. I made that mistake in my first > ecommerce

Re: Scale out

2013-05-29 Thread Mike Kienenberger
And be careful not to overdo it. I made that mistake in my first ecommerce app. In hindsight, it was sufficient to make sure the data was refreshed at the beginning of each request, rather than "as soon as possible". On Wed, May 29, 2013 at 7:39 PM, Aristedes Maniatis wrote: > On 29/05/13 8:1

Re: Scale out

2013-05-29 Thread Aristedes Maniatis
On 29/05/13 8:14pm, Christian Grobmeier wrote: My concern is the Cayenne caching mostly. What if App1 is doing an update and the next requests select from App2? No one can answer this other than you. What does happen? Are you writing an ecommerce system where data has to be fresh to the milli

Scale out

2013-05-29 Thread Christian Grobmeier
Hi all, my app runs well with Cayenne and gets good feedback. With growing data, I need to start thinking about my scaling options. I know about ROP, but I would like to use some kind of "shared caching" or so. Like: DB SERVER --> App + Cayenne 1 +> App + Cayenne 2 No