Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-4517

Spike how to move the shell code execution to a background process in Compass

    • Type: Icon: Investigation Investigation
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • No version
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Not Needed
    • Iteration Rambutan, Iteration Star Apple

      To avoid making the shell block the Compass UI in certain conditions, we want to be able to put the shell runtime in a background thread/worker.

      With this investigation we want to build a proof of concept to see and better estimate the amount of work needed to build a full implementation of a shell runtime that works in a separate thread.

      The proof of concept should explore the following areas:

      • Is it possible to run mongosh runtime in a Node.js worker
      • What needs to be in the same thread as the runtime
      • How the runtime will communicate evaluated code results back to the main thread

            Assignee:
            sergey.petushkov@mongodb.com Sergey Petushkov
            Reporter:
            massimiliano.marcon@mongodb.com Massimiliano Marcon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: