Linear and Nonlinear Ring Resonators