Re:How Instagram scaled to 14 million users with only 3 engi...
by Aeolun on Saturday September 16, 2023 @03:45AM
(#37532821)
Sure. It’s just that 99% of applications work fine (or better) as a monolithic design.
[ Parent
| on HN ]
Re:How Instagram scaled to 14 million users with only 3 engi...
by wiseowise on Saturday September 16, 2023 @04:41AM
(#37533073)
And you of course have data to prove it, right?
Re:How Instagram scaled to 14 million users with only 3 engi...
by rjh29 on Saturday September 16, 2023 @04:56AM
(#37533145)
Experience.
Re:How Instagram scaled to 14 million users with only 3 engi...
by Sparkyte on Saturday September 16, 2023 @03:53AM
(#37532862)
Depends on the purpose of the application though. Monolithic is a good architecture when you have a few purposeful features and functions.
But when your design relies on many services to provide a wide variety of features you need to break out this design to allow teams to operate independently.
Mini monoliths are more popular today than traditional monoliths of the old.
Re:How Instagram scaled to 14 million users with only 3 engi...
by qaq on Saturday September 16, 2023 @04:30AM
(#37533015)
You can split things up you don't have to though. Teams operating independently is fairly orthogonal to this.
Re:How Instagram scaled to 14 million users with only 3 engi...
by Sparkyte on Saturday September 16, 2023 @05:05PM
(#37538692)
Yeah no I get you. You just want a monolith to be purposeful when you design one. Not multi-purposeful. This is also at the limitation of a programming language. I am kind of kubernetes guy, but I am dying because it relies heavily on a virtualize network distributed. It would drastically increase the performance if kubernetes clusters were built like monoliths and each kubernetes node handled traffic independently. So of like keeping it all in the same rack. Only leaving the rack if needed. But I keep seeing bad technology decisions repeated over and over. I stopped pushing because some person with a bigger title would say this is good design. Big kubernetes clusters eventually fail. Multiple small clusters survive.
Re:How Instagram scaled to 14 million users with only 3 engi...
by qaq on Saturday September 16, 2023 @09:00PM
(#37540439)
Replacing function call with network call does not really solve any org issues. There is pretty much 0 difference if teams are shipping "modules" for a monolith vs a microservice outside of much simplified CI/CD setup in case of monolith. You can gain some scaling efficiencies from scaling services independently but it's a minor advantage for most projects.
Re:How Instagram scaled to 14 million users with only 3 engi...
by Aeolun on Sunday September 17, 2023 @02:34PM
(#37548031)
> You can gain some scaling efficiencies from scaling services independently
Not necessarily, because if you scale only one of your services all the other services do not benefit at all.
Having microservices would only be better in that instance if they actually consume the resources they are given.