Do those limiters apply only to external requests or also to internal requests 
to shards?

Killing a request to a shard kills the whole request, so it has a magnified 
effect, probably larger than intended. That is why I suggested using nginx to 
limit request rates before they hit the cluster. That is more predictable.

wunder
Walter Underwood
wun...@wunderwood.org <mailto:wun...@wunderwood.org>
http://observer.wunderwood.org/  (my blog)

> On Nov 16, 2022, at 3:55 AM, Jan Høydahl <jan....@cominvent.com 
> <mailto:jan....@cominvent.com>> wrote:
> 
> Also see the Ref Guide about Request Rate Limiting: 
> https://solr.apache.org/guide/solr/latest/deployment-guide/rate-limiters.html 
> <https://solr.apache.org/guide/solr/latest/deployment-guide/rate-limiters.html>
> 
> Jan
> 
>> 15. nov. 2022 kl. 12:49 skrev DAVID MARTIN NIETO <dmart...@viewnext.com 
>> <mailto:dmart...@viewnext.com>>:
>> 
>> hello solr users
>> 
>> We have a production cluster of six machines using solr 8.2 and I had a 
>> question about whether or not changing the number of shards could improve 
>> the performance of collection queries. Specifically, we have several 
>> collections, some of which are several gigabytes (20 GB, 10, 2 GB) and other 
>> very small collections that have 40% of the incoming queries. All the solr 
>> nodes have all de shards replicateds now.
>> 
>> Any recommendations on how to improve performance?
>> 
>> Additionally several questions:
>> - Is there any way for Solr to discard requests that take more than X 
>> seconds to respond?
>> - Is there any way to limit Solr's response rate, with the idea of not 
>> responding if more than 100 requests arrive per second, for example, and 
>> discarding the rest so as not to affect performance?
>> - Is there any way for Solr to avoid distributed request between the six 
>> nodes of the cluster?
>> 
>> Thank you very much for the help.
>> All the best.
>> 
>> 
>> ________________________________
>> David Martín Nieto
>> E-mail: dmart...@viewnext.com <mailto:dmart...@viewnext.com> | Web: 
>> www.viewnext.com <http://www.viewnext.com/>
>> ________________________________
>> 
>> 
>> 
>> 
>> ---------------------------------------------------------------------------------------------------------------
>> Este mensaje va dirigido únicamente a la(s) persona(s) y/o entidad(es) 
>> arriba relacionada(s). Puede contener información confidencial o legalmente 
>> protegida. Si no es usted el destinatario señalado, le rogamos borre del 
>> sistema inmediatamente el mensaje y sus copias. Asimismo le informamos que 
>> cualquier copia, divulgación, distribución o uso de los contenidos está 
>> prohibida.
>> ---------------------------------------------------------------------------------------------------------------
>> This message is addressed only to the person (people) and / or entities 
>> listed above. It may contain confidential or legally protected information. 
>> If you are not the recipient indicated, please delete the message and its 
>> copies immediately from the system. We also inform that any copy, 
>> disclosure, distribution or use of the contents is forbidden
>> ---------------------------------------------------------------------------------------------------------------
>> Viewnext, S.A. Domicilio Social: Avda. de Burgos 8-A 28036 de Madrid. telf: 
>> 913834060, Fax: 913834090. Reg. M. Madrid: Tomo 3238, Libro:0, Folio: 78, 
>> Seccion: 8ª, Hoja M-55112, N.I.F.: A-80157746
> 

Reply via email to