Performance

Security at the Speed of Direct

Layr8 adds identity-based security to your API calls with negligible overhead. Milliseconds, not seconds.

Average Layr8 Overhead
26ms
Added latency per request for full identity verification and audit logging

Head-to-Head Comparison

Direct API Call
55ms
Baseline latency
Through Layr8
81ms
With identity verification
Overhead
+26ms
Layr8 added latency

Detailed Benchmarks

Real-world performance across different operation types. All tests conducted against production APIs.

OPERATION
DIRECT
VIA LAYR8
OVERHEAD
Database Query
55ms
81ms
+26ms
REST API Call
58ms
85ms
+27ms
Data Sync (50 records)
92ms
120ms
+28ms
MCP Tool Call
58ms
86ms
+28ms
Batch Request (10 calls)
550ms
580ms
+30ms

Real-World Cross-Region

In production, APIs connect across regions and organizations. Layr8's persistent connection pooling eliminates repeated handshake overhead — making secured requests faster than direct connections.

OPERATION
DIRECT
VIA LAYR8
FASTER
Simple Request
328ms
134ms
-59%
Small Response (~1KB)
300ms
128ms
-57%
Medium Response (~10KB)
303ms
134ms
-56%
Data Sync (50 records)
311ms
147ms
-53%
Sequential (10 calls)
2,819ms
1,299ms
-54%

Measured against a cross-region PostgreSQL database. Direct connections pay TCP + TLS + auth handshake per request. Layr8 agents maintain persistent connection pools, amortizing that cost across all requests.

How we keep it fast

We obsess over performance so you don't have to. Here's how Layr8 maintains near-zero overhead while providing full identity verification and audit logging.

Persistent Connection Pooling

This is the biggest win. Agents maintain long-lived connections to backend services, eliminating TCP + TLS + auth handshake per request. This alone made Layr8 57% faster than direct in cross-region tests.

gRPC Inter-Node Transport

Cloud-nodes communicate via binary gRPC streams, not JSON over HTTP. Multiplexed, compressed, and persistent.

Smart Caching

DID resolution and policy checks are cached. Repeat calls from verified identities skip re-validation.

Async Audit Logging*Coming Soon

Audit logs written after the response is sent. Full transparency without blocking.

See it for yourself

Run your own benchmarks. We'll set up a test environment so you can measure the difference.