Anyway to restrict number of people accessing the page?

Does anyone know anyway to to restrict number of people accessing the particular page at the same time?

Let's say if I set 50 accesses, 51st people will see the error page saying, server is busy etc....

 

 

 

 

Top