logoalt Hacker News

Perz1vallast Friday at 5:08 PM2 repliesview on HN

Rule #2 sounds dumb. If there can't be a single source of truth, for let's say permission checking, that multiple other services relay on, how would you solve that? Replicate it everywhere? Or do you allow for a new business requirement to cause massive refactors to just create a new root in your fancy graph?


Replies

jayd16last Friday at 7:27 PM

Services handle the permissions of their own features. Authentication is handled at the gateway.

Not sure if I agree its really the best way to do things but it can be done.

show 1 reply
kaashiflast Friday at 5:46 PM

This is exactly the example I thought of and came here to post.

The rule is obviously wrong.

I think just having no cycles is good enough as a rule.