alfonsodg / demo-web2py

Apache License 2.0
0 stars 0 forks source link

Use Memcache as a DB (for sessions) #21

Closed alfonsodg closed 10 years ago

alfonsodg commented 10 years ago

From robi...@gmail.com on August 05, 2008 23:48:26

The attached file memdb.py uses the DAL to wrap memcache.

It has doctests that stub the google memcache client.

Use like so: from gluon.contrib.memdb import * from google.appengine.api.memcache import Client session.connect(request,response,db=MEMDB(Client()))

Attachment: memdb.py

Original issue: http://code.google.com/p/web2py/issues/detail?id=21

alfonsodg commented 10 years ago

From massimod...@gmail.com on August 26, 2008 00:35:11

The patch is in trunk

Status: Fixed