Softwr

APIs · head to head

Spring Cloud Gateway vs turbopuffer

Spring Cloud Gateway logo

Spring Cloud Gateway

APIs

API gateway built on Project Reactor for building microservices

From
Free
Free plan
Yes
turbopuffer logo

turbopuffer

Databases

Closed-source vector and full-text search service built directly on object storage, with cold queries measured in seconds rather than milliseconds.

From
$16/month
Free plan
No

The short version

  • Spring Cloud Gateway is a library for building API gateways.
  • Spring Cloud Gateway is free; turbopuffer starts at $16/mo.
  • Only Spring Cloud Gateway lists path Rewriting; only turbopuffer lists object storage architecture.
  • 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 Spring Cloud Gateway and turbopuffer differ?

Spring Cloud Gateway and turbopuffer differ on starting price (Free against $16/month), pricing model (Open-source against Subscription) and free tier (Yes against No). Only the attributes on which Spring Cloud Gateway and turbopuffer actually diverge.

Attributes where Spring Cloud Gateway and turbopuffer differ
AttributeSpring Cloud Gatewayturbopuffer
Starting priceFree$16/month
Pricing modelOpen-sourceSubscription
Free tierYesNo
PlatformsAPI, Spring BootWeb
CategoryAPIsDatabases

Not yet recorded: founded for turbopuffer.

Which features does each one have?

They share no listed features; 8 appear only for Spring Cloud Gateway and 10 only for turbopuffer. 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 Spring Cloud Gateway

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

Only in turbopuffer

  • Object storage architecture
  • Namespaces
  • Vector search
  • Full-text search
  • Attribute filtering
  • Documented limits
  • Configurable consistency
  • Durable writes

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.

Spring Cloud Gateway

  • API Developmentnot turbopuffer
  • API Gatewaynot turbopuffer
  • API Testingnot turbopuffer
  • API Documentationnot turbopuffer
  • Microservicesnot turbopuffer

turbopuffer

  • A product with one search index per customer and thousands of customers, most of whose data is idle on any given daynot Spring Cloud Gateway
  • Very large corpora where holding every vector in memory is the dominant cost and occasional cold-query latency is acceptablenot Spring Cloud Gateway
  • Hybrid retrieval combining BM25 and vector search where running and synchronising two separate systems is the problem being solvednot Spring Cloud Gateway
  • Retrieval for agent and assistant products where indexes are created and destroyed frequently and per-index overhead must be near zeronot Spring Cloud Gateway

Where do Spring Cloud Gateway and turbopuffer 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.

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

turbopuffer

  • A cold namespace pays object storage latency on the first query, with a documented p90 around 1,214 ms on a million documents, so any interactive search box needs the data kept warm or the user waits about a second
  • Queries are eventually consistent by default, and after roughly 128 MiB of outstanding writes new data is invisible until indexed, which the vendor puts at tens of seconds for small namespaces and tens of minutes for large ones, so a bulk re-index is not immediately queryable
  • It is closed source with no community edition, so single-tenant or bring-your-own-cloud deployment is a commercial negotiation rather than a deployment choice, and there is no path to running it yourself if the relationship ends
  • Per-namespace ceilings, roughly 10,000 writes per second, 32 MB/s and 500 million documents per shard, mean a single enormous index has to be sharded across namespaces by your application rather than by the service
  • It is a search engine, not a database: there are no joins, no cross-document transactions and no SQL, so it sits beside a primary datastore and keeping the two in step is work that belongs to you

How much do Spring Cloud Gateway and turbopuffer cost?

Spring Cloud Gateway is free to use; turbopuffer starts at $16/mo. Plan by plan below, from each vendor's own pricing page.

Spring Cloud Gateway

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

turbopuffer

$16/month
  • Launch$16/mo
    • All database features
    • Multi-tenancy deployment
    • SOC2 & GDPR-ready DPA
  • Scale$256/mo
    • Everything in Launch
    • HIPAA-ready BAA
    • Single Sign-On (SSO)
  • Enterprise$4,096/mo
    • Everything in Scale
    • Single-tenancy & BYOC deployment options
    • Private networking

Which should you pick?

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.

Choose turbopuffer if

  • You need object storage architecture.
  • You also want namespaces.

Questions people ask

Is Spring Cloud Gateway or turbopuffer better?
It depends on the job. Spring Cloud Gateway fits aPI Development; turbopuffer fits a product with one search index per customer and thousands of customers, most of whose data is idle on any given day. Spring Cloud Gateway starts at Free and turbopuffer at $16/month.
Which is cheaper, Spring Cloud Gateway or turbopuffer?
Spring Cloud Gateway has a free tier; the other does not. Paid plans start at Free for Spring Cloud Gateway and $16/month for turbopuffer.
Does Spring Cloud Gateway or turbopuffer run on more platforms?
Spring Cloud Gateway runs on API, Spring Boot. turbopuffer runs on Web.
Can I use Spring Cloud Gateway for free?
Yes. Spring Cloud Gateway has a free tier, so you can try it without paying. turbopuffer starts at $16/month.
What is Spring Cloud Gateway best used for?
Spring Cloud Gateway is most often used for api development, api gateway, api testing, api documentation. Of those, api development and api gateway are not what turbopuffer is typically brought in for.
What can Spring Cloud Gateway do that turbopuffer cannot?
Spring Cloud Gateway covers Routing, Path Rewriting, Circuit Breaker, Spring Boot. turbopuffer covers Object storage architecture, Namespaces, Vector search, Full-text search.

Answered from the vendors’ own pages

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
turbopuffer: Can I self-host turbopuffer?

There is no open source or community edition. Single-tenant and bring-your-own-cloud deployments exist as commercial arrangements, but there is no way to run it independently of the vendor.

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
turbopuffer: How fast is it really?

Warm queries perform comparably to in-memory search engines. Cold queries, where data is not cached, have a documented p90 around 1,214 ms on a million documents. Write p90 is around 248 ms for a 512 KB upsert because writes go straight to object storage.

turbopuffer: Is it consistent?

Eventually consistent by default, with the vendor reporting that over 99.8% of queries return consistent data. Strong consistency can be requested per query at a latency cost. Large write bursts have a longer visibility delay while indexing catches up.

turbopuffer: What is it best at?

Large numbers of namespaces where most are idle. The architecture makes cold data cheap to keep, which is exactly the shape of a multi-tenant product with a long tail of inactive customers.

turbopuffer: What are the hard limits?

Up to 128 billion documents and 256 TB per namespace, 500 million documents per shard, 64 MiB per document, 10,752 dense vector dimensions, roughly 10,000 writes per second per namespace and a maximum result set of 10,000.

Share

Related pages

Other head to heads