On 8 mayo, 11:40, Dan Lynch <
danlync...@yahoo.com> wrote:
> Have you tried MongoDB for user sessions and other high frequency
> data?
> We're using it now and its working really well, so just curious why
> you would use redis.
No, I haven't. And I'm sure that Mongo can manage those data very well
but the Redis API is very simple and fills this place very well.
I'm finishing a plugin for Repoze.what to use Redis and has been very
fast (for Mongo it was harder).
I like Mongo and its API (it's awesome), but in my case I've found
that Redis goes very well to manage data related to authentication
since that it has functions to working with lists and sets.
http://code.google.com/p/redis/wiki/CommandReference
http://github.com/antirez/redis/blob/93ea375904fa2a5d1cab110698d15f43e63d84f1/client-libraries/python/redis.py
> We're using mongo capped collections for logging and its working well.
> Well, we're using capped collections and then archiving.
> But the capped work well for the last few days and searching, etc...
About logging I cann't say much until that I make tests about several
databases, as Tokyo Cabinet, Hypertable, and could be with Mondodb