Saturday, 25 July 2020

Which is easier to load balance? GraphQL subscription or socket.io?

I have a chat app (web and mobile) which uses socket.io to update the frontend data.I'm gonna need very soon to expend its resources by doing a load balancing and I see two options to do it but I don't know which one is easier to implement:Add Redis to the picture (The only reason I don't want Redis is because it is far too complex to install on my localhost (windows) which will make development (and future development) far too annoying... (because I'm gonna have to develop either on a Linux machine which I don't have, or on a development server which I can't really afford right now)Replace sockets.io with GraphQL's subscriptions, but I need to know if it's a solution which is easier to implement rather than using redis..I'd love to get help from people who had the change to load balance GraphQL and tell me how easy or hard it is to do it?Thank you in advance for any answer / advice :)

Submitted July 25, 2020 at 09:01PM by s_trader

No comments:

Post a Comment