on this page

GlossaryWhat is a V8 isolate?

What is a V8 isolate?

A V8 isolate is one self-contained instance of the V8 JavaScript engine, the engine inside Chrome and Node.js. It has its own heap, its own globals and its own garbage collector, and code running in one isolate can't see memory in another. Many isolates can run inside a single operating-system process.


How it works

V8 was built for browser tabs: lots of untrusted scripts on one machine, each kept away from the others. Serverless platforms use the same boundary to run code from many customers side by side. Instead of a container or virtual machine per function, the host process creates an isolate per function and runs the request inside it.

An isolate is far lighter than a container. There's no operating system to boot and no language runtime to load, only the engine's own setup and your script. The cost is that the code has to be JavaScript or WebAssembly, and it reaches the outside world only through the APIs the host gives it, such as fetch(), rather than through files and raw sockets. Most of those APIs follow web standards, so Request, Response, URL and crypto.subtle behave the way they do in a browser.


V8 isolates on Tissue Cloud

Every Cell on Tissue Cloud runs in its own V8 isolate, with its own memory, heap and execution context. Two Cells can't share a variable or a cache, and a bug in one can't touch another. The isolate is reused across requests while the Cell stays warm, so a global variable may survive between two requests, but nothing promises that it will; data that must last goes into c3 or g7. A redeploy sends new requests to a fresh isolate running the new code.

Cells overview describes the isolation model, and Cell limitations lists what an isolate can and can't reach.