An industrial solenoïd of a pneumatic valve, like Festo or SMC, can handle 10 actions a second and more.
(at my work, programmed minimum response time is 50 milliseconds)

That the rest of the setup can have problems with that is another matter.