News for hackers. Stuff that matters.
Re:Prime Video Abandons Serverless Distributed Stack for Mon... by cglong on Thursday May 04, 2023 @03:25AM (#35812363)
My team owns an API monolith that hosts several completely unrelated endpoints. I keep thinking this would be a good candidate for breaking into microservices, but I do wonder if I'm buying into the hype.
Re:Prime Video Abandons Serverless Distributed Stack for Mon... by Smaug123 on Thursday May 04, 2023 @03:36AM (#35812437)
Massive architectural refactors are so attractive (at least to the kind of mind that likes Factorio) and so expensive. At least make sure you've got some concrete benefits that you think might arise from breaking apart the monolith, so you can do some semblance of a cost-benefit analysis!
Re:Prime Video Abandons Serverless Distributed Stack for Mon... by bottlepalm on Thursday May 04, 2023 @03:51AM (#35812523)
You are. People like you nuked all productivity we had at my last company.
Re:Prime Video Abandons Serverless Distributed Stack for Mon... by cglong on Thursday May 04, 2023 @01:53PM (#35819469)
Well, I've been sitting on this thought for two years now, so they probably weren't exactly like me :)
Re:Prime Video Abandons Serverless Distributed Stack for Mon... by adql on Thursday May 04, 2023 @06:38AM (#35813426)
That is probably the best use case for microservices (althought I'd just call them "services" at that part).

That assuming they are big enough to warrant that in the first place.

IMO if it is a dozen unrelated endpoints but all of that still takes less than dev/month to manage it's probably entirely wasted effort to "fix it"

And if any of them grows to warrant dev/month or more.... separate that one and only that one out of that.

Re:Prime Video Abandons Serverless Distributed Stack for Mon... by cmrdporcupine on Thursday May 04, 2023 @08:01AM (#35814029)
When you say unrelated, are you sure? Do they share -- or should they share -- a common underlying relational data model?

My biggest grief with microservices is the fact that it's effectively become a war on having a coherent logical normalized relational data model inside an organization.

Re:Prime Video Abandons Serverless Distributed Stack for Mon... by cglong on Thursday May 04, 2023 @01:52PM (#35819460)
This is a good question to think about. Right now, they don't have any relationship beyond serving different parts of my group, but perhaps they could be redesigned in a more cohesive way.
Re:Prime Video Abandons Serverless Distributed Stack for Mon... by cmrdporcupine on Thursday May 04, 2023 @03:14PM (#35820664)
The core pessimal problem presented by microservices is this: someday some stakeholder is going to ask for some information to be joined together or interlinked -- and that information will have been unwisely put into separate services ... and now you'll be doing joins manually via web service calls -- over the network -- and somewhere the ghost of E.F. Codd is spinning in circles and cursing you.

I think it's actually quite rare for companies to have data so actually autonomous and unrelated that it does not logically relate to anything else in the organization.