My socket.io web socket application is not sending data to some users. #4987
Unanswered
muratyvz13
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've created a live quiz application using Node.js and socket.io over web sockets. Briefly, there's a specific time limit for each question, and I'm sending the countdown to the user with
along with 4-5 other similar parameters. The client side is a web application that I wrote with Next.js. The application scores the questions and ranks the top 10 participants. I've tested it at home with 4-5 devices without any issues, and also with a group of 10 friends, all fine. However, someone who wanted to use it for an event tried it with around 50-60 people, and apparently, half of the participants didn't receive the questions.
Do you think the issue could be server-related? I'm using Heroku, paying about $7 for basic plan a month. Would moving to a hosting solution that provides better internet speed solve this problem? Or could it be unrelated to the server side? I'm terminating the connection if no response is received within 5 seconds; could it have something to do with that?
Beta Was this translation helpful? Give feedback.
All reactions