Anyone else have this problem

So my dog eats super fast like in 2 minutes or less everyday I feed him enough to where he's content but since he eats so fast he's been throwing up every night, anyone else's dog do this , if so what was your solution.