APIs · head to head
Spring Cloud Gateway vs Valkey

Spring Cloud Gateway
APIs
API gateway built on Project Reactor for building microservices
- From
- Free
- Free plan
- Yes

Valkey
Databases
Open-source in-memory data store forked from Redis
- From
- Free
- Free plan
- Yes
The short version
- Spring Cloud Gateway is a library for building API gateways.
- Both are free.
- Only Spring Cloud Gateway lists path Rewriting; only Valkey lists BSD licensed.
- 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.
- Where Valkey falls short: younger project, so its track record is short even though the codebase is not.
How do Spring Cloud Gateway and Valkey differ?
Spring Cloud Gateway and Valkey differ on pricing model, platforms and category (APIs against Databases). Only the attributes on which Spring Cloud Gateway and Valkey actually diverge.
| Attribute | Spring Cloud Gateway | Valkey |
|---|---|---|
| Pricing model | Open-source | Open source, no licence fee; managed cloud billed separately |
| Platforms | API, Spring Boot | Linux, macOS, Self-hosted |
| Category | APIs | Databases |
| Founded | 1998 | 2024 |
Identical on both: starting price (Free), free tier (Yes).
Which features does each one have?
They share no listed features; 8 appear only for Spring Cloud Gateway and 4 only for Valkey. 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 Valkey
- Redis-compatible
- BSD licensed
- Rich data structures
- Replication and persistence
What is each one used for?
Spring Cloud Gateway is most often brought in for API Development; Valkey for migrating from Redis without rewriting application code. The jobs each tool is most often brought in to do.
Spring Cloud Gateway
- API Developmentnot Valkey
- API Gatewaynot Valkey
- API Testingnot Valkey
- API Documentationnot Valkey
- Microservicesnot Valkey
Valkey
- Continuing on a permissively licensed in-memory store after the Redis licence changenot Spring Cloud Gateway
- Caching and session storage where a foundation-governed project is a procurement requirementnot Spring Cloud Gateway
- Migrating from Redis without rewriting application codenot Spring Cloud Gateway
Where do Spring Cloud Gateway and Valkey 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. Valkey's: younger project, so its track record is short even though the codebase is not. 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
Valkey
- Younger project, so its track record is short even though the codebase is not
- Divergence from Redis grows over time, so compatibility is strongest near the fork point and weakens as both evolve
- Ecosystem tooling and documentation still frequently assume Redis, leaving translation work
How much do Spring Cloud Gateway and Valkey cost?
Spring Cloud Gateway is free to use; Valkey is free to use. Plan by plan below, from each vendor's own pricing page.
Spring Cloud Gateway
Free- Open SourceFree
- Core Spring Cloud Gateway
- Community support
Valkey
Free- ValkeyFree
- Full functionality
- Self-hosted
- No usage limits
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 Valkey if
- You need redis-compatible.
- You want to start without paying.
- You work on Linux, macOS, Self-hosted.
- You also want bsd licensed.
Questions people ask
- Is Spring Cloud Gateway or Valkey better?
- It depends on the job. Spring Cloud Gateway fits aPI Development; Valkey fits continuing on a permissively licensed in-memory store after the Redis licence change. Spring Cloud Gateway starts at Free and Valkey at Free.
- Which is cheaper, Spring Cloud Gateway or Valkey?
- Spring Cloud Gateway starts at Free and Valkey at Free.
- Does Spring Cloud Gateway or Valkey run on more platforms?
- Spring Cloud Gateway runs on API, Spring Boot. Valkey runs on Linux, macOS, Self-hosted.
- Can I use Spring Cloud Gateway for free?
- Both have a free tier, so you can try either at no cost before committing.
- 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 Valkey is typically brought in for.
- What can Spring Cloud Gateway do that Valkey cannot?
- Spring Cloud Gateway covers Routing, Path Rewriting, Circuit Breaker, Spring Boot. Valkey covers Redis-compatible, BSD licensed, Rich data structures, Replication and persistence.
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.
SourceValkey: Is Valkey free?
Yes, BSD-licensed open source under the Linux Foundation.
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.
SourceValkey: Why does Valkey exist?
Redis changed its licence away from BSD in 2024. Valkey is the community fork continuing under permissive terms, backed by AWS, Google Cloud and Oracle among others.
Valkey: Can I switch from Redis to Valkey?
At the fork point it is drop-in compatible with existing clients and data. The further both projects move from that point, the more you should verify the specific features you use.
Related pages
More on Spring Cloud Gateway
Other head to heads
- Spring Cloud Gateway vs Kong Gateway
- Spring Cloud Gateway vs Tyk
- Spring Cloud Gateway vs Janus Gateway
- Spring Cloud Gateway vs WSO2 API Manager
- Spring Cloud Gateway vs Convoy
- Spring Cloud Gateway vs Gravitee
- Spring Cloud Gateway vs Zuplo
- Spring Cloud Gateway vs AWS API Gateway
- Spring Cloud Gateway vs HTTPie
- Spring Cloud Gateway vs KeystoneJS
- Spring Cloud Gateway vs Swagger/OpenAPI
- Spring Cloud Gateway vs GraphQL Apollo
- Spring Cloud Gateway vs Svix
- Spring Cloud Gateway vs Synctera
- Spring Cloud Gateway vs Tuum
- Spring Cloud Gateway vs Weavr
- Spring Cloud Gateway vs Codat
- Spring Cloud Gateway vs Courier
- Spring Cloud Gateway vs Memcached
- Spring Cloud Gateway vs Amazon ElastiCache
- Spring Cloud Gateway vs Dragonfly
- Spring Cloud Gateway vs Redis
- Spring Cloud Gateway vs Readyset
- Spring Cloud Gateway vs etcd
- Spring Cloud Gateway vs VictoriaMetrics
- Spring Cloud Gateway vs Aiven
- Spring Cloud Gateway vs Redpanda
- Spring Cloud Gateway vs MariaDB
- Spring Cloud Gateway vs Timeplus
- Spring Cloud Gateway vs SAP HANA
- Spring Cloud Gateway vs Estuary
- Spring Cloud Gateway vs Firebase Realtime Database
- Spring Cloud Gateway vs Immuta
- Spring Cloud Gateway vs InfluxDB
- Spring Cloud Gateway vs Knack
- Spring Cloud Gateway vs MySQL
- Valkey vs Kong Gateway
- Valkey vs Tyk
- Valkey vs Janus Gateway
- Valkey vs WSO2 API Manager
- Valkey vs Convoy
- Valkey vs Gravitee
- Valkey vs Zuplo
- Valkey vs AWS API Gateway
- Valkey vs HTTPie
- Valkey vs KeystoneJS
- Valkey vs Swagger/OpenAPI
- Valkey vs GraphQL Apollo
- Valkey vs Svix
- Valkey vs Synctera
- Valkey vs Tuum
- Valkey vs Weavr
- Valkey vs Codat
- Valkey vs Courier
- Valkey vs Memcached
- Valkey vs Amazon ElastiCache
- Valkey vs Dragonfly
- Valkey vs Redis
- Valkey vs Readyset
- Valkey vs etcd
- Valkey vs VictoriaMetrics
- Valkey vs Aiven
- Valkey vs Redpanda
- Valkey vs MariaDB
- Valkey vs Timeplus
- Valkey vs SAP HANA
- Valkey vs Estuary
- Valkey vs Firebase Realtime Database
- Valkey vs Immuta
- Valkey vs InfluxDB
- Valkey vs Knack
- Valkey vs MySQL
