Home / Product / Traffic and request controls

Keep public access bounded

Put clear limits around the requests your backend will accept.

Control origins, compression, request size, connection pressure, and request rates so public interfaces match the product and infrastructure you intend to operate.

01Reduce accidental overexposureAllow browser origins that belong to the product.
02Bound resource pressureSet request, upload, connection, and rate controls.
03Avoid wasteful responsesUse compression where it helps without breaking range-sensitive content.
Why it matters

A public backend needs an answer to “how much, from where, and at once?”

A correct feature can still fail under oversized uploads, too many open connections, aggressive polling, or an unintended browser origin. Leaving every limit to infrastructure defaults makes the operating boundary hard to reason about.

Daptin includes configurable CORS, gzip, connection bounds, and rate controls, alongside database pools and file-path limits. These mechanisms let operators define what the runtime should accept.

The edge proxy and Daptin must agree. A safe operating plan treats limits as part of the product's public contract, not as emergency settings added after overload.

01

Control browser reach

Define which web origins may call the backend.

02

Protect finite resources

Bound traffic before it consumes database, memory, storage, or worker capacity.

03

Tune by real paths

Apply controls with awareness of APIs, uploads, live clients, and protocol services.

How it fits

Part of one connected backend.

Traffic and request controls does more when it can reuse the records, people, access rules, and workflows already in your application.

Step 1Arrive

Traffic reaches the configured listener or proxy.

Step 2Inspect

Evaluate origin, size, rate, connection, and encoding needs.

Step 3Accept

Pass valid requests into authentication and product behavior.

Step 4Observe

Measure rejections and pressure, then tune from evidence.

What it enables

Use it in products people recognize.

Start from the experience you want to create; the backend capability supports the work behind it.

Public API

Protect common read and write routes from bursts and misuse.

Upload-heavy portal

Align proxy and backend limits with expected customer files.

Live dashboard

Balance ordinary requests with long-lived realtime connections.

Know the boundary

What Daptin leaves in your hands.

Built-in limits are one layer, not a complete edge-security or denial-of-service service. Use a reverse proxy or network edge where appropriate, test real workloads, and monitor both accepted and rejected traffic.

Understand the operating responsibility →

Build from one foundation

Make traffic and request controls part of the product—not another disconnected service.

Run Daptin locally, explore the live administration surface, and follow one complete application path.