jamsocket/plane
소개
WebSocket 서비스를 대규모로 실행하기 위한 분산 시스템입니다.
시스템 및 인프라측정된 스타 증가
- in 24h
- -1
- in 7 days
- +1
- in 15 days
- +2
- in 1 month
- +1
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalPlane 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:
- Scaling up authoritative multiplayer backends.
- Running isolated code environments (like REPLs, code notebooks, and LLM agent sandboxes).
- Data-intensive applications that need a dedicated high-RAM process for each active user session.
How Plane works
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.
Architecture
Read more about Plane’s architecture.
Learn more
- Read the quickstart guide
- Learn about Plane concepts
- See instructions for building and developing Plane locally
- Read about production deployment
관련 프로젝트 살펴보기
불러오는 중…