Agreed that performance always has a cost, and not just on maintainability. I've seen working with financial ledgers that there's a ceiling on throughput when read-after-write consistency is required. If you want to make sure a financial account can't go below 0, then each write must be processed serially. That means a round trip to a database each time.
mmcn•1h ago