News for hackers. Stuff that matters.
Re:Death by a Thousand Microservices by hliyan on Tuesday September 12, 2023 @11:24AM (#37482687)
The best "microservice" based system I've ever worked on was full ten years before the term had been invented. It had multiple services that read and wrote to the same database, but each used a common dynamically linked library that was the common interface to access that database (no naked SQL was allowed -- you had to #include <foo> and then do Foo* foo = Foo::findById("xxx"); etc. Worked remarkably well. The above common library was very carefully maintained and any addition had to be reviewed and approved. The approach seemed to work well.
Re:Death by a Thousand Microservices by jedberg on Tuesday September 12, 2023 @11:58AM (#37483236)
That's the services model that Facebook uses and parts of Amazon use. A single data store surrounded by a bunch of small services with a prescribed data access layer.

That's really more of a monolith though. One of the key tenants of microservices is data separation -- each service has its own data store.