Need help with @defer implementation details #3278
Unanswered
vamshiaruru-virgodesigns
asked this question in
Q&A
Replies: 1 comment 1 reply
-
the |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone, I want to use @defer in my production environments and I want to understand how it works before using it. I tried looking it up online, but I only find implementation details from the client side. What I want to understand is, how it is implemented on the apollo router itself.
Does it use server sent events? If yes, do I need to worry about the connection limit on SSEs? (For example you can only have 6 connections from same domain IIRC) Do I have to enable sticky sessions in my load balancer (I have two instances of apollo router running behind a load balancer)?
if it doesn't use SSE, does it use web sockets? In that case do I have to worry about sticky sessions again?
Any help is appreciated. If you could point to where I can read more about how apollo router implemented defer support, I'd love to read more on that. Thank you!
Beta Was this translation helpful? Give feedback.
All reactions