[COMPASS-4517] Spike how to move the shell code execution to a background process in Compass Created: 25/Nov/20  Updated: 29/Oct/23  Resolved: 17/Dec/20

Status: Closed
Project: Compass
Component/s: None
Affects Version/s: None
Fix Version/s: No version

Type: Investigation Priority: Major - P3
Reporter: Massimiliano Marcon Assignee: Sergey Petushkov
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to COMPASS-4407 Background processing related questio... Closed
Epic Link: COMPASS-3935
Documentation Changes: Not Needed
Sprint: Iteration Rambutan, Iteration Star Apple

 Description   

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


 Comments   
Comment by Githook User [ 22/Dec/20 ]

Author:

{'name': 'Sergey', 'email': 'petushkov.sergey@gmail.com', 'username': 'gribnoysup'}

Message: feat: Expose connection params of the native client through the data service COMPASS-4517 (#277)

  • feat(COMPASS-4517): Expose connection params of the native client through the data service
Comment by Githook User [ 08/Dec/20 ]

Author:

{'name': 'Sergey Petushkov', 'email': 'petushkov.sergey@gmail.com', 'username': 'gribnoysup'}

Message: feat(COMPASS-4517): Expose connection params of the native client through the data service
Branch: expose-connection-options
https://github.com/mongodb-js/data-service/commit/1d8b18103036d62e9d10c1155a90614c9030a62f

Comment by Githook User [ 07/Dec/20 ]

Author:

{'name': 'Sergey', 'email': 'petushkov.sergey@gmail.com', 'username': 'gribnoysup'}

Message: feat(COMPASS-4517): Expose connection options (#332)

Generated at Wed Feb 07 22:36:38 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.