Uploaded image for project: 'Realm JavaScript SDK'
  1. Realm JavaScript SDK
  2. RJS-1615

Investigate supporting multi-threading e.g. for Node `worker_threads`

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None

      Node.js worker_threads allow you to spin up a thread to do some work in parallel to the main thread. Realm JS on Node does not support multi-threading as the scheduler only supports the default event loop, as described here.

      We should investigate whether it is possible for us to support worker_threads, e.g. by scheduling work on the worker thread's event loop instead of the default event loop.

            Assignee:
            Unassigned Unassigned
            Reporter:
            tom.duncalf@mongodb.com Tom Duncalf (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: