Trade-offs of distributed transactions