---
title: "Discussion on \"Atomic Transaction Posting in Go: Getting Balance Invariants Right Under Concurrency\" | Hashnode"
description: "Discussion on \"Atomic Transaction Posting in Go: Getting Balance Invariants Right Under Concurrency\". An afternoon where one in six payments mysteriously failed, and the one-line database change that fixed it taught me more about Postgres than a year of reading docs"
url: "https://hashnode.com/posts/atomic-transaction-posting-under-concurrency/6a429c30866a9f821575980b"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Atomic Transaction Posting in Go: Getting Balance Invariants Right Under Concurrency](https://notes.sohag.pro/atomic-transaction-posting-under-concurrency?utm_source=hashnode&utm_medium=feed)

An afternoon where one in six payments mysteriously failed, and the one-line database change that fixed it taught me more about Postgres than a year of reading docs

Jun 29 · 9 min read · notes.sohag.pro  
Read the article

-   [#go](https://hashnode.com/tag/go)
-   [#golang](https://hashnode.com/tag/golang)
-   [#postgres](https://hashnode.com/tag/postgres)
-   [#concurrency](https://hashnode.com/tag/concurrency)
-   [#fintech](https://hashnode.com/tag/fintech)

## Written by

[Sohag Hasan](https://hashnode.com/@sohag)

@sohag · Dhaka, Bangladesh

  
[View profile](https://hashnode.com/@sohag)

Tech Lead at MobyPay | Certified Laravel Developer | PHP JS GO | DevOps Enthusiast | Open to projects

WhoAmI =&gt; notes.sohag.pro/author

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
