Sean > If you're relying on propagating a lot of data, you might want to > revisit your application architecture - using a database may be more > appropriate than trying to rely on shared memory.
1) so what you're saying is that holding or caching of data across the cluster should be avoided because the mechanics of refreshing each instance is the tricky bit. If you cache no data but only rely on explicitly calling methods of singletons in shared scope (for us it's server scope) then it's not a problem, yes? 2) > What we do is to expose a web service (on every instance) that can be > called to propagate updates across the cluster. just wanting to clarify this... (I'm just getting into clustering) ... if an instance gets an update, it knows where the other instances' webservices are and "pushes" the new data to them. since each instance know where it's "mates" are any one of them can update the whole lot, yes? That seems to be a bit of work to set up. I take it you'd only do this sparingly then...? thanx barry.b > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Sean > Corfield > Sent: Tuesday, 31 May 2005 4:48 AM > To: CFAussie Mailing List > Subject: [cfaussie] Re: using application scope with clusters > > > On 5/29/05, Jason Sheedy <[EMAIL PROTECTED]> wrote: > > I have some components that I want to store in the > application scope. > > This is easy to manage on a single server, but when you start using > > multiple servers you run into problems managing it all. > > What we do is to expose a web service (on every instance) that can be > called to propagate updates across the cluster. We run the JRun Web > Server so that we can directly access every instance (inside the > firewall - those addresses are not publicly exposed). > > If you're relying on propagating a lot of data, you might want to > revisit your application architecture - using a database may be more > appropriate than trying to rely on shared memory. > -- > Sean A Corfield -- http://corfield.org/ > Team Fusebox -- http://fusebox.org/ > Got Gmail? -- I have 50, yes 50, invites to give away! > > "If you're not annoying somebody, you're not really alive." > -- Margaret Atwood > > --- > You are currently subscribed to cfaussie as: [EMAIL PROTECTED] > To unsubscribe send a blank email to > [EMAIL PROTECTED] > Aussie Macromedia Developers: http://lists.daemon.com.au/ > --- You are currently subscribed to cfaussie as: [email protected] To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/
