durusmail: quixote-users: Interface for session persistence
Interface for session persistence
2002-05-18
2002-05-18
2002-05-19
2002-05-20
2002-05-20
2002-05-20
2002-05-20
2002-05-20
2002-05-21
2002-05-24
2002-05-24
2002-05-24
2002-05-18
2002-05-20
2002-05-20
Interface for session persistence
Gene Christian
2002-05-24
> I'd love to hear from anyone who gets the session demo working, and more
> importantly takes a look at the code to see if it makes sense.

I was able to get the session demo working with Xitami.  It works both
as a cgi program and with LRWP (Xitami's fast-cgi-like interface).  I had to
make a few minor changes to the Python interface to LRWP and to
Quixote's request object to get the LRWP interface working properly, but it
seems to work very well.  Sessions worked fine with both the persistent and
in-memory storage.  If anybody is interested, I'll list the changes
I have made to get Quixote working with Xitami / LRWP.

I looked at the code and API for the session manager and it looks good to
me.  I'm excited about some of the changes that have been discussed over the
last week (session changes, built-in user classes, and publishing string
objects as well as callables.).

Given the recent benchmarking posts, I decided to run some benchmarks
on Xitami.

Quixote Demo w/ LRWP:    106.70 req/sec
Quixote Demo w/ CGI:       0.61 req/sec (*)
Static HTML (150 bytes):  87.85 req/sec

* I don't think Xitami's strength is CGI performance - at least under win32.

Benchmarks on a P-III 800MHz running Xitami 2.4v9 under Windows 2000 and
Python 2.2.1.  The benchmarks were run on the same machine with a win32
version of ab.  The server was a basic "out of the box" install - I haven't
changed the configuration at all.

Gene Christian




reply