On Tue, 2009-07-21 at 09:01 -0700, Russ Ryba wrote:
> Just wanted to add that there are two things to remember when using
> memcached.
> 
> Your key size is limited to 250 characters so don't try to use the
> full URI or Query string or your memcached key will be truncated to
> 250 characters and everything will work, but you will not get what you
> expect.
> 
> Also the maximum amount of data you can cache per key is 1 megabyte.

Thanks for the tips. I'm using a SHA1 hash of whatever I use as a key,
so the length limit is not a problem.

As for the ammount of data... I'll keep it short, then. Thanks. :)

Anyway, I'm trying it with python-memcache and so far so good.
Everything's working nicely. I know there's a cmemcache which is
supposed to be much faster than py-memcache, but I couldn't get it to
compile.


-- 
Branko

eml: [email protected]
alt: [email protected]
blg: http://sudologic.blogspot.com/
img: http://picasaweb.google.com/bg.branko
twt: http://www.twitter.com/foxbunny/


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web.py" 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/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to