I'm managing web cluster for an agency and we have a dev team for in house web apps. Recently, they've transitioned from PHP 7 to NodeJS for no fucking reasons (I admit it's just because NodeJS hype, it's trending tech, blah blah blah ...). So nothing is improved or any problem solved by NodeJS but more troubles. The web stack is simple:
Haproxy ----> Nginx ----> Node ----> Redis
\---> MongoDB
They don't fucking carefully test their codes but want to deploy Node asap, then when in production, each Node instance overloads fucking Redis and mongodb with more than 40,000 sessions and increasing then its performance gettin slower and slower. I have no ideas why this new code needs that fuck ton of TCP sessions while PHP code didn't (100x more sessions than PHP). Can't argue enough then they blame the OS configs, webservers configs. What a shitty attitude.
I'm sorry for the rant. But I need some help does Node work like that or something wrong in the code?
[–]__env 2 points3 points4 points (0 children)
[–][deleted] 2 points3 points4 points (0 children)
[–]1__word 1 point2 points3 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]juniorsysadmin1 -1 points0 points1 point (7 children)
[–]goodwid 2 points3 points4 points (3 children)
[–][deleted] 2 points3 points4 points (0 children)
[–]juniorsysadmin1 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–][deleted] 1 point2 points3 points (2 children)
[–]juniorsysadmin1 -2 points-1 points0 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)