durusmail: quixote-users: scgi server behind twisted
scgi server behind twisted
2003-03-09
2003-03-10
jon (2 parts)
2003-03-12
2003-03-12
2003-03-14
Jon Dyte (2 parts)
2003-03-23
scgi server behind twisted
jon
2003-03-10
Hi Mike

Some idle time produced the the following script.
Please note, I'm no Twisted expert and this really is a quick hack, but
it is enough such that the demo works (for me at least). YMMV

1) run the quixote scgi demo
        python quixote_handler.py

2) run the script below (it assumes the processes are on the same host and
scgi server is on port 4000, the default). The twisted server starts on port
8098
        python tscgi2.py

3) point a web browser at http://localhost:8098/q/ and you should see the
demo.

4) I havent tested sessions at all.

5) I'm sure there is an easier/cleaner way. If there are any twisted people
out there, I'd welcome the advice.

cheers

Jon

On Sunday 09 Mar 2003 1:27 am, Mike Mueller wrote:
> Hi everybody,
>
> just played around with the demo. Quixote seems to be a very nice package.
> Having a few years Python experience it feels just right.
>
> The methods for long running processes are targeted towards apache. I would
> prefer to use twisted as web server. Firstly, I like python solutions
> better because I have a better chance to understand what is going on inside
> the server if necessary. Secondly, security holes should be much rarer
> because there are no buffer overflows.
>
> I find the scgi idea very interesting. It is a nice separation of web
> server and application server. It should even scale because you can use
> different computers for each of them.
>
> I would like to run twisted as web server and scgi-client and quixote as
> scgi-server. Is there anything like this already? How difficult would it be
> to built it?
>
> Thanks for some hints.
>
> Mike
>
>
> _______________________________________________
> Quixote-users mailing list
> Quixote-users@mems-exchange.org
> http://mail.mems-exchange.org/mailman/listinfo/quixote-users
reply