ZuploZuplo
LoginSign Up
  • Documentation
  • API Reference
Introduction
Getting Started
    Develop using the Portal
      1 - Setup Your Gateway2 - Rate Limiting3 - API Key Auth4 - Deploy5 - Dynamic Rate LimitingMCP - Quick start
    Develop Locally
      1 - Setup Your Gateway2 - Rate Limiting3 - API Key Auth
Concepts
    How Zuplo WorksRequest LifecycleProject StructureAuthenticationAPI KeysRate LimitingAPI ErrorsRoutingPolicy FundamentalsOpenAPIEnvironmentsSource Control and DeploymentDevelopment Options
Development
Policies
Handlers
API Keys
MCP Server
MCP Gateway
AI Gateway
Developer Portal
Monetization
Deploying & Source Control
Observability
Networking & Infrastructure
Account Management
Programming API
Build with AI
Zuplo CLI
Migration Guides
Platform LimitsSecuritySupportTrust & ComplianceChangelog
powered by Zudoku
Concepts

How Zuplo Works

Zuplo is a programmable API gateway that runs at the edge. This page explains the architecture, runtime, and deployment model.

Architecture

Zuplo sits between your clients and your backend APIs. Clients send requests to Zuplo, which applies policies (authentication, rate limiting, validation, etc.), then forwards the request to your backend. Responses pass back through outbound policies before reaching the client.

Zuplo API Gateway
Inbound Policies
Handler
Outbound Policies
Clients
Your Backend API
Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.

Zuplo is cloud-agnostic. It works with backends running on any cloud provider or private infrastructure. Multiple secure connectivity options are available including mTLS, shared secrets, and secure tunnels.

Edge runtime

Zuplo's runtime is based on Web Worker technology, the same foundational approach used by platforms like Deno Deploy, Vercel Edge Functions, and Cloudflare Workers. Code runs in lightweight V8 isolates rather than containers or virtual machines.

This architecture provides:

  • Near-zero cold starts - isolates start in milliseconds, not seconds
  • High throughput - tested at over 10,000 requests per second with policies enabled
  • Low latency - the gateway typically adds 20-30ms for basic request processing
  • Web Standards - built on familiar browser APIs like fetch, Request, Response, and Web Crypto

Custom code is written in TypeScript or JavaScript. Your backend can be written in any language that speaks HTTP.

See Web Standard APIs and Platform Limits for specifics on available APIs and constraints.

Deployment model

Zuplo offers three hosting options:

  • Managed Edge - Runs in 300+ data centers worldwide. Deploys in seconds via Git. Best for most use cases.
  • Managed Dedicated - Dedicated infrastructure in your preferred cloud region. For teams with compliance, data residency, or performance isolation requirements.
  • Self-Hosted - Run Zuplo in your own infrastructure.

All hosting options use the same runtime, configuration, and APIs. Your project code works identically across all three.

GitOps workflow

Everything in Zuplo is defined as code and stored in source control. The typical workflow is:

  1. Develop locally or in the Zuplo Portal
  2. Push to your Git repository (GitHub, GitLab, Bitbucket, or Azure DevOps)
  3. Deploy automatically - Zuplo builds and deploys your gateway globally

Deployments complete in seconds. Each Git branch gets its own isolated environment with its own URL, making it easy to test changes before merging to production.

See Environments and Source Control for details.

Protocols

Zuplo can proxy any HTTP traffic including REST, GraphQL, WebSockets, and other HTTP-based protocols. HTTP/2 is fully supported.

Programmability

While most API gateways limit you to configuration, Zuplo lets you write custom logic that runs in-process at the gateway layer:

  • Custom policies - intercept requests and responses with TypeScript
  • Custom handlers - implement entire request handlers in code
  • Runtime extensions - add global hooks that run on every request

Custom code has access to the full Programming API including caching, logging, environment variables, and more.

See Request Lifecycle for details on how these extension points compose together.

Edit this page
Last modified on March 27, 2026
3 - API Key AuthRequest Lifecycle
On this page
  • Architecture
  • Edge runtime
  • Deployment model
  • GitOps workflow
  • Protocols
  • Programmability