3 ms·
Isolates stay warm until the memory they consume is needed for something else. We evict the least-recently-used isolate when we need memory for a new one. So ho
by kentonv 6y ago
Isolates stay warm until the memory they consume is needed for something else. We evict the least-recently-used isolate when we need memory for a new one. So how long that is varies depending on how much traffic the isolate gets compared to its neighbors.
This is covered in more detail in my talk: https://www.infoq.com/presentations/cloudflare-v8/ https://www.infoq.com/presentations/cloudflare-v8/
- clarkevans 6y agoExcuse me if this is a silly question. Some containers take a while to initialize, do you have a way to automatically hibernate their memory state? When will you support Julia?
- kentonv 6y agoWe don't use containers, we use V8 isolates. V8 is limited to executing JavaScript and WebAssembly, though many other languages can be compiled/transpiled to one of those two. But, we don't run native Linux binaries. EDIT: It looks like Julia has some Wasm support. I haven't tried it though. https://github.com/Keno/julia-wasm https://github.com/Keno/julia-wasm