[SoC] Week 11 Report: Integrating Node.js with ZOO-services

Momtchil Momtchev momtchil at momtchev.com
Mon Aug 29 16:23:42 PDT 2022


Hello,
   Here is my report for week 11:
      * Merged all branches, rebased them on top of Node.js 16.17.0 and
published new PPA packages
         - This includes the new fully OO C++ API and the stdio redirection
      * FOSS4G 2022
      * Implemented the loading of the Node.js built-in libraries from a V8
heap snapshot instead of parsing/compiling them at every instance
initialization
         - However this required reshuffling large parts of the Node.js
build system and substantial modifications to the environment startup code
         - It seems that current versions of Node.js support loading of the
internal libraries from a V8 heap snapshot only for the main thread -
worker threads always recompile everything - so it might be preferable to
solve this underlying problem in Node.js instead of maintaining a very
large patch for what is a simple performance feature
         - Code is available here:
https://github.com/mmomtchev/node/tree/napi-libnode-snapshots

   Next week, which was normally set aside for debugging and testing, will
be dedicated to:
   * Testing the performance impact of the snapshots
   * Eventually proposing to solve the underlying issue - lack of support
for snapshots for threads other than the main - directly in Node.js
   * Porting all the recent changes to Node.js 18 and publishing Node.js 18
packages for libnode

I am currently not blocked on anything.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/soc/attachments/20220830/0ce22d29/attachment.htm>


More information about the SoC mailing list