Sunday 1 May 2016

Nodejs event loop processing question

Example: just having a hard time putting this into techical language:Say user Bob and James submit a request to join an existing users match to a socket.io server at close to the same time. James is shortly after bob. The mysql server lags for bobs request.If the mysql server goes back to normal speed will james' request be processed first and cause a duplicate opponent for the game in question? Or will bobs request be processed first regardless?

Submitted May 01, 2016 at 07:19PM by Throwawayer75

No comments:

Post a Comment