this post was submitted on 17 Sep 2023
76 points (100.0% liked)

Programming

13345 readers
1 users here now

All things programming and coding related. Subcommunity of Technology.


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 1 year ago
MODERATORS
 

I hear Sam Newman's - Monoliths to Microservices is worth a read.

all 9 comments
sorted by: hot top controversial new old
[–] xilliah@beehaw.org 9 points 1 year ago (3 children)

Wasn't everyone here up in arms against micro services a week ago or so?

Just curious what everybody thinks.

[–] ryonia@beehaw.org 10 points 1 year ago (2 children)

I've been out for a bit, what's wrong with them? Or is this being mixed up with microtransactions?

[–] sarahasakura@lemmy.blahaj.zone 12 points 1 year ago (2 children)

Nah, there have been some blogs recently from engineers who were bucking the Microservice trend - Notably Amazon Prime Video moved back to more of a monolith deployment and saw performance improvement and infrastructure cost reduction

https://www.linkedin.com/pulse/shift-back-monolithic-architecture-why-some-big-making-boudy-de-geer

I wouldn't say anything is wrong with them, the pros and cons have been there, but the cons are starting to be more recognized by decision makers

[–] r1veRRR@feddit.de 2 points 1 year ago

The Prime Video example was more like moving from nano-service insanity to sanity. They basically split EVERY POSSIBLE STEP into separate lambdas. They switched to still using microservices, but they do all transcoding steps for a single video on the same microservice instance (aka sanity).

[–] ryonia@beehaw.org 2 points 1 year ago

Ahh, thanks for the info!

[–] dark_stang@beehaw.org 6 points 1 year ago

People make microservices way too small sometimes. Then you have the opposite problem with people trying to cram everything into one system. You need to recognize when some functions are related and should go together, or when something has a weird dependency and should just be separate.

@xilliah @dandelion afaik microservices are fine. Just like a monolith can be fine. Maybe it just depends what you are sick of working with. :D

[–] Case@unilem.org 3 points 1 year ago

Ah, the animal computer books of my childhood, lol.

My parents (both in tech fields) had a library of these before they split up.

Somehow I wound up in IT as a career, no one saw that coming, I assure you /s