r/programming • u/nickcraver • Feb 17 '16
Stack Overflow: The Architecture - 2016 Edition
http://nickcraver.com/blog/2016/02/17/stack-overflow-the-architecture-2016-edition/
1.7k
Upvotes
r/programming • u/nickcraver • Feb 17 '16
View all comments
Show parent comment
3
u/nickcraver Feb 18 '16
We deploy many times a day at a minimum, so even change control across hundreds of databases would be extremely noisy (compared to migrations currently being only schema changes). Given that most of the time you're changing code and the stored procedure, there's just no win. It's more work to debug, tune, and fix. By having no stored procedures, I can easily see everywhere a table is accesses by simply grepping my code base. As an example, if there's another black-box type place elsewhere (inside a stored procedure) simple bits like that become much more time consuming.
There are plenty of situations and use cases where Stored Procedures are awesome. For example, if you're doing native compilation, etc. they can also be performance boosting. They're just not for us.