build background services

that feel like local functions ,at the speed of thought,with fully typesafe clients,that start and stop on-demand,for long-running workloads,that self-heal on failures,with zero-config observability,which saves you compute
About

What

Differential is an open-source middleware that connects your services together with first-class support for Typescript.

Services are collections of plain old javascript functions which can be deployed in almost any compute. Services ship their own type-safe Typescript clients. Clients can call the service functions, and the control plane takes care of routing data between the functions, and recovering from transient failures, transparently.

Why

Simple things like creating a background service and consuming it safely requires a lot of ceremony as set-up. At a certain time of maturation, this complexity is warranted. But more often than not, this complexity robs us from the joy of iterating on something quickly.

Differential makes a different set of tradeoffs so you can build things fast, refactor effortlessly, and get sensible defaults on error handling out of the box.

How it works

Build Anything

Initialize the Differential client, and create a background service with any Typescript function - in a greenfield or brownfield project. Differential makes no assumptions about your project, and is incrementally adoptable.

Deploy Anywhere

Deploy your code using your own CI/CD to your own provisioned compute. Differential is completely agnostic of where you deploy it. Serverless support incoming.

Consume Effortlessly

A fully type-safe client allows you to call your service, as long as it can connect to the control-plane via TCP. Your services can find each other through the Differential control-plane. No custom service-discovery required.

Recover Autonomously

Whenever the network goes down or a machine becomes unreachable, Differential transparently routes requests to healthy consumers. Apply retry configs at a function call level to achieve at-least-once semantics.

open-source &
self-hostable

Differential is fully open-source under the Apache 2.0 license and self-hostable on any provisioned compute.