I defined the backend configuration as follows.
backends: - name: mybackend class: B8 options: public, dynamic instances: 6
And Um creates more than 6 instances of taskqueue and sets a goal for my backend.
class TestHandlerTest(RequestHandler): def get(self): for x in range(0, 100): taskqueue.add(url='/testhandler/', method='GET', params={'x': x}, target='mybackend') return Response() class TestHandler(RequestHandler): def get(self): time.sleep(420) x = self.request.args.get('x') return Response()
In the GAE task, only the queue in the queue with 6 instances of the task. It will not work until 100. If we use the front ends, then the task is in line with all the tasks.
Why can't we queue more than the specified limits for the backend instance in the Google engine? Can anyone help?
source share