The Etsy saga: from silos to billions of pageviews
In the guide From code to product
The Etsy Saga: From Silos to Happy to Billions of Pageviews a Month
High Scalability recounts, in January 2012, the Surge 2011 talk by Ross Snyder, senior software engineer at Etsy. It traces how the marketplace, started in June 2005 by three people in an apartment, reached about 250 employees and billions of monthly pageviews.
In 2007 business logic sat in PostgreSQL stored procedures called from PHP. In 2008 the team built Sprouter, a Python layer between web servers and the database. It mirrored the silos between developers, DBAs and ops, caused an outage at nearly every deploy, and was deprecated in 2009.
The turn came with a culture shift led by Chad Dickerson, who joined as CTO and later became CEO. Etsy adopted DevOps and built StatsD for metrics. Any engineer could deploy the whole site with one button, Deployinator, about 25 times a day. An in-house ORM bypassed Sprouter, and a sharding scheme borrowed from Flickr, on MySQL, removed the database as a single point of failure.
Sprouter left the codebase in spring 2011. Among the lessons: openness and trust work better than fear, and a clever architecture is probably a wrong one. The article stresses Conway’s Law, by which products end up resembling the teams that build them.
Source: High Scalability
First published on LinkedIn on January 13, 2012.