Use case

Run a highly available Redis session store for an ecommerce checkout

Keep checkout sessions alive through a node loss with a primary, replicas in other zones and write rules that refuse unsafe writes. Valkey and Redis let a primary accept writes only if at least N replicas have lag below M seconds, using min-replicas-to-write and min-replicas-max-lag (Valkey docs, read 23 Nov 2026). A second rule catches teams out: with replication, a primary that restarts with an empty dataset wipes its replicas, so either persistence is on or automatic restart is off (Valkey admin docs, read 23 Nov 2026). OSStend engineers run the cluster in OSStend's cloud, set both rules, rehearse failover and watch replica lag around sale events. The decision between Sentinel and cluster mode is made in the design and explained in the Redis high availability guide.

45 minutes with an engineer: we review your workload and sketch the design.

  • Redis
  • Run
  • Ecommerce
Topology
Primary and replicas across zones
Write rule
min-replicas-to-write with a lag limit
Persistence
On, or auto-restart off
Failover
Rehearsed under load
Where it runs
OSStend's cloud

Typical situation

Trigger. A node loss during a sale logged out customers and emptied carts.

Versions. Valkey or Redis 8 and later in OSStend's cloud.

  • Sessions must survive a primary loss.
  • A short loss of the last writes is acceptable; an empty store is not.
  • Sale events multiply the write rate.

A typical situation, not a named customer.

A checkout session store needs replicas in separate zones, a write rule such as min-replicas-to-write, and persistence or no auto-restart so an empty primary cannot wipe replicas. OSStend sets these, rehearses failover and runs the cluster 24/7.

Customers

  • Microsoft logo
  • Henry Schein logo
  • Enbridge logo
  • Gojek logo

Partners

  • Broadcom logo
  • Redis logo
  • VMware Tanzu logo
  • OSSeva logo
160+Enterprise customers
10+Years running these systems
24/7Engineers on call
3Places it runs: our cloud, yours, your data center
Engines we run, on the platforms you already use
  • PostgreSQL
  • MySQL
  • MongoDB
  • Redis
  • Valkey
  • OpenSearch
  • Kafka
  • RabbitMQ
  • AWS
  • Google Cloud
  • Azure
  • Kubernetes
  • OpenShift
  • Prometheus
  • Grafana
  • Datadog
  • Dynatrace
  • Splunk
Compare

What OSStend runs and what you keep

OSStend designs, runs and rehearses the HA setup. You own the application's session logic and the client retry behaviour.

AreaOSStendYou
TopologyPlaces primary and replicas across zones.Provides the availability target.
Write rulesSets min-replicas-to-write and the lag limit.Accepts the trade-off: writes are refused when replicas lag.
PersistenceChooses RDB, AOF or none with restart rules.Decides the tolerable data loss.
FailoverConfigures and rehearses promotion.Tests client reconnects.
MemorySizes for the sale peak and fork headroom.Shares peak session counts.
Sale readinessReviews load ahead of events.Gives event dates.
On callNamed engineers 24/7.Application incidents.

Where it can run

Valkey and Redis 8 and later can run in OSStend's cloud. A pinned older version runs in your own account.

OptionWhen it fitsLicence and source
Our cloudThe default for this case: a dedicated cluster in OSStend's cloud.Valkey BSD 3-clause (COPYING, read 23 Nov 2026); Redis 8 and later under the AGPLv3 option.
Your cloud accountSessions that must stay in your account.Adds Redis 7.4 to 7.x (RSALv2 or SSPLv1 only).
Your data centerStores near on-premises order systems.Same as your cloud account.
How it works

How we run it

A session store is quick to stand up. Most of the time goes into the failover rehearsal.

  1. Session profile (3 to 5 days)

    Measure session size, TTLs and peak concurrent sessions.

  2. Design (1 week)

    Pick topology, write rules, persistence and memory with fork headroom.

  3. Build (3 to 5 days)

    Build the cluster and wire monitoring.

  4. Failover rehearsal (3 to 5 days)

    Kill the primary under load; record promotion time and client behaviour.

  5. Run

    Engineers on call, with a sale-readiness review before each event.

Cost basis

Session memory is small per session and large in total. The example below combines an illustrative session budget with a dated list price for a comparable managed node.

Illustrative sizingValueResult
Peak concurrent sessions2,000,000
Average session payload2 KBAbout 4 GB of values
Overhead allowance50%About 6 GB in memory
Nodes: primary and two replicas, cache.r7g.large Valkey$0.1752 an hour each$383.69 a month for three nodes

Sizing is an assumption, not a measurement. Price source: AWS Price List file for ElastiCache, US East, publication date 18 Nov 2026, read 23 Nov 2026. Arithmetic: 3 x $0.1752 x 730. OSStend's price is quoted per design.

The managed node price is a reference point, not OSStend's price. Drivers for OSStend's fee are on pricing.

What we watch on call

Session stores fail at the edges of replication. These are the signals we alert on.

Replica lag.
The write rule refuses writes when replicas fall behind. Signal: lag seconds against min-replicas-max-lag.
Empty restart.
A restarted primary with no data. Signal: keyspace size drop and uptime resets.
Expiry on replicas.
Replicas wait for the primary to delete expired keys (docs, read 23 Nov 2026). Signal: expired key counts per node.
Full resync after a blip.
A small backlog forces full sync. Signal: sync full count and backlog size.
Sale spike.
Write rate multiplies. Signal: commands per second against load-test limits.
Enterprise only

When OSStend is not the right fit

A dedicated HA store suits revenue-critical sessions. A simple cache does not need it.

Contact us if

  • Losing sessions during a sale costs revenue.
  • You want failover rehearsed, not assumed.
  • You want a named team on call for sale events.
Talk to an engineer

Not a fit if

  • Sessions rebuild cheaply from a database.
  • A single small cache node.
  • You need a free tier.
FAQ

Questions buyers ask

These are the questions ecommerce teams ask about Redis HA.

Talk to an engineer →

What does min-replicas-to-write do?

It makes the primary accept writes only if at least N replicas have lag no greater than M seconds (Valkey docs, read 23 Nov 2026). It trades availability for safety.

Do I need persistence for a session store?

Either persistence on the primary or no automatic restart after a crash. Otherwise an empty primary can wipe its replicas (Valkey admin docs, read 23 Nov 2026).

Sentinel or cluster?

See the Redis high availability guide. The design picks one for your workload.

How does this differ from ElastiCache?

The comparison is on Amazon ElastiCache alternatives.

Talk to an engineer

Rehearse failover before your next sale

45 minutes: session profile, write rules and failover test.

  • A design sketch for your workload, not a plan menu
  • A zero-downtime cutover path for what you run today
  • A price for that design, after the review
See pricing →

Your request goes to the OSStend team. No newsletter sign-up.

Get a quoteTalk to an engineer
2Engines Optional
3Where should it run?
4What do you need?

Your request goes to the OSStend team. No newsletter sign-up.