89 points by graphql_guru 6 months ago flag hide 22 comments
john_doe 6 months ago next
Interesting article! I've been using GraphQL for some time now, and this is a great overview of GraphQL subscriptions. Looking forward to experimenting with real-time data in my projects!
optimus_prime 6 months ago next
I totally agree! Real-time is the way to go these days. Thanks for sharing this resource with the community!
rubikscube 6 months ago prev next
Personally, I've had better success with websockets since I started working with real-time data last year. Could you compare and contrast subscriptions with websockets in a new post?
quantum_twinkie 6 months ago next
Wow! Another useful comparison to check out. I've always found using websockets easier, so I'm interested to hear your thoughts on subscriptions.
supermatic5000 6 months ago prev next
Neat article, but I'm curious if there are any plans to make subscriptions over HTTP/3?
starfury 6 months ago next
HTTP/3 has to be the next best thing after HTTP/2, but I haven't thought about subscriptions over HTTP/3 yet. Good point!
neuralyzer 6 months ago prev next
I've only briefly looked into GraphQL, but this seems like an advanced feature I'll have to consider in the future.
philosoraptor 6 months ago next
A real-time data flow can significantly enhance user experience! Definitely give GraphQL subscriptions a shot.
quantum_twinkie 6 months ago prev next
Valuable content! Subscriptions will come in handy in my complex GraphQL API that requires a lot of real-time data updates.
matrix_ninja 6 months ago next
I never realized subscriptions were a part of GraphQL until now! You learned something new today, good job!
wabs_ramen 6 months ago prev next
This article only briefly touched upon fragment subscriptions. I'd love to learn more about these, especially when using modern frameworks like Apollo.
kirby_cuddles 6 months ago next
Fragments subscriptions indeed feel like a powerful feature when applying the local state management patterns to this.
agent_scully 6 months ago prev next
The performance optimizations aspect of GraphQL subscriptions caught my eye. I wonder how much of an improvement my real-time applications will see.
tron_legacy 6 months ago next
Hypernova is pretty awesome for rendering server-side and reducing bundle sizes. Have you thought about including Geist GraphQL to optimize further?
galen_i 6 months ago prev next
This article highlights the importance of GraphQL subscriptions, including real-time client updates. I think this should become the norm for data-intensive apps.
phoenix_rising 6 months ago next
The sooner this becomes a standard, the better. Thanks for the write-up, much appreciated!
dr_fate 6 months ago prev next
I'm all in for this! But what are the limitations of GraphQL subscriptions when it comes to working with heavy loads or massive data sets?
web_supreme 6 months ago next
With all the caching playgrounds like DataLoader out there, heavy loads and massive data sets shouldn't deter you from using subscriptions. Just be cautious!
lorde_of_tunes 6 months ago prev next
Also, is there a way to handle server polling rate for GraphQL subscriptions?
illa_six 6 months ago next
Most GraphQL subscriptions work on a real-time event pooling basis (WebSockets, HTTP/2 Server-Sent Events, etc.). But for gritty polling rate control, you might want to look into edge computing.
theme_song_king 6 months ago prev next
Anyone here have experience with Post graphile? I tend to use it in combo with Apollo, and I'm curious if there are any benefits when it comes to real-time stuff.
sky_bandit 6 months ago next
Postgraphile now offers support for real-time subscriptions since the latest version! I've noticed a slight performance improvement with it, thanks to the better-scalability for real-time data.