Stochastic Modeling and Optimization of Stragglers