A distributed system for running WebSocket services at scale.
See the codePlane is a distributed system for running stateful WebSocket backends at scale. Plane is heavily inspired by Figma’s mulitplayer infrastructure, which dynamically spawns a process for each active document.
Use cases include:
You can think of Plane as a distributed hashmap, but instead of storing data, it stores running processes. When you ask Plane for the process associated with a key (via an HTTP API), it either returns a URL to an existing process, or starts a new process and returns a URL to that.
Plane will keep the process running for as long as there is an open connection (usually a WebSocket connection) to it. Once all connections to a process have been closed for some time threshold, Plane will shut down the process.
Plane guarantees that only one process will be running for each key at any given time, allowing that process to act as an authoritative source of document state for as long as it is running.
Read more about Plane’s architecture.
(top 24 of 44)
1,130 followers · starred Apr 2024
609 followers · starred May 2023
202 followers · starred Sep 2022
1,468 followers · starred Sep 2022
A distributed system for running WebSocket services at scale.
See the codePlane is a distributed system for running stateful WebSocket backends at scale. Plane is heavily inspired by Figma’s mulitplayer infrastructure, which dynamically spawns a process for each active document.
Use cases include:
You can think of Plane as a distributed hashmap, but instead of storing data, it stores running processes. When you ask Plane for the process associated with a key (via an HTTP API), it either returns a URL to an existing process, or starts a new process and returns a URL to that.
Plane will keep the process running for as long as there is an open connection (usually a WebSocket connection) to it. Once all connections to a process have been closed for some time threshold, Plane will shut down the process.
Plane guarantees that only one process will be running for each key at any given time, allowing that process to act as an authoritative source of document state for as long as it is running.
Read more about Plane’s architecture.
(top 24 of 44)
1,130 followers · starred Apr 2024
609 followers · starred May 2023
202 followers · starred Sep 2022
1,468 followers · starred Sep 2022