2 turns is a lot for shared hosting?

Hello! Did not write a great script that sends an ajax request to the server. Upon receipt, it checks and if everything is OK, it updates the picture(makes a JS request .src = 'img.php'). There is also a refresh button, which repeats these steps. Tell me these 2 request will not create load on the server, for example if user 100-200?

PS: I'm talking about the servers almost know nothing at all, so my question may seem stupid)
March 23rd 20 at 18:44
3 answers
March 23rd 20 at 18:46
They will create the load of 200-400 WH requests to the server
March 23rd 20 at 18:48
Spherical question in a vacuum.
1) What kind of server characteristics?
2) What are you doing requests? Read more. There may be mining PPC or unloading base with a bunch of conditions.
3) Why not just load testing?
Making JS script I wrote. On the server, just the image is created using php, then using the second query loads on the page - Clement.Schuster commented on March 23rd 20 at 18:51
On the server, just the image is created using php,

so what size picture? If you generate the picture, and if it is still large - that Yes, it is a burden(which by the way prevents the timing generating images?). And if it captcha 200*300 pixel, then load nothing, especially nothing to worry about(although the algorithm also depends, can you get there Naranco start). IMHO timing is the most objective assessment. - Everett_Kiehn commented on March 23rd 20 at 18:54
@Everett_Kiehn, Yes, the captcha 100x50 - Clement.Schuster commented on March 23rd 20 at 18:57
March 23rd 20 at 18:50
And what prevents You to test the load on your host and check it out?
Tests in bulk, for example: ab or yandextank

Find more questions by tags HostingAJAX