Content Deep Dive
Instant streaming APIs with built-in authorization for new or existing Postgres
Blog post from Hasura
Post Details
Company
Date Published
Author
Praveen Durairaju, Tanmai Gopal
Word Count
2,228
Language
English
Hacker News Points
-
Summary
The recent addition of streaming over GraphQL subscriptions for Postgres in Hasura GraphQL Engine allows users to instantly create APIs for clients to fetch large amounts or "fast moving" data as a continuous stream. This API can be safely exposed to internal or external HTTP clients and works with any GraphQL client that supports subscriptions over websockets. The streaming API on Postgres addresses challenges such as allowing authorization rules, preventing missing events, and scaling websocket connections to support millions of concurrent HTTP clients.