Edge-First Architecture

Sub-50ms response times globally with Cloudflare's edge network

Edge Infrastructure Components

Cloudflare Workers

*.mecentral.io

V8 isolates running at the edge, handling authentication, routing, and rate limiting for all requests.

Key Features:
  • 0ms cold starts
  • Automatic scaling
  • DDoS protection
  • WebAssembly support
JavaScript/TypeScript WASM Port: 443

R2 + Edge KV

cdn.mecentral.io

Distributed object storage with edge caching for encrypted documents and metadata.

Storage Specs:
  • S3-compatible API
  • Zero egress fees
  • 11 9's durability
  • Automatic replication
Object Storage KV Store Port: 443

Durable Objects

realtime.mecentral.io

Stateful edge computing for real-time notifications and WebSocket connections.

Capabilities:
  • Persistent state
  • WebSocket support
  • Strong consistency
  • Global uniqueness
Stateful Workers SSE/WebSocket Port: 443

Request Flow Through Edge Network

1

User Request

User initiates request from browser

0ms
2

Edge Router

Cloudflare routes to nearest edge location

~5ms
3

Worker Processing

Authentication & business logic at edge

~10ms
4

Cache/Storage

Fetch from edge cache or R2 storage

~15ms
5

Response

Return encrypted data to user

~20ms total

Multi-Layer Caching

Browser Cache L1

Service Worker caches encrypted docs locally

Edge Cache L2

Cloudflare KV stores frequently accessed metadata

R2 Storage L3

Persistent storage with automatic edge caching

Performance Optimizations

  • Brotli Compression

    20-30% better than gzip for text content

  • Image Optimization

    WebP/AVIF format with responsive sizing

  • Code Splitting

    Lazy load components for faster initial load

  • HTTP/3 + QUIC

    Reduced latency with multiplexing

Experience Global Performance

Lightning-fast document access from anywhere in the world