Re: Question about mod_fastcgi with exclusive session affinity
| Newsgroups | gmane.comp.web.fastcgi.devel |
|---|---|
| Message-ID | <OFD1EB4127.D97921A5-ON87256F3A.004E0DE5-87256F3A.00580264@mmm.com> |
No, actually one user at one IP address (on a single PC for instance)
needs to run multiple simultaneous instances of
the same application. Each of these applications has state information
that must persist through the entire potentially long-term interaction.
One other thing to note is that the application makes use of processing
libraries that cannot be modified to change the way that
state is stored and utilized. So you see that I cannot change the
processing paradigm to have a single applcation handle
the multiple simultaneous executions at the client side. Multiple copies
of the libraries that handle client state cannot run in the same
process, and like I said, this code is given to me and I cannot change it.
Since one IP address maps to one exclusive server and
application, I need a way to have one client IP address map to multiple
fast_cgiSA servers and applications using some handle that
the client can pass along with the http call. Any further ideas would
greatly be appreciated.
Larry Cousin
Dan Janowski
<[email protected]>
To
10/26/2004 08:50 [email protected]
PM cc
[email protected]
net
Subject
Re: [FASTCGI] Question about
mod_fastcgi with exclusive session
affinity
Is the idea that a single person is using one browser performing
multiple instances of the same task at the same time?
I suggest you use the application to fix the problem. If a client is
always showing up at the same server, the implementing language Classes
can be used to represent state and thus you have control over which
object instance gets picked up for the current hit. There are other
means to manage state, but this is the most direct.
It is unclear that modifying the SA exclusive mode would work or be
controllable.
If your intent is different, then an different alternative may apply.
Using a state machine in the server is better than exclusive mode in
total.
Dan
On Oct 26, 2004, at 17:37, [email protected] wrote:
> server and application process. I'd like to tie a single
> client to several of the same servers running exclusive with
> mod_fastcgiSA.
> I'd like to pass some type of handle in the URL or
> http data to have the session server map that user and handle to an
> exclusive server and application.
___________________________________
fastcgi-developers mailing list
http://fastcgi.com/fastcgi-developers/