3 ms·
Sometimes. If the services are all interrelated, you’re as dead on the water with Microservices was you would be in a monolith.
by gadflyinyoureye 4y ago
Sometimes. If the services are all interrelated, you’re as dead on the water with Microservices was you would be in a monolith.
- mixermachine 4y agoSure depends on the architecture. When the auth service is down, everything else should be down. But when the "optional feature" service is down, a core component should be unaffected by that. Split up services where it makes sense and don't over do it. That's how I design my projects.
- varsketiz 4y agoFor many websites, there is considerable amount of content that should be available if auth is down. Think eshops, news portals, etc.
- vinay_ys 4y agoWhen the auth service is down, only new authentications should fail. Existing auth sessions should continue to function just fine. This exact failure mode occured at Google in early 2021 which caused a fairly big outage but not as big as it could have been because of this design choice.
- threeseed 4y agoYou design your microservices so that they gracefully degrade. So if a database service is not available you simply return stale, cached data until the service is back up.
- deleted 4y ago[deleted]