Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple APILearn More
HolyTeabags67650dI’ve had this many times, never ends well.
Hazarth476150dYou really need to take a piss but it takes too long? Just install more toilets or maybe a bigger one
magicMirror820450dFight fire with fire:
Sure! that will cost us! I think it might be very costly. Do you have cost estimates? no? ok - Then we should prepare some cost/benefit analysis documents! Btw, my refactor task will reduce operating costs, not increase them - can you make sure that goes into the documents?
Crost385350dCan you enlighten me why this won't work?, It's very cost inefficient but it should work no?
Oktokolo520050dYou can have a baby born in three months if you get three women to work on it instead of just one!
Scaling horizontally - more machines
Scaling vertically - more resource for a machine
Scaling horizontally is like ... Putting a knot at the end of a water hose and putting holes in the water hose.
More holes - more water pours out.
But... If the pressure reaches a critical point, the whole water hose just blows up.
As an real example:
In networking, scaling horizontally usually requires that the loadbalancer can distribute the work.
Too many nodes and the loadbalancer will be overwhelmed by incoming connections - worst case going down under traffic, meaning none of the workers get any request.
Other example: More nodes, but nodes take too long for requests.
Yes you could add more nodes - but as the requests take too long, you're having a larger and larger mass of unfinished requests stuck in processing. Either the loadbalancer gives up at some point or you can't add more nodes / add nodes fast enough.
Spreading work across several nodes as a band aid is never a good solution.
The whole organism of loadbalancer and services needs to be balanced out or you'll end up with a doomsday machine