Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6239303
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T11:22:10+00:00 2026-05-24T11:22:10+00:00

How much overhead does Mongoose add to the node-mongodb-native driver? If I just wanted

  • 0

How much overhead does Mongoose add to the node-mongodb-native driver? If I just wanted to have a couple structurally similar queries on several collections, would it make more sense to just write everything using the driver directly? For example, I would need to do something as follows (in the driver language, as copied from here):

db.collection('test', function(err, collection) {
  collection.find({'a':1}, function(err, cursor) {
    *do something*
  }
}

Where I would just replace 'test' and 'a' with variables to hold the actual collection and key that I’m looking for.

I feel like it makes sense in this case to just write everything using the driver directly. Would there be any reason to use Mongoose itself? Is the overhead so negligible that I’m being silly by considering using the driver directly?

Best, and thanks,
Sami

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T11:22:12+00:00Added an answer on May 24, 2026 at 11:22 am

    Depends how large your app is going to be. If you’re only doing a few queries it’s probably not worth adding Mongoose to the mix but once your app starts to grow Mongoose can help keep it more maintainable. Dev time is usually more valuable than processing time.

    Unless your app is going to be serving a LOT of simultaneous requests you probably won’t notice the difference in performance.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This seems very noisy to me. Five lines of overhead is just too much.
We have a class library that does some basic operations similar to an ORM,
Following on from the best answer here: How much overhead does SSL impose? Is
Does anybody know how much overhead per single item is required? When I insert
How much database performance overhead is involved with using C# and LINQ compared to
Much related to this question , we have a scenario on my team where
I have a currently running PHP application that I want to add real-time feed
I figure by the use cases node is designed for that it would have
I have created an application that does the following: Make some calculations, write calculated
Much I've read talks about the advantages of setting your UI up in IB.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.