Hi all,

I'm planning to add a simple caching mechanism to an app I'm working on and I 
wanted to get some feedback on my approach since I haven't used beaker with 
memcache before.

It's a fairly standard pylons+beaker+memcache setup with both the app and the 
memcache server running on the same machine. The one difference is that 
responsibilities of adding and invalidating the cache will be separated. There 
is a read server which reads items from the db and inserts into memcache as 
needed and an independent write server which will delete cached objects from 
memcache as they are modified.

After reading the memcache docs and the FAQs I'm reasonably confident that this 
isn't a poor use of memcache. It essentially gives me a way to share memory 
between to independent servers without having to run them on the same host or 
the same interpreter.

I'd appreciate feedback or experiences anyone has had using memcache in a 
similar fashion.

Regards,
   - kochhar

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to