This story on HackerNoon has a decentralized backup on Sia.
Transaction ID: hDwEdgNNiaeJtsSzF3UZfUgx--qcQr0nvpymUqnqR30
Cover

How we manage live 1M GraphQL Websocket Subscriptions

Written by @tigranbs | Published on 2019/8/16

TL;DR
Using WebSockets allows us to send data to UI whenever our tools are ready to respond. GraphQL subscriptions are the key part of our environment because it allows using the same schema/query based concept but with live WebSocket updates over multiple UI components. There are some downsides, specifically managing WebSocket connections could require a lot more resources than a standard request-response cycle. Each WebSocket connection on average takes about 4Kb memory, which is not a big deal, but if you calculate how many live connections and active website analysis we are doing, keeping live Web socket connections gets more and more expensive.

[story continues]


Written by
@tigranbs
Founder of https://sayna.ai, Building Voice Layer for AI Agents!

Topics and
tags
javascript|nodejs|graphql|apollo|websockets|latest-tech-stories|popularity-of-wbsockets|websocket-issues
This story on HackerNoon has a decentralized backup on Sia.
Transaction ID: hDwEdgNNiaeJtsSzF3UZfUgx--qcQr0nvpymUqnqR30