chain-indexing
chain-indexing copied to clipboard
Problem: Event and projection handling is not idempotent
Right now we are relying the DB transaction to achieve the ordering. Idempotent is a good requirement of the system
if exist, update, it not exist, insert?
if exist, update, it not exist, insert?
Yes. This seems to be the most straight forward solution.
FYI: http://stackoverflow.com/q/17267417/398670