hai nguyenhainguyen.hashnode.dev·May 30, 2024Safety and Liveness in Distributed systemSafety: Something that must never happen in a correct system. Liveness: Something that must eventually happen in a correct system.. We will use a banking system as an example in this article. Safety: We can't let users withdraw or transfer more money...Discuss·42 readsdistributed system
Chidinmachidinma.dev·May 29, 2024Introduction to Distributed TransactionsTransactions Before we look into distributed transactions, it is important we understand transactions. What is a transaction? A transaction is a set of operations executed as a single, indivisible unit of work on a database ensuring ACID (Atomicity, ...Discuss·95 readsDistributed Transactionsdistributed-transactions
Subhajit Duttasubhajit-d.hashnode.dev·Aug 19, 2023Microservice Communication - 2PCConcept Two-phase commit (2PC) is a protocol that ensures atomicity across multiple applications that use different database connections. This protocol (a specialized type of consensus protocol) achieves its goal even in many cases of temporary syste...Discuss·13 likes·99 readsdistributed system
Georgios Komninosblog.gkomninos.com·Mar 25, 2023Managing Distributed Transactions in PostgreSQL and Golang using two phase commitIf you're building a distributed system with PostgreSQL as the database backend, you might have encountered issues with managing transactions across multiple nodes. When a transaction spans multiple databases, ensuring atomicity and consistency can b...Discuss·998 readsGo Language