Sendcloud Interview Question

How to handle concurrent transactions on Postgresql?