Re: dynamic apps

Shaun Coughlin <[email protected]>
Newsgroups gmane.comp.web.fastcgi.devel
Message-ID <[email protected]>
Hi

I have managed to achieve this by using a static  fcgi app as an 
application broker which creates a symbolic link in the fcgi directory 
to the application required using a timestamp and user name to make it 
unique. This then becomes the url for the calling application which is a 
PHP script.

I have also done some small mods to the process manager to allow 
graceful completion of the application and removal of the symbolic link 
when the application terminates with a particular exit code.(99)

Perhaps this will give you some ideas.

Regards

Shaun Coughlin

Marc Prewitt wrote:

>T. Horsnell wrote:
>  
>
>>Hi all,
>>Is there a way in which I can invoke a single instance of
>>a fastcgi application per browser connection?
>>I had assumed that the dynamic method would do just this,
>>but however may times I point my browser at the fastcgi
>>app, I only get a single instance running, and all the
>>clients connect to it.
>>    
>>
>
>Dynamic just allows you to have a dynamic pool of running apps based on 
>the number of outstanding requests and numbers that you specify.
>
>  
>
>>What I really want is for each client to have its own
>>copy of the app running. Is this possible?
>>    
>>
>
>
>I don't think you can do exactly what you want.  However, using the 
>sessions affinity patch you can at least send people back to the same 
>instance of the app:
>
>http://www.3skel.com/fastcgi/
>
>This may not be exactly what you want but you may be able to use the 
>session information to restore the state of the running app to the 
>current user.
>___________________________________
>fastcgi-developers mailing list
>http://fastcgi.com/fastcgi-developers/
>
>  
>

___________________________________
fastcgi-developers mailing list
http://fastcgi.com/fastcgi-developers/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.