NoBrainerQuiz / web

Web application for NoBrainer
0 stars 0 forks source link

Websockets emits to all clients. #2

Open springjben opened 6 years ago

springjben commented 6 years ago

Big problem, using Laravel and Redis to use websockets is problematic. I am unable to emit to specific sessions, rather it emits to everyone using the site. This means that if 2 quizzes are running, both parties will see the last quiz question that got emmited.

If this is not solved it will restrict the amount of other quizzes that can be used concurrently on our server..

Kent55 commented 6 years ago

@springjben any progress on this yet?

springjben commented 6 years ago

Progress has been made on this, it is half fixed. There is still a problem with the way Redis and the websockets actually function but that can be fixed using socket classrooms. For now, its on the backburner.