A 33-year-old Rochester man will spend the next three decades in prison after his conviction in a drive-by shooting.