Load Balancers · Gateways · Edge Ai · MCP

Everything at the edge

Load balancers and API gateways deployed directly as Cloudflare Workers inside your own account. No proxy servers, no traffic inspection, and zero cold starts across 330+ PoPs.

// load balancing

Seven routing strategies. One Worker.

Available on every plan including Free. Switch strategies anytime with Cloudflare Worker Versions and one-click Session rollback.

Round Robin

Edge-local rotating cursor for even distribution across healthy origins.

Weighted Round Robin

Weighted selection so higher-capacity origins serve proportionally more traffic.

IP Hash

Deterministic affinity using CF-Connecting-IP without requiring cookies.

Cookie Sticky

Assigns an origin on first visit and pins the session via an httpOnly eb_lb cookie.

Weighted Cookie Sticky

Combines weighted initial selection with cookie-backed session affinity.

Failover

Primary-backup routing that retries the next healthy origin on 5xx or connection failure.

Geo Steering

Matches visitor colo → country → continent, with automatic round-robin fallback.

// resilience & lifecycle

Built for zero-downtime operations.

Active Health Checks

Periodic HTTP probes mark failing origins unhealthy and restore them on recovery.

Pause & Resume Modes

Pause with keep-domain (503 maintenance) or release-domain (detach hostname); resume in one click.

Raw IP → DNS Conversion

Numeric IPv4 origins automatically get unproxied Cloudflare DNS A-records so Workers can fetch them.

Worker Versions & Rollback

Updates deploy via Cloudflare Worker Versions with immutable Session snapshots for instant rollback.

Path Routing & Rate Limits

Priority-based path rules and per-path requests-per-minute limits at the edge.

Smart Placement

Toggle Cloudflare Smart Placement or pin compute regions closer to backend origins.

// edge api gateway

Security, caching & traffic control at the edge.

Protect origins and shape requests before they leave Cloudflare's network.

Path Routing & Rewrites

Priority prefix rules (/api/*, /admin/*, /*) with upstream path rewriting.

Student+

JWT Auth (HS256 / 384 / 512)

Verify Bearer token signatures, exp, iss, and aud at the edge before origins are touched.

Student+

Edge RBAC

Require specific JWT role or scope claims per route; unauthorized calls get HTTP 403 at the edge.

Pro (Injection)

Header Transforms & Injection

Add, override, or strip request/response headers and inject downstream auth headers.

Student+

Edge Micro-Caching

Cache GET responses via Cloudflare Cache API with per-route TTLs and private-header bypass.

Pro

Canary & Traffic Shadowing

Split traffic percentages to canary upstreams or asynchronously mirror live requests.

Pro

BFF Fan-Out Aggregation

Fan out parallel upstream microservice calls from one route and merge JSON responses at the edge.

IP Allow / Deny (CIDR)

Permit or block IPv4/IPv6 CIDR ranges per route at the edge perimeter.

Student+ (Identity)

Global & Identity Rate Limits

Enforce per-route limits globally or keyed by X-API-Key / JWT identity with 429 Retry-After.

Schema & Body Shaping

Validate JSON payloads and strip sensitive fields (e.g. password_hash) before returning responses.

Mock Routes & Custom 502/503

Serve static JSON stubs or branded JSON/HTML maintenance payloads when origins are offline.

WebSockets, HTTP/2 & gRPC

Pass through WebSocket upgrades, CORS preflight caching, and multiplexed gRPC streams.

// ai & automation

AI-native control plane.

Edge Ai30 Tools · Pro

Autonomous infrastructure orchestration

Deploy, update, pause, resume, inspect analytics, check origin IPs, and debug errors using natural language. Streams live SSE steps across a 4-provider failover ladder (OpenRouter → Gemini → NVIDIA NIM → Groq), tracks the 4,000-token compaction budget, and switches to read-only Root Cause Analysis if any tool fails.

View AI Runs trace format →
MCP Server25 Tools · OAuth 2.0 + PKCE

Connect Claude Code, Cursor, Codex & more

Streamable HTTP endpoint at https://apiedge.nexoral.in/mcp with Dynamic Client Registration and mcp:read / mcp:write scopes. Every mutating call uses the same Redis create locks, automatic rollback, and Session snapshots as the dashboard.

Read MCP setup docs →