News for hackers. Stuff that matters.
Re:Ten Years and Counting: My Affair with Microservices by jmugan on Saturday April 13, 2024 @12:50PM (#40024323)
I assume Hacker News has a bot that automatically posts this skit for every microservice article, but it case it doesn't https://www.youtube.com/watch?v=y8OnoxKotPQ. We should all know Galactus' pain.
Re:Ten Years and Counting: My Affair with Microservices by wkyleg on Saturday April 13, 2024 @02:46PM (#40025128)
I’d love to hear from more people who just don’t use micro services at all and vertically scale Elixir/Phoenix
Re:Ten Years and Counting: My Affair with Microservices by hmmokidk on Saturday April 13, 2024 @07:00PM (#40026991)
The only sane microservice amalgamation I worked on was with Elixir/Phoenix. It was event driven and that was the key. I think event driven microservices are an extemely powerful architecture but it’s still the early days for them until we can get really good open source support for replays, sectioning off events from a period, and lots of utilities like that as well as figure out all of the best practices.

I’ve built monoliths but never at scale, but don’t see why they wouldn’t have scaled incredibly well. I have built macroservices that have scaled super well (5ish services IIRC).

Re:Ten Years and Counting: My Affair with Microservices by cultofmetatron on Sunday April 14, 2024 @05:03AM (#40029785)
having built my own startup in elixir/phoenix, i'd have to agree.

I think it comes down to how you define a microservice/monolith. when it comes down to codebase, our codebase is very much a monolith. however elixir lets you connect nodes together and setup individualized processes that can be communicated with by any other node in your network toplolgy using the BEAM's built in pubsub system. in essence, creating a new microservice is easy. you just define a geneserver file and add it to your application.ex. about as much effort as adding a controller in rails and that makes a big difference. you get a lot of the advantage of microservice architecture where you spread computation across your physical machines but the codebase is a small easy to maintain monolith.

Re:Ten Years and Counting: My Affair with Microservices by cjk2 on Saturday April 13, 2024 @02:43PM (#40025110)
This is my life these days :(
Re:Ten Years and Counting: My Affair with Microservices by threeseed on Saturday April 13, 2024 @06:33PM (#40026785)
From experience this happens just as often inside monoliths.

It's a symptom of over-engineering and building for the future rather than anything inherent to microservices. Java had a whole decade of being obsessed with design patterns e.g Facade, Decorator that resulted in the same spaghetti architecture.

Re:Ten Years and Counting: My Affair with Microservices by cqqxo4zV46cp on Saturday April 13, 2024 @07:57PM (#40027369)
Microservices invite over-engineering more than monoliths do. Monoliths are more prone to inviting a lack of a structure. That’s kind of…a big potential advantage of microservices, I guess.
Re:Ten Years and Counting: My Affair with Microservices by bobthepanda on Saturday April 13, 2024 @10:19PM (#40028147)
the theoretically nice thing about microservices is that because the API boundary should be well defined, any possible application that can fulfill that API, whether it's Java, Rust, or three raccoons in a trench coat can become the new microservice fairly easy.
Re:Ten Years and Counting: My Affair with Microservices by exe34 on Sunday April 14, 2024 @05:02AM (#40029781)
All we have are three raccoons in a trashcan, but you'll be able to fit this in the current sprint, right?
Re:Ten Years and Counting: My Affair with Microservices by john_the_writer on Sunday April 14, 2024 @06:30AM (#40030139)
The problem with that. Maintenance. Team X writes a micorservice in Node. Team A->W write in elixir. Bug in Micro_X and tada... company is screwed. No one wants to learn Node, so the bugs stay around, get worked around and then Micro_X gets re-written in elixir, because coders have to fix stuff.
Re:Ten Years and Counting: My Affair with Microservices by thesnide on Sunday April 14, 2024 @07:18AM (#40030334)
That is painfully accurate. My usual response to it is https://despair.com/products/break-the-rules

It usually gives me angry looks at first, but thanks after several years when there's enough turnover.

Re:Ten Years and Counting: My Affair with Microservices by bobthepanda on Sunday April 14, 2024 @03:23PM (#40033635)
Terrible engineering is also possible in the monolith, it’s just significantly harder to rewrite sour bits of monolith independently.
Re:Ten Years and Counting: My Affair with Microservices by javanonymous on Sunday April 14, 2024 @04:17AM (#40029570)
That's why moduliths are becoming more popular. These are basically monoliths that enforce structure. The other advantage is that each "module" can be extracted as a micro-service later without much work.
Re:Ten Years and Counting: My Affair with Microservices by brtkdotse on Sunday April 14, 2024 @03:14AM (#40029289)
At least with a monolith, all of your ball of mud is in-process.
Re:Ten Years and Counting: My Affair with Microservices by unclebucknasty on Saturday April 13, 2024 @08:06PM (#40027443)
The pinned comment on that video is from 4 years ago:

>I'm a junior backend developer and this inspires me a lot to study frontend

Re:Ten Years and Counting: My Affair with Microservices by rpastuszak on Saturday April 13, 2024 @08:09PM (#40027458)
I always find watching this video surreal because I worked on a microservice called Galactus
Re:Ten Years and Counting: My Affair with Microservices by nadermx on Saturday April 13, 2024 @09:39PM (#40027963)
For some reason that video's genius reminds me this, https://m.youtube.com/watch?v=b6LKNTJN3Ug