Node.js mongoose performance

后端 未结 2 940
温柔的废话
温柔的废话 2021-02-20 16:04

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 everyth

2条回答
  •  广开言路
    2021-02-20 16:23

    A little late to the party some but according to this article Mongoose performs worse compared to the native MongoDB Node.js client. More or less Mongoose is slower (ops/sec) for every single metric collected (queries and inserts).

    Source code with the benchmarks can be found here

提交回复
热议问题