3 ms·
Hi Kenton - awesome new feature! In the blog post you talk about the trade-offs of using JavaScript vs other options like containers. I thought you might be in
by richdougherty 9y ago
Hi Kenton - awesome new feature!
In the blog post you talk about the trade-offs of using JavaScript vs other options like containers. I thought you might be interested in this comparison of using JavaScript vs other sandboxing options.
https://blog.acolyer.org/2017/08/22/javascript-for-extending-low-latency-in-memory-key-value-stores/ https://blog.acolyer.org/2017/08/22/javascript-for-extending...
> Hosts of V8 can multiplex applications by switching between contexts, just as conventional protection is implemented in the OS as process context switches… A V8 context switch is just 8.7% of the cost of a conventional process context switch… V8 will allow more tenants, and it will allow more of them to be active at a time at a lower cost.
- kentonv 9y agoYes, that sounds like exactly the conclusions we came to. :)