Quantcast
Channel: ClearScript
Viewing all articles
Browse latest Browse all 2297

New Post: Scaling V8

$
0
0
Hi Again,

I am working on a project which would require a lot separate javascript execution contexts.
Right now I am using V8 Runtime and am creating multiple engines inside it for each JS Execution context. But this scales very poorly.

25000 Engines divided across 25 runtimes take up 11GB of memory. (Jurassic execution engine takes 9GB for 50000 engines, however I switched to Clearscript V8 because of richer .Net support and better performance, but now I want to scale with this performance as well)

Is there a way I can have multiple js contexts within a single engine (something like V8 isolates?)?
Or what are other ways to reduce the memory usage?

Thanks,
Shrainik

Viewing all articles
Browse latest Browse all 2297

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>