DocumentationBuild. Deploy. Operate.
DocsDeployment

Recommended Topologies

On this page 5 sections

QSCS clusters scale gracefully from a single node to a globally distributed mesh. The shape you pick depends on three things: where your origin server lives, where your users are, and how much failure tolerance you need. Below are four shapes that cover the common cases.

What every topology gives you Each topology uses authenticated peer membership and encrypted peer transport, with application ingress configured separately. Eligible cached content can serve locally and support HEADLESS operation during upstream failures. Cache replication does not require a separate shared database or quorum service.

Linux hosts and Kubernetes containers use the same master/thin model. Start without registration and add nodes as needed; node, domain and origin quantities are unlimited. On Kubernetes, use a persistent volume for each node and scheduling rules for placement. See Kubernetes deployment or Linux installation.

1. Single node

One QSCS process sits in front of one origin web server, on the same host or one network hop away. This is the simplest possible deployment, and a perfectly valid production setup if your site lives on one machine.

Host A QSCS :8080 Origin :80 users

Use when: small site, single host, want HEADLESS protection during transient origin failures. Benefit profile: resilience.

2. Master plus thin clients

One QSCS node hosts the origin (master). One or more additional QSCS nodes sit in different locations and proxy through the master.

Region A Origin Master (M) :8080 local users Region B Thin T₁ :8080 regional users Region C Thin T₂ :8080 regional users replicated cache + control plane · single encrypted port

Use when: users are spread across regions but the origin only exists in one place. Benefit profile: resilience, lower latency for region-local cache hits and centrally managed membership.

3. Hot-standby pair

A two-node cluster where one node is master and the other is the elected Fallback, co-located with, or attached to, a separate replica of your origin. Both nodes retain their eligible cached content. Once you elect the Fallback in the Control Panel, failover is automatic: after sustained master failure and the control plane's safety checks, the Fallback is promoted and the other nodes adopt the new master.

Elect the Fallback once; failover runs automatically Open Infrastructure, choose Manage on the domain, then Master & Fallback. Select the Fallback role, choose a different member from the Master, and save. Nodes receive the updated configuration automatically. No manual promotion or per-node re-subscription is required during normal failover. See master and fallback election for setup and verification.
Primary Origin A Master (M) Elected in the Control Panel Origin B Fallback (F) replicated cache Master failure + safety checks → automatic Fallback promotion

Use when: you have a working origin backend available from both candidate nodes and want automatic failover after electing a Fallback. Benefit profile: resilience (warm cache covers eligible requests during failure detection and recovery) + simpler recovery operations.

The Fallback must be able to use the configured backend addresses after promotion. A loopback address such as 127.0.0.1:80 must reach a working application on that node too. QSCS cache replication does not replicate your application database or files. Failover waits for sustained failure, expiry of the old master's lease, and control-plane approval; an origin-only outage does not by itself promote the Fallback.

4. Geo-distributed edge

One master, three or more thin clients spread across continents. All thin clients have the master's cache replicated; users hit the nearest edge. You can elect one suitable member as Fallback for automatic master failover, provided it can reach a working origin backend after promotion.

Master (origin) :8080 Thin · EU :8080 EU users Thin · US :8080 US users Thin · AP :8080 AP users

Use when: you serve a global audience and the round-trip from the far side of the world to your origin matters. Benefit profile: local cache hits can avoid that round-trip; actual latency depends on placement, routing and the application.

Choosing between them

NeedPick
Just want outage protection on one hostSingle node
Origin in one region, users in manyMaster + thin clients
Want automatic failover with an elected FallbackHot-standby pair
Truly global audienceGeo-distributed edge
Start simple, grow as needed Add a second anonymous node using automatic enrollment or an administrator-issued invitation. After claiming, issue a fresh invitation for each new enrolled member. Direct registered-account subscription remains available for native nodes using that licensing flow. See joining and claiming deployments. Elect a suitable Fallback in the Control Panel when you are ready for automatic failover.
Need a hand with your deployment?Contact support ↗Back to top ↑