As I understand it right now, GraphQL is basically a proxy standing in front of the web server and translating queries. Subscriptions are possible because, being a central service, all request go through it therefore it has context.
Is GraphQL subscriptions enough or could it be complemented with PostgreSQL LISTEN/NOTIFY features? What if the service is distributed? How to coordinate the multiple nodes then?
https://blog.lelonek.me/listen-and-notify-postgresql-commands-in-elixir-187c49597851 https://www.howtographql.com/basics/2-core-concepts/
As I understand it right now, GraphQL is basically a proxy standing in front of the web server and translating queries. Subscriptions are possible because, being a central service, all request go through it therefore it has context.
Is GraphQL subscriptions enough or could it be complemented with PostgreSQL LISTEN/NOTIFY features? What if the service is distributed? How to coordinate the multiple nodes then?