persistant web state
Max Khesin
max at cNOvSisiPonAtecMh.com
Tue May 20 13:06:23 EDT 2003
I thought of that, but it is not necessarily efficient to pickle/unpicke.
Additionaly this scheme assumes that the "data" can be frozen at a certain
point in time. This is certainly not true for database data and probably for
most other.
--
========================================
Max Khesin, software developer -
max at cNvOiSsPiAoMntech.com
[check out our image compression software at www.cvisiontech.com, JBIG2-PDF
compression @
www.cvisiontech.com/cvistapdf.html]
"Skip Montanaro" <skip at pobox.com> wrote in message
news:mailman.1053447822.27386.python-list at python.org...
>
> >> Why not have a long-running process manage a shared memory segment
> >> using mmap? Your CGI processes could then attach to that segment.
>
> Jay> How would that work with Python objects? I thought mmap was only
> Jay> for file objects?
>
> Couldn't you pickle the data you write to shared memory?
>
> Skip
>
More information about the Python-list
mailing list