Answer the question
In order to leave comments, you need to log in
What are the restrictions on the number of requests to the contact api?
I'm fantasizing about making a site that will have a button for executing the friends.get method.
At a time, each visitor will need to send about 1000 friends.get requests.
If we imagine that 1000 site visitors can click this button at a time, what should I prepare for?
1) what will be the restrictions on outgoing requests to api?
2) I don't know much about server capacity and request limits... tell me how powerful a server is needed or what other problems can there be with contact with such a volume?
Answer the question
In order to leave comments, you need to log in
API methods (with the exception of methods from the secure and ads sections) can be accessed no more than 3 times per second on behalf of one user.
The maximum number of calls to server (secure) methods depends on the number of users who installed the application.
If the application is installed by less than 10,000 people, then you can make 5 requests per second, up to 100,000 - 8 requests, up to 1,000,000 - 20 requests, more than 1 million - 35 requests per second.
If these values are exceeded, the server will return an error with code 6: "Too many requests per second.".
Ads section methods have their own limits, see Ads API Method Call Limits( No more than twice per second )
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question