Re: Refreshing App Vars in a Cluster

2004-03-04 Thread Steve Nelson
Sure, just create an action page that refreshes the application
variables. Then use the jrun equivalent of  cfhttp (sorry don't know
jrun well) to make a request to the other servers in the cluster.

I did this type of thing for a client last year where we updated all the
cached queries across the cluster whenever data was
inserted/updated/deleted. It makes it very scalable, but it's a big pain
in the ass.

Steve Nelson

Dave Carabetta wrote:

> Is it possible to force an Application variable refresh on two MX
> instances
> at the same time? Our web site is a cluster of two JRun instances with
>
> session replication enabled. Because of various issues we were having
> with
> it off, we turned on sticky sessions at the JRun connector level, so
> once I
> hit one JRun instance, all my subsequent requests will hit that same
> instance. What I'd like to be able to do is have an admin log in to a
> page
> where they can edit some constants, and when they hit "Update" the
> Application variable is refreshed on *both* instances instead of just
> the
> instance serving my update request. We are using a shared document
> root, if
> that makes any difference.
>
> Regards,
> Dave.
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Refreshing App Vars in a Cluster

2004-03-04 Thread Dave Carabetta
Is it possible to force an Application variable refresh on two MX instances 
at the same time? Our web site is a cluster of two JRun instances with 
session replication enabled. Because of various issues we were having with 
it off, we turned on sticky sessions at the JRun connector level, so once I 
hit one JRun instance, all my subsequent requests will hit that same 
instance. What I'd like to be able to do is have an admin log in to a page 
where they can edit some constants, and when they hit "Update" the 
Application variable is refreshed on *both* instances instead of just the 
instance serving my update request. We are using a shared document root, if 
that makes any difference.

Regards,
Dave.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]