News for hackers. Stuff that matters.
Re:Why Segment Went Back to a Monolith by SquishyPanda23 on Wednesday April 29, 2020 @03:13PM (#23022953)
> this means you're effectively building a monolith with a microservice architecture. Is that really what you want?

I actually kinda do want that, although maybe it's a niche thing.

It would be nice to be able to deploy a monolith that's already cut at seams where there's an obvious API boundary. At one extreme, you could imagine a single binary where processes communicate via RPC.

What that would give you is an easy way to split off microservices as they're needed.

I'm sure somebody has done work along these lines.

Re:Why Segment Went Back to a Monolith by dpix on Wednesday April 29, 2020 @03:33PM (#23023196)
This is actually a similar approach to how next.js deployed to vercel (previously zeit) works by default. Each page or api endpoint is served by an individual lambda function so they can scale up or down independently

https://nextjs.org/docs/deployment#optimized-for-nextjs

Re:Why Segment Went Back to a Monolith by SquishyPanda23 on Wednesday April 29, 2020 @09:29PM (#23026561)
Awesome thank you