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

Build and evaluate snapshot support for boxednode

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • No version
    • Affects Version/s: None
    • Component/s: Build
    • None
    • 8
    • Not Needed
    • Iteration Quahog, Iteration Ragfish, Iteration Seahorse, Iteration Turtle, Iteration Unicornfish

      Resulting contributions:

      Project PR/Commit Title Description
      Node.js src: mark generated snapshot_data as const Minor cleanup ahead of larger PRs
      Node.js deps: V8: backport 8ca9f77d0f7c Backport of bugfix for crash during snapshot building
      Node.js src: fix creating Isolates from addons Bugfix for embedders when using snapshots
      Node.js src: use CreateEnvironment instead of inlining its code where possible Minor cleanup for the subsequent PR
      Node.js build: add option to disable shared readonly heap Add a build flag that embedders who use snapshots will typically want to set
      Node.js src: add snapshot support for embedder API Main change to allow embedders to use snapshots
      Node.js: src: make BuiltinLoader threadsafe and non-global Aims to address concerns raised in the main Node.js PR
      Node.js src: use simdutf for converting externalized builtins to UTF-16 Aims to address concerns raised in the split-out PR above
      Node.js src: allow blobs in addition to FILE*s in embedder snapshot API Follow-up to main Node.js PR to make the API easier to use for us
      Boxednode feat: allow extracting custom Node.js source tarballs Enable boxednode to test WIP Node.js patches
      Boxednode feat: add experimental snapshot support Snapshot support for our SEA solution
      mongosh WIP: snapshot support WIP usage of Node.js & boxednode patches – only a prototype, not a production impl

      Snapshot support is currently still more experimental than anticipated. Notably, a number of built-in modules that mongosh would load during startup are not fully supported in snapshots yet. However, mongosh’s startup time was reduced by 40 %, making this a promising candidate feature to adopt in the future.

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

              Created:
              Updated:
              Resolved: