Using the Google App Engine to Test Website Load

Azure, Amazon, and other instance-based cloud computing providers can be used to run website load tests (by replicating numerous instances of running programs that send requests to a set of URLs), and I was wondering if I could do this with Google App Engine

So far, this does not seem to be the case. The only implementation I can think of now is to set the maximum number of cron jobs, each of which runs at the highest frequency, each task requesting a bunch of URLs, and at the same time completing additional tasks in the task queue .

According to my calculations, this is only enough to remove a maximum of 25 concurrent requests (since the application can have a maximum of 20 cron tasks each run no more than once per minute, and the default queue has a throughput of 5 requests per second .

Any ideas if there is a way so I can get more concurrent requests by getting the urls in an automatic way?

+3
source share
2 answers

The taskqueue API allows you to make 100 task calls per second for each queue using the following maximum quotas for active queues:

: 10 ( )

: 100 ( )

UrlFetch , [ ] * [ ] * [60 ], Urlfetch:

Free: 11 * 100 * 60 = 66000 Urlfetch/

Billing: 101 * 100 * 60 = 606000 Urlfetch/

URL- UrlFetch :

Free: 3000 /

: 32 000 /

, API Taskqueue + Urlfetch .

+4

URL- , , , . .

. 2-3 .

, , .

+2

Source: https://habr.com/ru/post/1795186/


All Articles