Ultra high dose rate approach was proposed to irradiate to a moving target in radiation therapy in which the prescribed radiation dose was delivered within such a short time period that the displacement of the target could be ignored during dose delivering. The advantages of the approach were evaluated based on normal tissue sparing, flexibility of accuracy of targeting, and time saving in clinical treatment. A system and method of generating of ultra high dose rate combines and utilizes both a linear accelerator and a storage ring.