Softwr

Developer Tools · head to head

Restate vs Spring Cloud Gateway

Restate logo

Restate

Developer Tools

Durable execution engine in Rust with a free tier and low-latency workflows

From
Free
Free plan
Yes
Spring Cloud Gateway logo

Spring Cloud Gateway

APIs

API gateway built on Project Reactor for building microservices

From
Free
Free plan
Yes

The short version

  • Spring Cloud Gateway is a library for building API gateways.
  • Spring Cloud Gateway is free; Restate starts at $300/mo.
  • Only Restate lists durable execution; only Spring Cloud Gateway lists path Rewriting.
  • Where Spring Cloud Gateway falls short: ships as a library for building a gateway on Spring, so you write, package and operate the gateway application yourself.

How do Restate and Spring Cloud Gateway differ?

Restate and Spring Cloud Gateway differ on pricing model, platforms (Linux, macOS, Web against API, Spring Boot) and category (Developer Tools against APIs). Only the attributes on which Restate and Spring Cloud Gateway actually diverge.

Attributes where Restate and Spring Cloud Gateway differ
AttributeRestateSpring Cloud Gateway
Pricing modelPer month by durable action countOpen-source
PlatformsLinux, macOS, WebAPI, Spring Boot
CategoryDeveloper ToolsAPIs

Identical on both: starting price (Free), free tier (Yes).

Not yet recorded: founded for Restate.

Which features does each one have?

They share no listed features; 6 appear only for Restate and 8 only for Spring Cloud Gateway. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in Restate

  • Durable execution
  • Virtual objects
  • Single binary runtime
  • Multi-language SDKs
  • Workflows and sagas
  • Restate Cloud

Only in Spring Cloud Gateway

  • Routing
  • Path Rewriting
  • Circuit Breaker
  • Spring Boot
  • Spring Security
  • Spring Cloud
  • Java support
  • Spring Boot support

What is each one used for?

Spring Cloud Gateway is most often brought in for API Development. The jobs each tool is most often brought in to do.

Restate

  • Payment or order flows where a crash between two external API calls must not double-charge or lose the ordernot Spring Cloud Gateway
  • AI agent loops that call tools over minutes or hours and must survive a deployment mid-runnot Spring Cloud Gateway
  • Replacing hand-rolled retry, idempotency key and outbox code across a set of microservicesnot Spring Cloud Gateway
  • A small team that wants durable workflows without operating a Temporal cluster and its databasenot Spring Cloud Gateway

Spring Cloud Gateway

  • API Developmentnot Restate
  • API Gatewaynot Restate
  • API Testingnot Restate
  • API Documentationnot Restate
  • Microservicesnot Restate

Where do Restate and Spring Cloud Gateway fall short?

Spring Cloud Gateway's most cited limit: ships as a library for building a gateway on Spring, so you write, package and operate the gateway application yourself. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Restate

  • The runtime is under a Business Source Licence rather than an open source licence, so building a competing managed offering on it is prohibited and some procurement functions will reject it on licence grounds alone
  • Restate Cloud jumps from a free fifty thousand actions straight to 300 US dollars a month for twenty million, so a workload sitting at a few hundred thousand actions pays enterprise-shaped money for hobby-shaped volume
  • It is a young project against Temporal’s established base, so hiring engineers who already know it is unrealistic and the answer to most questions is in the docs rather than on Stack Overflow
  • The programming model requires structuring code around durable handlers and virtual objects, which is a genuine rewrite for existing services rather than a library you add
  • The single-binary simplicity that makes small deployments cheap also means fewer operational knobs at very large scale than a system designed as separable components

Spring Cloud Gateway

  • Ships as a library for building a gateway on Spring, so you write, package and operate the gateway application yourself
  • Offered in two variants, Server WebFlux and Server Web MVC, each with its own dependency, so you must pick a stack up front

How much do Restate and Spring Cloud Gateway cost?

Restate has a free plan, with paid plans from $300/mo; Spring Cloud Gateway is free to use. Plan by plan below, from each vendor's own pricing page.

Restate

Free
  • FreeFree
    • Fifty thousand durable actions per month
    • No credit card required
    • Community support
  • Starter$300/mo
    • Twenty million actions per month
    • Two hundred actions per second, bursting to one thousand
    • Twenty GB storage
  • Pro$1,000/mo
    • Fifty million actions per month
    • Five hundred actions per second, bursting to two thousand
    • Fifty GB storage
  • EnterpriseOn request
    • Negotiated volume
    • Twenty-four seven P0 support
    • 99.99 per cent SLA

Spring Cloud Gateway

Free
  • Open SourceFree
    • Core Spring Cloud Gateway
    • Community support

Which should you pick?

Choose Restate if

  • You need durable execution.
  • You want to start without paying.
  • You work on Linux, macOS, Web.
  • You also want virtual objects.

Choose Spring Cloud Gateway if

  • You need routing.
  • You want to start without paying.
  • You work on API, Spring Boot.
  • You also want path rewriting.

Questions people ask

Is Restate or Spring Cloud Gateway better?
It depends on the job. Restate fits payment or order flows where a crash between two external API calls must not double-charge or lose the order; Spring Cloud Gateway fits aPI Development. Restate starts at Free and Spring Cloud Gateway at Free.
Which is cheaper, Restate or Spring Cloud Gateway?
Restate starts at Free and Spring Cloud Gateway at Free.
Does Restate or Spring Cloud Gateway run on more platforms?
Restate runs on Linux, macOS, Web. Spring Cloud Gateway runs on API, Spring Boot.
Can I use Restate for free?
Both have a free tier, so you can try either at no cost before committing.
What is Restate best used for?
Restate is most often used for payment or order flows where a crash between two external api calls must not double-charge or lose the order, ai agent loops that call tools over minutes or hours and must survive a deployment mid-run, replacing hand-rolled retry, idempotency key and outbox code across a set of microservices, a small team that wants durable workflows without operating a temporal cluster and its database. Of those, payment or order flows where a crash between two external api calls must not double-charge or lose the order and ai agent loops that call tools over minutes or hours and must survive a deployment mid-run are not what Spring Cloud Gateway is typically brought in for.
What can Restate do that Spring Cloud Gateway cannot?
Restate covers Durable execution, Virtual objects, Single binary runtime, Multi-language SDKs. Spring Cloud Gateway covers Routing, Path Rewriting, Circuit Breaker, Spring Boot.

Answered from the vendors’ own pages

Restate: Is Restate open source?

The SDKs are MIT. The runtime is under a Business Source Licence, which permits self-hosting but not offering it as a competing service.

Spring Cloud Gateway: Is Spring Cloud Gateway free?

Yes, Spring Cloud Gateway is free and open-source software. It is part of the Spring ecosystem and available through GitHub repositories with open-source dependencies like spring-cloud-starter-gateway-server-webflux and spring-cloud-starter-gateway-server-webmvc.

Source
Restate: How does it compare with Temporal?

Same problem, different shape: one Rust binary with embedded storage instead of a server plus database plus workers, and lower per-step latency.

Spring Cloud Gateway: What enterprise support is available for Spring Cloud Gateway?

Tanzu Spring provides optional enterprise support including Day 0 access to security patches for organizations requiring guaranteed support, but specific pricing is not published on the Spring Cloud Gateway project page.

Source
Restate: Is there a free tier?

Yes, fifty thousand durable actions a month on Restate Cloud with no card required.

Restate: Which languages are supported?

TypeScript, Java, Kotlin, Go, Python and Rust.

Share

Related pages

Other head to heads