Open source durable execution

Build forthe lonngrun.

If your code runs for minutes or days, it won't run straight through. Wrap functions in steps that automatically retry, pause, and fan out. Scale instantly, without thinking about infra.

Start Free
import { copyFromURL, upload, list } from "./s3-client"

export default inngest.createFunction(
  {
    id: "import-product-images",
    triggers: [{ event: "shop/product.imported" }],
    retries: 3,
  },
  async ({ event, step }) => {
    const uploadedImageURLs = await step.run(
      "copy-images-to-s3",
      async () => copyFromURL(event.data.imageURLs)
    );    const manifestURL = await step.run(
      "save-image-manifest",
      async () => upload(JSON.stringify(uploadedImageURLs))
    );    const files = await step.run(
      "list-product-files",
      async () => list(manifestURL)
    );  },
);

Durable doesn't have to be hard.

Orchestrating lonng-running code is tough. But you don't need to wrangle a bunch of extra infrastructure to do it. The Inngest SDK is the fastest way to make any code durable and observable by default.

Built for the lonng run.

Two engineers run more than a million executions a month.

Francisco Delgado, Co-founder at Ordinal

Inngest let us outsource all the infrastructure under our orchestration, to continue to scale Ordinal with just two engineers. Defining what needs to happen in code just makes sense to me.

Learn more

What does it mean to be long running?

If you’re building anything that needs to stop, start, or retry based on an event, you’re building a long-running workflow. Find best practices here:

  • All your workflows are about to be long running. Build for it.

    Long running everything

    Long-running work is anything that can’t finish in a single request. Learn how to ensure it stays durable.

    Read the blog
  • Run long jobs on serverless hosts

    Run long jobs on serverless hosts

    Keep agents and multi-step jobs running past your host’s request limit, without moving off serverless.

    Read the docs
  • Built for the Lonng Run

    Built for the Lonng Run: How Ordinal scaled social orchestration to 1K enterprises with just two engineers.

    Two engineers built social orchestration for teams like Clay, Zapier, and Profound, and scaled it past a million executions a month.

    Read the story