Pool Module Question
"Ben Ringold" <ben-3GbDDtM/[email protected]>
| Newsgroups | gmane.comp.python.spyce.general |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I administer a fairly high traffic Spyce/mod_python/Apache/MySQL application that's having trouble keeping up with its traffic growth rate.
I'm trying to improve the performance by making use of data caching for objects that can persist between requests.
I implemented an expiring data cache using Spyce's pool module to store the cached objects. It appears that there are multiple instances of the pool dictionary on a single server, rather than the single pool I anticipated. This is fine for objects that can persist through the life of the server instance (database connections etc) but many of the objects I'd like to cache would only be relevent for a few minutes, so multiple pools don't seem to offer much processing relief.
Does every client thread have it's own pool? Is there anyway to implement a more unified data cache?
Thanks in advance for any help.
Regards,
Ben Ringold
Hypothetical Software
________________________________________________________________
Sent via the WebMail system at hypotheticalsoftware.com
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642