Hacker News new | ask | show | jobs
by formerly_proven 1691 days ago
tl;dr: Because event processing software doesn't do distributed transactions / 2-PC, put an event queue for each microservice in the database where the microservice puts it events, so you get transactions on your events. Then have a subordinate messaging nanoservice empty the locally transactional microservice event queue into the globally untransactional primary event queue.