/plushcap/analysis/hasura/building-real-time-chat-apps-with-graphql-streaming-subscriptions

Building real-time chat apps with GraphQL streaming subscriptions

What's this blog post about?

The text discusses how to build real-time chat applications using GraphQL streaming subscriptions with Hasura. It explains that creating a chat app usually requires significant effort due to infrastructure concerns and custom logic for security, performance, and reliability of messages. However, with Hasura, developers can create chat apps instantly from their data models without needing additional infrastructure. The advantages of using streaming subscriptions on Hasura include no extra infrastructure requirements, model-level authz, scalable reads and writes, and easy scaling to handle websocket clients. The text also provides a step-by-step guide for creating data models, adding monotonic ids, setting permission rules, and testing the streaming subscriptions with sample queries. Additionally, it mentions a full sample app with live demo that uses Hasura's Streaming API for real-time chat applications.

Company
Hasura

Date published
Oct. 4, 2022

Author(s)
Praveen Durairaju

Word count
937

Hacker News points
None found.

Language
English


By Matt Makai. 2021-2024.