How do you manage database concurrency and prevent race conditions when processing transactions at Wonga?