GraphQL Subscriptions with Server Sent Events

  Рет қаралды 16,568

Jamie Barton

Jamie Barton

Күн бұрын

Пікірлер: 17
@brightworld7550
@brightworld7550 2 жыл бұрын
A very good video Jamie. It was very informative and straight to the point. A video with Subscriptions usig MQTT or REDIS would be much appreciated too, because it is the closest to production (which is what really matters). Also if possible can you make a video about actually deploying a server that implements subscriptions and the best possible options. (Not sure if it can be deployed on the edge, eg; Cloudflare Workers). Thank you and best regards.
@notrab
@notrab 2 жыл бұрын
Great ideas! I'll add this to my todo list :) Thanks for taking the time to watch, and comment ❤️
@abdulhamidalbayya6570
@abdulhamidalbayya6570 3 ай бұрын
hi on that main.ts you created a resolver variable and you write all your resolvers there, what if i already created an app that all the resolvers already separated, so like i have master modules, like master book, it has its own service module and resolver, master car, it has its own service module and resolver, in many explanation of graphql-ws i need to make that typedefs and resolvers, the typedefs is totally fine can read from the schema, but how about the resolvers if in my case i already separated them all?
@sujita8020
@sujita8020 7 ай бұрын
why does couldnot connect to endpoint comes when trying to run subscription in graphql playground from backend?
@notrab
@notrab 7 ай бұрын
Do you have a reproducer repo?
@RedCloudServices
@RedCloudServices Жыл бұрын
Does Apollo Studio or Sandbox allow us to integrate tools from The Guild like Yoga?
@notrab
@notrab Жыл бұрын
You should be able to point it to any GraphQL api but some things might not work (SSE live queries etc)
@theratcode3424
@theratcode3424 2 жыл бұрын
How can we pass headers like authorization with SSE from client side
@theratcode3424
@theratcode3424 2 жыл бұрын
I am using set context from apollo client to pass the authorization with headers but during subscriptions it's not working
@TheWalrus_45
@TheWalrus_45 2 жыл бұрын
Hi Jamie, does this still have a maximum connections limit?
@nemes1x
@nemes1x 2 жыл бұрын
Is this limit issue solved using http2?
@notrab
@notrab 2 жыл бұрын
With http/2 the limit is higher but most likely suitable for most use cases.
@vaquarshaikh9790
@vaquarshaikh9790 2 жыл бұрын
please send code link for this video . Also please tell us how can we contact you if we have any doubts :)
@notrab
@notrab 2 жыл бұрын
Hey, the code can be found at graphql.wtf/episodes/52-graphql-subscriptions-with-server-sent-events
@nemes1x
@nemes1x 2 жыл бұрын
Great Video again! Do you recommend SSE for production? I am looking forward to the next videos about subscriptions topic
@notrab
@notrab 2 жыл бұрын
Thanks ❤ SSE works fine in production but does have some limitations you want to be aware of (max open connections). I guess it also depends on what you want from your GraphQL subscriptions. www.graphql-yoga.com/docs/features/subscriptions#sse-vs-websocket
@SiddheshKukade
@SiddheshKukade Жыл бұрын
thanks and please keep making more vieos
Apollo Client Data Normalization
3:27
Jamie Barton
Рет қаралды 4,3 М.
The Hidden Cost Of GraphQL And NodeJS
28:35
ThePrimeTime
Рет қаралды 202 М.
UFC 287 : Перейра VS Адесанья 2
6:02
Setanta Sports UFC
Рет қаралды 486 М.
УЛИЧНЫЕ МУЗЫКАНТЫ В СОЧИ 🤘🏻
0:33
РОК ЗАВОД
Рет қаралды 7 МЛН
JISOO - ‘꽃(FLOWER)’ M/V
3:05
BLACKPINK
Рет қаралды 137 МЛН
Server-Sent Events Crash Course
29:48
Hussein Nasser
Рет қаралды 100 М.
Authorization with GraphQL Shield
8:26
Jamie Barton
Рет қаралды 8 М.
GraphQL subscriptions in Apollo Server
9:07
Tech With Piotr
Рет қаралды 5 М.
Simon Sinek's Advice Will Leave You SPEECHLESS 2.0 (MUST WATCH)
20:43
Alpha Leaders
Рет қаралды 2,3 МЛН
How GraphQL Subscriptions Work
7:40
Ben Awad
Рет қаралды 63 М.
Federated subscriptions: All your data, one real-time experience
4:48
Apollo GraphQL
Рет қаралды 2,3 М.
5 Hidden Windows Features You Should Be Using in 2025!
8:05
Kevin Stratvert
Рет қаралды 100 М.
UFC 287 : Перейра VS Адесанья 2
6:02
Setanta Sports UFC
Рет қаралды 486 М.