| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
原始链接: https://news.ycombinator.com/item?id=43358980
TinyKVM,一个基于Varnish构建的快速沙箱,正在Hacker News上引发热议。开发者称赞其接近原生速度以及将虚拟机重置到预定义状态的能力,这对于遭受攻击的网络服务来说非常理想。它允许写时复制,从而能够为大型语言模型(LLM)等密集型工作负载高效共享内存。 用户正在讨论潜在的用例,包括比WASM更快地运行原生代码,沙盒化Deno之类的Javascript运行时,以及在机器之间迁移程序执行。讨论也涉及到它的局限性:最初设计时没有文件I/O或网络访问,尽管这些正在通过自定义API得到解决。虽然由于其KVM基础而特定于Linux,但TinyKVM在安全性和性能之间取得了令人信服的平衡,介于WASM和完整的容器之间,使其成为各种沙盒需求的宝贵工具。
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
edit: Of course you’re the top contributor to IncludeOS. That was the first project I thought of while reading this blog post. I’ve been obsessed with the idea of Network Function Virtualization for a long time. It’s the most natural boundary for separating units of work in a distributed system and produces such clean abstractions and efficient scaling mechanisms.
(I’m also a very happy user of Varnish in production btw. It’s by far the most reliable part of the stack, even more than nginx. Usually I forget it’s even there. It’s never been the cause of a bug, once I got it configured properly.)
reply