I talked about how my team at Google, specifically, handles this in https://news.ycombinator.com/item?id=8941915