A Massively Multi-user Datastore, Synced with Mobile Clients
At Square, we manage large amounts of information for our merchants. This includes the data surrounding what a merchant sells — their…
At Square, we manage large amounts of information for our merchants. This includes the data surrounding what a merchant sells — their products, prices, taxes, and the configurations associated with those ...
Square’s datastore redesign offers a compelling case study in balancing structure and flexibility in large-scale systems. The strongest version of this narrative highlights its innovative use of an append-only, entity-attribute-value model to achieve transactional consistency without traditional database locks, a significant engineering feat. The system’s ability to sync constraints with mobile clients—enabling real-time validation—reduces latency in error detection and improves user experience....
