Node.js mongoose performance

Is there somebody that has experience using mongoose.js as Node.js mapper for Mongodb at high scale?

I am wondering if I should use the native driver, so I keep everything lightweight or to write a simple wrapper.

If anybody got some tips, advise thank you very much.

Answers:

Answer

Unless you really need an ORM\ODM I recommended you don't use Mongoose at all.

It seems most people (including me, briefly) are you using Mongoose because the native driver's api is to cluncky and difficult to understand.

That's why I have switch to mongojs. Mongojs is a module that wraps the native driver but with much cleaner api that is almost identical to mongo shell.

I can't really comment on the scalability of Mongoose but mongojs is just that, a lightweight wrapper around the native driver.

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.