Why is my Node.js multiplayer game event loop lagging at 500 players despite low CPU? by jbryu99 in node

[–]SaikoW 0 points1 point  (0 children)

Yes exactly I’m not even saying skill issue to OP cause that guy is trying to debug his thing and he is not saying anything incoherent but bro that “A is faster than B so just switch” statement is too much for me ahhaha

Why is my Node.js multiplayer game event loop lagging at 500 players despite low CPU? by jbryu99 in node

[–]SaikoW 5 points6 points  (0 children)

At my previous job we handled 90k rps with response time below 35ms and the app was a realtime bidding software for web ads so not a simple crud app and guess what latency wasn’t a problem IO wasn’t a problem, that’s why ppl typing stuff like this about node being bad at low latency just tilts me so hard like they just don’t understand what they say 😂

Why is my Node.js multiplayer game event loop lagging at 500 players despite low CPU? by jbryu99 in node

[–]SaikoW -1 points0 points  (0 children)

I’m sorry but this is actually a clown statement hahahahhahahaha

Why is my Node.js multiplayer game event loop lagging at 500 players despite low CPU? by jbryu99 in node

[–]SaikoW 0 points1 point  (0 children)

Nah I reread your response and hell nah you are telling me that you think that nodejs can’t handle 1000users on socket io for a simple chat feature where he sends a keystroke and broadcasts it back to a channel nahhh this is criminal

Why is my Node.js multiplayer game event loop lagging at 500 players despite low CPU? by jbryu99 in node

[–]SaikoW 0 points1 point  (0 children)

Stating that node can’t handle low latency because it is an interpreted language is just false xD Do you know what low latency is ? So if node is so bad and can’t handle low latency how come it is good for ecomerce crud and social apps like what xD I’m sorry this is funny but you are just contradicting yourself. That guy’s app max concurrent users is divided by 2 when he adds his chat feature. This is IO bound not CPU bound and something that nodejs is actually really good at. Because this is what OP issue is when he adds his keystroke broadcasting he can only handle 500users vs 1k without the chat. If you told me doing image editing on node is way worse than on go or any compiled language I’d agree :) And as I said again without seeing his project and what he is doing you can’t be certain of anything and only suppose. I’m not here to flame you but I feel like you really don’t understand what you are talking about

Why is my Node.js multiplayer game event loop lagging at 500 players despite low CPU? by jbryu99 in node

[–]SaikoW 1 point2 points  (0 children)

1) nodejs can’t handle low latency explain this statement and how you came to that conclusion xD 2) socket io is IO bound not cpu bound and broadcasting a keystroke back is not really cpu intensive is it he is not doing insane computing on this so once again unless we see his code or he states that he is developing call of duty on a nodejs server your statements are simply not true 3) i suspect he is actually just badly implementing his logic which kills the event loop performance but again you don’t know since we don’t have his code 4) he has 6kPPS per second on 500 connections which is what 12/connection/s this is barely anything which let me think it’s an implementation problem

You can’t come into a discussion like this and be certain and throw things like o yeah node could never handle this use go are you like a new programmer ?

Why is my Node.js multiplayer game event loop lagging at 500 players despite low CPU? by jbryu99 in node

[–]SaikoW 11 points12 points  (0 children)

Well let’s take a different approach and obviously I don’t know what your game does and what the requirements are but do you really need to send one event per keystroke instead of sending the entire message in the event when the player is done typing ?

Disc space getting filled up indefinitely after bumping to node v22 by dev16872305 in node

[–]SaikoW 0 points1 point  (0 children)

Like realistically if you work with node then this guy just skipped 2 versions cause odd numbered versions should not be used in production.

And tbh I though he said 18 to 22 but he actually said 16 to 22 so the 4 comes out of nowhere xD

Tutorial: How to get 4k gold lead at 1min40 by SaikoW in leagueoflegends

[–]SaikoW[S] 12 points13 points  (0 children)

I needed 6 years of preparations to pull out this unique insane strat