What is Membrane?

Stateful serverless TypeScript for internal tools.

FEATURES
EXAMPLES
durable programs
Programs deployed to Membrane are durable. There's no need to store data in a database because the entire state of your program (i.e. the JS heap) is continually and efficiently persisted.
Think: JavaScript objects as the database. To keep data around, just put it in the state object and that's it!
Promises can be await'ed indefinitely without worrying about execution timeouts.
Keep long-lived values in state.
import { state } from "membrane";
state.notes = state.notes ?? []
export async function saveNote({ args }) {
  state.notes.push(args.note);
}



What is Membrane?

Stateful serverless TypeScript for internal tools.

FEATURES
Programs deployed to Membrane are durable. There's no need to store data in a database because the entire state of your program (i.e. the JS heap) is continually and efficiently persisted.
Think: JavaScript objects as the database. To keep data around, just put it in the state object and that's it!
Promises can be await'ed indefinitely without worrying about execution timeouts.
Keep long-lived values in state.
import { state } from "membrane";
state.notes = state.notes ?? []
export async function saveNote({ args }) {
  state.notes.push(args.note);
}



EXAMPLES
Features Walkthrough
In this video we discuss 3 of the most important features of Membrane: Durability, The Graph, and Observability.
Clickable poster of the Features Walkthrough video

If you're curious about Membrane's architecture, Juan joined the devtools.fm podcast to talk through the nuts and bolts.

Communication


Enter your email for occasional updates