We design a simple, efficient, distributed and throughput-optimal scheduling algorithm for the contention resolution on the wireless sensing network. To prove its throughput-optimal property, we analyze the mixing-time of
time-varying reversible Markov chains, which is of general interest in the context of dynamical systems.