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 using python libray > http://www.tummy.com/Community/software/python-memcached/ > >
