Skip to content
프로젝트

소개

지속 가능한 실행을 아주 간단하게

기타 프로젝트

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
+2
in 15 days
+15
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

Echo above an orange and white waveform

Resonate

The open-source durable execution platform.
Functions that survive restarts.

License Discord Docs

Example · Architecture · Layout · Get started · Docs


Resonate is a durable execution platform and a durable execution factory, built on an open, formal specification of distributed async await.


Example

Resonate durable execution is dead simple: durable functions and durable promises. The example shows a research agent. The research agent accepts a question, plans searches, fans them out, and synthesizes the results.

async function research(context: Context, question: string) {
  // Plan the searches
  // context.run calls a function and persists its result
  const queries = await context.run(agent,
    `Plan the searches for: ${question}`
  );
  // Fan out the searches
  // context.rpc calls a function on another worker, even in another language
  const results = await Promise.allSettled(
    queries.map((q) => context.rpc(search, q))
  );
  // Synthesize the results
  return await context.run(agent,
    `Write a cited report. ${question}: ${results}`
  );
}

That is the whole program, location transparent and failure transparent. The same program can be written in any Resonate-compatible SDK and run on any Resonate-compatible server.


Architecture

Resonate architecture

Resonate sits in the middle of the stack you already run: your language, your compute, your storage, your transport, and a plugin for everything it does not natively support yet.


Layout

spec/ The specification: an executable abstract machine in Lean 4, a catalogue of properties every run must satisfy, a TLA+ model, and a trace checker that holds a real server to them
impl/server/core/ The Resonate server, a single binary
impl/server/postgres/ The Resonate server as one SQL file on Postgres 16+
impl/sdk/ts/ TypeScript SDK
impl/sdk/py/ Python SDK
impl/sdk/go/ Go SDK
impl/sdk/java/ Java SDK
impl/sdk/rs/ Rust SDK

SDKs speak the protocol to a server. The server is held to the specification by recording its traffic and asking the checker whether the abstract machine can account for it. Each directory has its own README, build, and tests; there is no root-level build.


Get started

1. Install the Resonate server and CLI

brew install resonatehq/tap/resonate

2. Pick an SDK and follow its quickstart: TypeScript · Python · Go · Java · Rust

3. Read the docs at docs.resonatehq.io.

Running on Postgres instead? See impl/server/postgres/. On nothing but an S3 bucket? Use the server's blob backend, --storage-type blob (see resonate-server-blob).


Learn more

Community

Discord · Blog · X · LinkedIn · YouTube

License

Apache-2.0

Logos are the trademarks of their respective owners and appear here to identify the systems Resonate integrates with.

관련 프로젝트 살펴보기

불러오는 중…