Re: Enable Gzip compression Solr 6.0
Hi Rick, I am not sure that Solr can take that stand once it stopped producing a standalone war (Rationale for which is rather well documented here: https://wiki.apache.org/solr/WhyNoWar) If Solr is asking users not to use standalone containers and wants to be used as a Server then it must provide optimisations like compression that a http-server (as http is the protocol supported). Communication between a Java Web APP and Solr would also be over the wire and in any decent setup will be likely to get congested under load. Thus, its important to have the facility to gzip compress communication between Solr and clients -- View this message in context: http://lucene.472066.n3.nabble.com/Enable-Gzip-compression-Solr-6-0-tp4329496p4338648.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Enable Gzip compression Solr 6.0
Hi Mahmoud Beware of using a proxy. Your web application will get attacked, and you should only forward the parameters that are needed for your app features. But you thought of that already. Cheers -- Rick On April 12, 2017 11:39:57 PM EDT, Mahmoud Almokademwrote: >Thanks Rick, > >I already running Solr on my infrastructure and behind a web >application. > >The web application is working as a proxy before Solr, so I think I can >compress the content on Solr end. But I have made it on the proxy now. > >Thanks again, >Mahmoud > > >> On Apr 12, 2017, at 4:31 PM, Rick Leir wrote: >> >> Hi Mahmoud >> I assume you are running Solr 'behind' a web application, so Solr is >not directly on the net. >> >> The gzip compression is an Apache thing, and relates to your web >application. >> >> Connections to Solr are within your infrastructure, so you might not >want to gzip them. But maybe your setup is different? >> >> Older versions of Solr used Tomcat which supported gzip. Newer >versions use Zookeeper and Jetty and you prolly will find a way. >> Cheers -- Rick >> >>> On April 12, 2017 8:48:45 AM EDT, Mahmoud Almokadem > wrote: >>> Hello, >>> >>> How can I enable Gzip compression for Solr 6.0 to save bandwidth >>> between >>> the server and clients? >>> >>> Thanks, >>> Mahmoud >> >> -- >> Sorry for being brief. Alternate email is rickleir at yahoo dot com -- Sorry for being brief. Alternate email is rickleir at yahoo dot com
Re: Enable Gzip compression Solr 6.0
Thanks Rick, I already running Solr on my infrastructure and behind a web application. The web application is working as a proxy before Solr, so I think I can compress the content on Solr end. But I have made it on the proxy now. Thanks again, Mahmoud > On Apr 12, 2017, at 4:31 PM, Rick Leirwrote: > > Hi Mahmoud > I assume you are running Solr 'behind' a web application, so Solr is not > directly on the net. > > The gzip compression is an Apache thing, and relates to your web application. > > Connections to Solr are within your infrastructure, so you might not want to > gzip them. But maybe your setup is different? > > Older versions of Solr used Tomcat which supported gzip. Newer versions use > Zookeeper and Jetty and you prolly will find a way. > Cheers -- Rick > >> On April 12, 2017 8:48:45 AM EDT, Mahmoud Almokadem >> wrote: >> Hello, >> >> How can I enable Gzip compression for Solr 6.0 to save bandwidth >> between >> the server and clients? >> >> Thanks, >> Mahmoud > > -- > Sorry for being brief. Alternate email is rickleir at yahoo dot com
Re: Enable Gzip compression Solr 6.0
Hi Mahmoud I assume you are running Solr 'behind' a web application, so Solr is not directly on the net. The gzip compression is an Apache thing, and relates to your web application. Connections to Solr are within your infrastructure, so you might not want to gzip them. But maybe your setup is different? Older versions of Solr used Tomcat which supported gzip. Newer versions use Zookeeper and Jetty and you prolly will find a way. Cheers -- Rick On April 12, 2017 8:48:45 AM EDT, Mahmoud Almokademwrote: >Hello, > >How can I enable Gzip compression for Solr 6.0 to save bandwidth >between >the server and clients? > >Thanks, >Mahmoud -- Sorry for being brief. Alternate email is rickleir at yahoo dot com
Enable Gzip compression Solr 6.0
Hello, How can I enable Gzip compression for Solr 6.0 to save bandwidth between the server and clients? Thanks, Mahmoud