Re-architecting Slack’s Workspace Preferences: How to Move to an EAV Model to Support Scalability

1 · Slack · Aug. 9, 2018, 3:01 p.m.
Photo by Max Langelott (https://unsplash.com/photos/d3_cFMe97Ec)Scaling is hard. Design decisions that initially seemed reasonable break down with little warning, and suddenly even the simplest parts of your data model need to go through a complex re-architecture.We’re tackling this problem at Slack. A lot of our early design decisions made sense for small workspaces, but can be inefficient for large Enterprise Grid workspaces, where we can have thousands of users in one organization. For exampl...