Queue as a Service

A Fair Waiting Room For Any Launch

Sorted absorbs the traffic spike, keeps every visitor updated on their place in line, releases them at your pace, and hands your app a signed token proving they waited their turn — no backend changes required.

Works with any website. Setup in under 5 minutes.

Waiting room

Product Launch Queue

Live

Your place in line

#128

Est. wait

04:12

Queued

8,412

Release

240/m

TTL

15m

Traffic control

Visitors

Burst

Sorted

Queue

Your app

Steady

Token verification

POST /api/queues/verify_token
→ 200 OK
{ "valid": true,
  "visitor_id": "v_abc" }

When Everyone Arrives at Once

Flash sales, ticket drops, product launches — a sudden surge of traffic means server errors, lost sales, and frustrated customers. A waiting room turns the flood into a fair, steady stream.

Without a queue
YOUR SERVER 💥 503 502 504

Every request hits your server at once — it buckles.

With Sorted Queue
WAITING ROOM 1 2 3 4 Fair FIFO order release YOUR SERVER

Visitors wait in a fair queue — released at your pace.

How it works

Three Steps to Surge-Proof Your Site

01

Create a queue

Set your target URL, release rate, and token TTL via the dashboard or API. Customize the waiting room with your own content.

POST /api/queues
{ "queue_event": {
    "title": "Flash Sale",
    "target_url": "https://shop.com/sale",
    "release_rate": 200,
    "token_ttl_minutes": 15
  } }
02

Redirect or embed

Point surge traffic to the waiting room URL, or drop it into your page as an iframe. No changes to your backend needed.

Standalone link

sorted.fast/queue/42

Embed as iframe

<iframe src=".../queue/42/embed">
03

Verify tokens

Released visitors arrive at your site with a signed token. One API call confirms they waited their turn.

POST /api/queues/verify_token
{ "token": "eyJhbG..." }

→ { "valid": true,
    "visitor_id": "v_abc",
    "queue_event_id": 42 }
Architecture

Built on Telecom-Grade Infrastructure

Each queue runs as an isolated process with its own in-memory state — no shared database locks, no single point of failure. The same runtime that handles a large share of the world's phone calls.

  • ETS hot path — zero bottleneck on join
  • Fair FIFO ordering with microsecond timestamps
  • Real-time position updates over WebSocket PubSub
  • Cryptographically signed release tokens
Queue Worker (per queue) VISITORS join() ETS: incoming public intake ordered_set drain 50ms GenServer dedup · validate · move ETS: queue FIFO ordered release N/m Signed token + redirect to target PubSub live position updates PostgreSQL async flush

Everything You Need

A complete virtual waiting room, ready to plug into any website or application.

Customizable waiting room

Add your own content — pricing, FAQs, promotions. Keep visitors engaged while they wait.

Configurable release rate

Control exactly how many visitors per minute reach your site. Protect your infrastructure from overload.

Embeddable widget

Drop the waiting room into your own page as an iframe, or use the standalone URL. Works either way.

Real-time position updates

Visitors see their exact position and estimated wait, updating live over WebSocket.

Signed access tokens

Released visitors get a cryptographically signed token with configurable TTL. One call to verify.

Full REST API

Create queues, check status, verify tokens — all via API. Perfect for automation and agents.

Integration

Plug Into What You Already Run

Sorted Queue sits in front of your existing system and controls the flow — no need to replace anything.

A

DNS redirect

Point your high-traffic URL at the waiting room. When ready, visitors are sent back to your site with a token.

sale.shop.com
  → CNAME sorted.fast
  → /queue/42
  → shop.com/sale?token=...
B

Iframe embed

Embed the waiting room directly on your page. Visitors join the queue without leaving your site.

<iframe
  src="sorted.fast
    /queue/42/embed"
  width="100%"
  height="500">
</iframe>
C

API only

Build your own waiting room UI. Use our API for queue management and token verification.

POST /api/queues/:id/join
GET  /api/queues/:id/status/:v
POST /api/queues/verify_token

Built For Any Surge

Flash sales

Ticket drops

Product launches

Registration waves

Stop Crashing. Start Queuing.

Protect your site from traffic surges in minutes — no infrastructure changes, no code rewrites. Just a smarter front door.