1๐
โ
We use microservices in our company and at least once a month, we have one of our microservices down for a while. We have Transaction
model for the payment process and statuses for every step that go before we send a product to the user. If something goes wrong or one of the connected microservices is down, we mark it like status=error
and save to the database. Then we use cron job to find and finish those processes. You need to try something for the beginning and if does not fit your needs, try something else.
๐คAdilet Maratov
Source:stackexchange.com