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

bson-ext support for latest Node releases

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: BSON
    • Labels:

      My application processes significant data workloads in heavy read/write scenarios; the database contains more than 1B objects. I managed to optimize performance for all internal business logic code, and now the profiler shows me that bson serialization/deserialization is responsible for 85% of the CPU workload. I can't move this code to a separate thread, so it's a bottleneck in my case.

      Node driver docs mention bson-ext module as a high-performance alternative to the pure JS implementation. However, after the installation I discovered that it doesn't work with Node v12. According to Matt Broadstone's response to my original issue report, this module is not officially supported anymore.

      Do you have plans to release a new version of this extension? Or is there any other way to boost serailization/deserialization performance with current bson module for Node?

            Assignee:
            Unassigned Unassigned
            Reporter:
            orbitlens OL
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: