Yep, I'm printing back the results. Even if the case with MongoDB is that it doens't verify, while reading it back, it exists..
I have installed both memcached & mongodb on the same machine (ubuntu 9.10)on the network. And connecting to it with another machine. On Aug 17, 10:56 pm, Matt Ingenthron <ingen...@cep.net> wrote: > On 8/17/11 8:44 AM, Neeraj Agarwal wrote: > > > I installed memcached on Ubuntu box. Installed MongoDB too on the same > > machine to compare the performance for these two. > > By default, mongodb doesn't check for responses at all. It just sends > requests over. That *could* be playing a role here. > > The "reading from" makes less sense though if there. Are you verifying > that you read it back? > > Something seems broken for sure with 220 records in 85 seconds. > > > > > > > > > > > Storing in MongoDB 0.0940001010895 for 220 records > > Storing in memcached 83.2030000687 > > Reading from MongoDB 0.0309998989105 > > Reading from memcached 85.3599998951 > > > All time in seconds. > > > I'm > > usingpythonlibrayhttp://www.tummy.com/Community/software/python-memcached/