Skip to main content

Sequential programming model

When you use Resonate to build applications, you benefit from a sequential, holistic, programming model that simplifies the development of complex, distributed applications. The programming model is based on functions and promises, which are familiar concepts to most developers, we call it Distributed Async Await.

Consider the following pseudo-code example:

fn () {
await step1();
await step2();
await step3();
await step4();
}

The pseudo-code example above is probably familiar to you if you have developed single node applications that run in a single process. The code is easy to read and understand, and it is easy to reason about.

When you use Resonate to build applications, you can write code like the example above, and Resonate will ensure the steps execute, even if the steps execute on different Application Nodes.

Get started using one of the following quickstart tutorials:

Or jump right into the feature development guides:

The main difference between normal promises and Resonate's promises, is that Resonate's promises are durable.

With Resonate, you don't have to worry about learning to use special primitives like Workflows or Activities, just functions and promises.