DEV Community

Discussion on: Building a Database Written in Node.js from the Ground Up

Collapse
 
petroskoulianos profile image
Petros Koulianos

Just made an account to see whats going on. How can harperdb be faster than mongodb almost in all cases ???

Collapse
 
margo_hdb profile image
Margo McCabe

Hi Petros, thanks for creating an account! MongoDB is optimized for high scale writes, but not for reads. HarperDB's data storage algorithm written on top of LMDB enables both high scale reads & writes, resulting in high performance overall. (Our benchmark and LMDB deep dive might be interesting as well). Let us know if you have any questions or feedback once you check it out!