Shipt, a grocery delivery service, built a distributed payment system from scratch. The company's Senior Software Engineer, David Templin, shared insights on how they achieved this feat. From the beginning, Shipt aimed to build a multi-region payment system for high availability and redundancy. They chose CockroachDB as their database due to its distributed nature and managed cloud solution. The team also had to shift their mindset from single-region applications to multi-region ones, considering data affinity and access patterns.