Wednesday, September 21, 2011

Redis and MongoDB insertion performance analysis

Axant Tech Blog said:

Redis and MongoDB insertion performance analysis

Up to 5000 entries mongodb $push is faster even when compared to Redis RPUSH, then it becames incredibly slow, probably the mongodb array type has linear insertion time and so it becomes slower and slower. mongodb might gain a bit of performances by exposing a constant time insertion list type, but even with the linear time array type (which can guarantee constant time look-up) it has its applications for small sets of data.

read more


Graph from blog.axant.it


Graph from blog.axant.it