Analysis of polling systems