> Hi, > > My production environment is: latest web2py trunk, ubuntu 10.04, > postgresql > 8.4, nginx, uwsgi. > > I need to have data shared (not cached for certain time) across the uwsgi > processes. > > Currently I'm accessing such data via db select, but I'm wondering if > there's a faster ram method (which auto-clears when restarting uwsgi > server), with no need to access the database. > > Is cache.ram or memcache or redis what I need?, preferably something > simple > to setup. > > Note that I do not need to cache anything for certain time, but instead > share data (set/get common data) across my uwsgi processes. > >
dict-based: http://projects.unbit.it/uwsgi/wiki/CachingFramework queue-based: http://projects.unbit.it/uwsgi/wiki/QueueFramework raw-memory: http://projects.unbit.it/uwsgi/wiki/SharedArea -- Roberto De Ioris http://unbit.it