News for hackers. Stuff that matters.
Re:Why Segment Went Back to a Monolith by kminehart on Wednesday April 29, 2020 @08:37AM (#23018341)
A common practice is to introduce services that handle shared functionality.

One common example is, instead of having a shared library that reads & verifies JWTs, use a gateway service that handles this before requests reach the upstream service.

This means changes to your organization's JWT code will only require a redeployment of one service, the JWT Auth service.

Re:Why Segment Went Back to a Monolith by dx034 on Wednesday April 29, 2020 @12:22PM (#23020981)
But that also for input handling, formatting or simple business libraries? Sure you could implement that as services but that would probably result in up to a hundred service calls for one customer interaction. Maybe it looks clean from an architecture perspective but I can't imagine how that'll result in a good user experience.