Re:I'm Going to Scale My Foot Up Your Ass (2008)
by rippercushions on Sunday February 05, 2023 @07:36AM
(#34664429)
My favorite microservices pattern is having lots of separate little services, so you get that sweet overhead and complicated debugging, with a shared database, so you can still enjoy systemwide single points of failure and obscure side effects on data.
[ Parent
| on HN ]
Re:I'm Going to Scale My Foot Up Your Ass (2008)
by itsmeste on Sunday February 05, 2023 @07:45AM
(#34664482)
Have those microservices use different patterns (language, framework, infra, etc), and outnumber your devs by a magnitude so everybody gets a piece of that sweet context switching, multiple times a day.
Re:I'm Going to Scale My Foot Up Your Ass (2008)
by dopidopHN on Sunday February 05, 2023 @09:32AM
(#34665186)
* * *
Re:I'm Going to Scale My Foot Up Your Ass (2008)
by wrldos on Sunday February 05, 2023 @08:38AM
(#34664787)
Ah I am gorging myself financially on exactly that form of sweet misery.
Re:I'm Going to Scale My Foot Up Your Ass (2008)
by majormajor on Sunday February 05, 2023 @10:23AM
(#34665594)
I was complaining recently to a manager at another company about a half-assed "microservice breakout" project in a previous job where some teams moved from one big service + one big DB to many big services + single DB and introduced fun new DB connection + perf issues... and was dismayed to learn that this other manager didn't even think "a bunch of services all talking to the same giant DB" seemed like best practices.
Re:I'm Going to Scale My Foot Up Your Ass (2008)
by mypastself on Sunday February 05, 2023 @10:37AM
(#34665712)
Add to that an existing monolith that’s only been partly migrated to microservices and brother, you’ve got a stew going.
Re:I'm Going to Scale My Foot Up Your Ass (2008)
by Scubabear68 on Sunday February 05, 2023 @11:20AM
(#34666085)
Yep.
Have also seen this coupled with the microservices pattern of having all the microservices share a large common library, with all microservices built together and deployed together all the time. All the pain of shared code across teams plus the pain of shared DB plus the pain of debugging across completely arbitrary process boundaries.
Re:I'm Going to Scale My Foot Up Your Ass (2008)
by karmakaze on Sunday February 05, 2023 @01:20PM
(#34667269)
Sounds like a cargo-culted monorepo.
Re:I'm Going to Scale My Foot Up Your Ass (2008)
by layer8 on Sunday February 05, 2023 @01:39PM
(#34667488)
This can actually make sense when you have loosely coupled services that mostly talk to the database and external systems, and not directly to each other, that have a common domain model (due to the shared database) and common helper libraries, and that you want to be restartable separately, and/or be distributed over several hosts. Of course, the process boundaries should be well-chosen and not arbitrary.