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

XMLWordPrintableJSON

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

      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
            Reporter:
            Massimiliano Marcon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: