Uploaded image for project: 'MongoDB Shell'
  1. MongoDB Shell
  2. MONGOSH-1416

Remove child process indirection in node-runtime-worker-thread

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Performance, Tech debt
    • Labels:
      None
    • 3
    • Iteration B (May 6-20)

      When we originally implemented the node-runtime-worker-thread package, we attempted to use a regular Worker thread, but couldn’t due to an issue with how Electron integrates with Node.js: https://github.com/nodejs/node/pull/36344, and therefore added an extra layer of indirection, where we spawn the Worker thread inside of a child process.

      We’ve long been on an Electron version that shouldn’t be affected by this issue, and so we should remove this extra level of indirection.

            Assignee:
            Unassigned Unassigned
            Reporter:
            anna.henningsen@mongodb.com Anna Henningsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: