Please don’t forget layer5+ ddos protection
i’ve never used the dgraph subscription feature, and won’t use graphql or graphql websocket, if there is no ddos protection.
Currently I have designed, that my Cloudflare Workers are kind of a middleware between the user and the dgraph DQL/GraphQL API.
Since websockets are a direct connection, this approach wouldn’t work anymore, since i would have to build elixir servers as a new performant middleware, and that’s again overkill
so ddos protection (maybe in cooperation with cloudflare?) would be very cool, to ensure that direct endpoints like the GraphQL endpoint, and more important, the direct GraphQL websocket endpoint, are not abused
maybe check out this Tunnel | Zero Trust App Connector
and this:
https://www.cloudflare.com/website-optimization/web-sockets/
Discord uses Cloudflare to protect its servers. If we want to build with dgraph the second Discord the second Facebook the second instagram, we need ddos protection too
check out: