Technology Blog Posts by SAP
cancel
Showing results for 
Search instead for 
Did you mean: 
antoniojmnunes
Product and Topic Expert
Product and Topic Expert
1,415

Redis on SAP BTP is a fast, in-memory data cache cloud service that s supports a variety of use cases—from caching and real-time analytics, session management, leader boards, gamification and and many others.

redisonsapbtp_diagram.png

On SAP Business Technology Platform (SAP BTP), Redis becomes even more powerful when paired with scalable enterprise workloads. However, choosing the right deployment mode—Standalone or Cluster—is critical for performance, availability, and scalability.

In this post, we’ll explore the differences between Redis standalone and cluster mode on SAP BTP, and provide some examples of when to use each based on your workload needs.

Standalone vs Cluster Mode: key differences

Feature

Redis Standalone

Redis Cluster

Architecture

Single nodeMultiple nodes (sharded data)

Scalability

Vertical (scale-up) onlyHorizontal (scale-out)

High Availability

No built-in failoverAutomatic failover and replication

Data Partitioning

Not supportedSupported via hash slots

Use Case Complexity

SimpleAdvanced / distributed workloads

Latency

Lower for small workloadsSlightly higher due to network hops

Resilience

Risk of data loss if node failsDesigned for resilience and recovery

When to use Standalone Mode

Standalone configuration is ideal for simpler, lightweight, or non-critical workloads where low latency and easy deployment are priorities.

Use cases examples:

  • Session caching for low-traffic apps: a single SAP Fiori app using Redis to store user sessions for a few hundred users.
  • Development and Testing: quick setups without complex networking or cluster orchestration, proof-of-concepts or early development phases.
  • Feature toggles and fast config in-memory storage: small, frequently accessed key-value pairs that don’t require horizontal scaling.

When to use Cluster Mode

Cluster is best for enterprise-grade applications that demand high availability, fault tolerance, and scalability across distributed systems.

Use cases examples:

  • Real-time leaderboards and gamification: for AI-powered apps with heavy cache read/write operations from thousands of users, for example a consumer rewards app with dynamic scoring and achievements stored in Redis hash slots.
  • Large-scale session management: multi-tenant SaaS platforms needing to maintain session state for thousands of concurrent users, where cluster mode ensures that load is distributed and failure in one node won’t affect all sessions.
  • Dynamic rate limiting across regions: distributed microservices enforcing API limits per user across geographies, cluster mode can ensure global availability and scalability of limit counters.

Redis on SAP BTP: Configuration guidance

When provisioning Redis via SAP BTP’s managed services  the decision to use standalone or cluster mode should align with:

  • Workload type (transactional vs analytical)
  • SLAs and uptime expectations
  • Expected traffic volume
  • Data access patterns

To switch modes, you typically need to redeploy the service instance with available service plans and entitlements (standard or premium). Be aware that cluster mode is not supported for all service plans in all hyperscalers/regions, please check here for more details. 

Make also sure that your application is capable of handling Redis on SAP BTP failovers gracefully and is cluster-aware.

Final thoughts

Choosing between Redis standalone and cluster mode on SAP BTP is not just a technical decision—it’s a strategic one. Standalone Redis gives you simplicity and speed for smaller workloads. Cluster mode, on the other hand, enables resilient, distributed architectures ready for enterprise scale.

By understanding the trade-offs and matching them to your use cases, you can make Redis on SAP BTP a powerful enabler of scalable, real-time, AI-enhanced applications.

 
Thanks for reading!
For more insights from the product team on Redis on SAP BTP, don't miss to read:
Regards, 
Antonio