(01)// distributed telemetry
developer infrastructure for real-time edge tracing.
Decoupled edge-native ingestion processing 40M+ spans per second. Sub-millisecond trace capture without degrading client runtime performance.
- 0.62s
- mobile lcp (4g)
- 0 KB
- client js baseline
- 99.4%
- edge cache hit
1import { defineTelemetryIngest } from '@apex/edge-node';
2
3export default defineTelemetryIngest({
4 edgeCluster: 'eu-central-1',
5 sampleRate: 0.25,
6 surrogateKey: 'traces:prod:v2',
7 maxLatencyBudgetMs: 4.8,
8 pipeline: { ingest: 'edge-beacon', validate: 'worker-pure' },
9 retention: { hot: 'kv-durable', cold: 'clickhouse-s3' }
10});
11// zero client-side hydration penalty
(02)// edge pipeline
distributed ingestion at 310+ edge locations.
- (01)0 KB
edge beacon
Fire-and-forget span beacons from the client. No SDK hydration, no main-thread cost, no framework payload.
- (02)<5ms
edge worker validation
Pure-Worker schema validation and dedup at the PoP. Malformed spans are dropped before they enter the pipeline.
- (03)traces:prod:v2
hot kv/durable cache
Surrogate-keyed Durable Object buffer for sub-millisecond reads. Purged in <15ms on publish webhook.
- (04)99.4% hit
cold clickhouse/s3 stream
Columnar archival for long-range queries. Origin compute fires only on explicit invalidation.
beacon→validate→hot cache→cold archiveglobal response latency <25ms
(02)// content & documentation architecture
zero-js developer documentation.
350+ API endpoints and technical guides compiled to static HTML at the edge. Instant full-text search indexing with Pagefind, requiring 0 KB of framework runtime.
Purge every edge copy tagged with a surrogate key. The request fans out to all 310 PoPs in parallel; each node acknowledges before the response is committed. No full rebuild, no Git commit, no origin round-trip.
$ curl -X POST https://api.apex.dev/v1/cache/surrogate \
-H "Authorization: Bearer $APEX_TOKEN" \
-H "Cache-Tag: docs:guides, release:v2.4"
← HTTP/2 200 OK (Purged across 310 edge nodes in 14ms)
static documentation routes
100% edge-cached
pagefind search payload
indexed at build
client runtime
0 KB JS
(03)// empirical benchmark telemetry
core web vitals & bundle audit.
Side-by-side performance profile before and after decoupling from Next.js App Router to edge-native Astro and Cloudflare Workers.
largest contentful paint (throttled 4g)
3.82s→0.62s
initial client javascript hydration
142.8 KB→0.0 KB
interaction to next paint (inp)
214ms→14ms
100 / 100
lighthouse mobile
+25%
reclaimed eng sprint bandwidth
15 mins
marketing publish sla
▪Test Profile: Chrome 128 / Moto G4 emulation▪Edge PoP: Cloudflare Frankfurt (FRA)▪Audit Date: 2026 Reference
(01)// architecture & monetization
island pricing architecture.
Dynamic tier calculations rendered via a 3.2 KB Astro client island. Pre-rendered HTML fallback prevents any Cumulative Layout Shift (CLS = 0.000).
edge scale
$490 /mo
per month, billed monthly
- ▪50,000,000 ingest spans/mo
- ▪30-day hot telemetry retention
- ▪Global edge routing <15ms
- ▪Automated cache-tag purging
dedicated enterprise
reference$1,850 /mo
per month, billed monthly
- ▪500,000,000+ spans included
- ▪Custom retention policies & S3 archive
- ▪99.99% edge uptime SLA guarantee
- ▪Dedicated systems engineering pod
Static hydration baseline: 0.0 KB
Total page weight: 18.4 KB (gzipped)
Interaction to Next Paint: 12ms
SOC2
Type II certified
ISO 27001
information security
99.99%
edge uptime SLA
310+
global edge nodes