Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-404

node-mongodb-native cause high cpu usage on web server

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • aws server Red Hat 4.4.7-11 linux 2.6.32 2.80GHz cpu cache size 25600KB mem 15238772kb

    Description

      I query 5 times with node-mongodb-native in my simple web server api. And I test it's performance with siege -c800 -t1. I find the cpu usage of web server is high, I wonder what should I do to avale the cpu usage. Or 5 times mongodb queries in one nodejs api is too many?

      Attachments

        Activity

          People

            christkv Christian Amor Kvalheim
            chenxuan chenxuan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: