Vulcain: HTTP/2 server push for fast and idiomatic client-driven REST APIs
4 months ago
- #Performance Optimization
- #HTTP/2
- #REST API
- Vulcain is a new protocol using Preload hints and the 103 Early Hints status code for fast, client-driven REST APIs.
- An open-source gateway server (Caddy module) is available to turn any web API into a Vulcain-compatible API.
- Supports hypermedia APIs (e.g., API Platform) and legacy APIs via OpenAPI documentation.
- Published as an Internet Draft with a reference implementation in Go (AGPL license).
- Addresses common API issues like over-fetching, under-fetching, and the n+1 problem.
- Uses HTTP/2 features for efficient resource pushing via Preload header and 103 Early Hints.
- Fields header allows clients to request specific fields, reducing response size.
- Commercial licenses available for the Vulcain Gateway Server (AGPL alternative).
- Treeware initiative: encourages planting trees for production use.