To limit request rate, I would put an instance of nginx on each host, send 
external requests to that, then have that forward to Solr. Nginx has good tools 
for controlling request rate.

This would also give you a place to monitor the extrernal requests separate 
from the intra-cluster traffic.

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

> On Nov 15, 2022, at 3:49 AM, DAVID MARTIN NIETO <dmart...@viewnext.com 
> <mailto:dmart...@viewnext.com>> wrote:
> 
> 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