Cratopus icon

Protocols

Crate isn’t just for REST APIs. We provide first-class support for modern streaming and performance protocols.

gRPC Support

Crate fully supports HTTP/2 end-to-end, preserving the binary framing required by gRPC. You can load balance gRPC services just like standard HTTP services without breaking the long-lived streams.

  • Load Balancing: Distribute gRPC calls across multiple backend nodes.
  • Health Checking: Monitor the availability of gRPC backends.

WebSockets

Perfect for chat apps and real-time feeds. Crate automatically upgrades HTTP/1.1 connections to WebSockets and maintains the tunnel indefinitely.

  • Instant Upgrades: Smooth transition from HTTP to WebSocket.
  • Long-lived Connections: Tuned for reliability with heartbeat support.

Zero Buffering

We force FlushInterval = -1 (instant flushing) for all connections, ensuring real-time performance for WebSockets and SSE (Server-Sent Events) without any configuration needed. This prevents the “latency lag” common with standard reverse proxies.