Try our conversational search powered by Generative AI!

Load testing - Too Many Requests

Vote:
 

Hi,

we've started load testing.  

When we send 10 requests per second, EpiServer Find returns with the error: The remote server returned an error: (429) Too Many Requests.

Our production index should be able to handle up to 75 queries per second (and the developer indexes are 25 queries per second).

Is this because we are hitting the index from the same IP address or could it be a configuration issue on our side? 

Thanks

#138442
Sep 22, 2015 10:14
Vote:
 

*bump*

Hi, 

any Episerver Find insiders perhaps know? I guess it could be the remote server rejecting requests when made from the same IP address?

Thanks

#139413
Oct 01, 2015 16:40
Vote:
 

Requests will always come from the same IP in a one-server scenario. If you've introduced load testing, could it be you're actually issuing more than 75rps against Find?

Are you caching the result from Find? See http://bergdaniel.se/episerver-find-getresult-getcontentresult for more information.

#139416
Oct 01, 2015 18:15
Vote:
 

http://world.episerver.com/Modules/Forum/Pages/Thread.aspx?id=90073&epslanguage=en

Regards

/K

#139541
Edited, Oct 06, 2015 12:28
Vote:
 

Keep in mind that one request to a page does not necessary equal one request to the EPiServer Find index. If you have multiple queries on your page, each request to the page will execute each of the Find queries. For example, if you have 5 queries when a page is loaded, 10 page requests will generate 50 requests to the Find index. This will only be the case if you do not cache your queries though, which you really, really, really should.

#139542
Oct 06, 2015 12:40
Vote:
 

In the case anyone else hits the limit try to use the multisearch api of Epifind

http://world.episerver.com/documentation/Items/Developers-Guide/EPiServer-Find/9/DotNET-Client-API/Searching/Multiple-searches-in-one-request/

#171718
Nov 16, 2016 10:25
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.