Optimum Solutions interview question

How would you handle transactions in a distributed system?