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 Regardless of which shape you pick: a single encrypted ingress port per node (smaller attack surface), regionally local cache near your users (lower latency for cache hits), and zero shared-database / quorum-service dependencies (less moving parts to operate). HEADLESS protection applies at every node in every topology.

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 regional latency (region-local cache) + reduced complexity (each region needs only one open ingress port).

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: dramatic latency reduction for cache hits (a user in Tokyo gets a response from a Tokyo-region edge in single-digit milliseconds rather than crossing the Pacific to hit your origin), plus the security and simplicity of a single encrypted port per node.

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 Every topology above can be reached by adding nodes to a smaller one. Subscribe each new node to the domain; existing members receive membership and role changes automatically. 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 ↑