On 27 Apr, 17:20, Bjorn Tipling <
bjorn.tipl...@gmail.com> wrote:
> How did you implement it? If the server is set up as cgi, I think it
> would create a new instance for each request, wouldn't it?
>
My tests was only as stand alone server. I think that on cgi setup,
it cannot work.
Before start: normally I don't use cgi, so can be that I make some
technical mistakes in my thinks.
The hard way itìs to create a new process that talk with web.py
(instances) trought a single fs fifo (or python xmlrpc) and simplest
it's to use memcache (daemon) and the python client (python-
memcached). Just tried the tests on my etch and work like a charm.
The latter cost about in 40 lines of code, more or less my
MemoryStore, but has external dipendeces. The first it's the better
for webpy, but have to pay attention for the synchronous talks.