You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Vinay Pothnis <po...@gmail.com> on 2013/10/25 16:45:48 UTC
Solr + SPDY
Hello,
Couple of questions related to using SPDY with solr.
1. Does anybody have experience running Solr on Jetty 9 with SPDY support -
and using Jetty Client (SPDY capable client) to talk to Solr over SPDY?
2. This is related to Solr - Cloud - inter node communication. This might
not be a user-list question - nonetheless, I was wondering if there would
be some way to enable the use of SPDY for inter-node communication in a
Solr Cloud set up. Is this something that the solr team might look at?
Thanks
Vinay
Re: Solr + SPDY
Posted by harspras <Pr...@outlook.com>.
Hi Markus,
SPDY does provide lower latency in the case when I have multiple requests to the same server/domain. It compresses the header and reduces the number of connections. But since it uses tls I am not sure if it will be faster than http 1.1. That is why I wanted to test SPDY with solr for inter shard communication. Currently, using http for communication to solr is slow.
Harsh
> On 17-May-2014, at 9:44 am, "Markus Jelsma-2 [via Lucene]" <ml...@n3.nabble.com> wrote:
>
> Hi Harsh,
>
>
> Does SPDY provide lower latency than HTTP/1.1 with KeepAlive or is it encryption that you're after?
>
>
> Markus
>
>
>
> -----Original message-----
> From:harspras <[hidden email]>
> Sent:Tue 13-05-2014 05:38
> Subject:Re: Solr + SPDY
> To:[hidden email];
> Hi Vinay,
>
> I have been trying to setup a similar environment with SPDY being enabled
> for Solr inter shard communication. Did you happen to have been able to do
> it? I somehow cannot use SolrCloud with SPDY enabled in jetty.
>
> Regards,
> Harsh Prasad
>
>
>
> --
> View this message in context: http://lucene.472066.n3.nabble.com/Solr-SPDY-tp4097771p4135377.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>
>
> If you reply to this email, your message will be added to the discussion below:
> http://lucene.472066.n3.nabble.com/Solr-SPDY-tp4097771p4136507.html
> To unsubscribe from Solr + SPDY, click here.
> NAML
--
View this message in context: http://lucene.472066.n3.nabble.com/Solr-SPDY-tp4097771p4136544.html
Sent from the Solr - User mailing list archive at Nabble.com.
RE: Solr + SPDY
Posted by Markus Jelsma <ma...@openindex.io>.
Hi Harsh,
Does SPDY provide lower latency than HTTP/1.1 with KeepAlive or is it encryption that you're after?
Markus
-----Original message-----
From:harspras <Pr...@outlook.com>
Sent:Tue 13-05-2014 05:38
Subject:Re: Solr + SPDY
To:solr-user@lucene.apache.org;
Hi Vinay,
I have been trying to setup a similar environment with SPDY being enabled
for Solr inter shard communication. Did you happen to have been able to do
it? I somehow cannot use SolrCloud with SPDY enabled in jetty.
Regards,
Harsh Prasad
--
View this message in context: http://lucene.472066.n3.nabble.com/Solr-SPDY-tp4097771p4135377.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: Solr + SPDY
Posted by harspras <Pr...@outlook.com>.
Hi Vinay,
I have been trying to setup a similar environment with SPDY being enabled
for Solr inter shard communication. Did you happen to have been able to do
it? I somehow cannot use SolrCloud with SPDY enabled in jetty.
Regards,
Harsh Prasad
--
View this message in context: http://lucene.472066.n3.nabble.com/Solr-SPDY-tp4097771p4135377.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: Solr + SPDY
Posted by Vinay Pothnis <po...@gmail.com>.
Hi Otis,
While the main goal of SPDY is to reduce page load times - i think we could
benefit from it in Solr context as well.
The transport layer is still TCP - but SPDY allows multiplexing of
requests. It also uses compression and reduces the overhead of http
headers.
An excerpt from http://webtide.intalio.com/2012/03/spdy-support-in-jetty/
"SPDY reduces roundtrips with the server, reduces the HTTP verboseness by
compressing HTTP headers, improves the utilization of the TCP connection,
multiplexes requests into a single TCP connection (instead of using a
limited number of connections, each serving only one request),"
1. For users who are using http client to communicate with Solr, for
sending updates or for searching, they could benefit from SPDY
optimizations. They could make use of Jetty Http Client and set up Solr on
Jetty to enable communication over SPDY.
2. As far as SolrCloud internode communication is concerned - I am not very
sure as to hw beneficial it would be. I brought his up because, in the Solr
Cloud context, there's a lot of inter-node chatter happening to facilitate
distributed search/distributed indexing. So - I was wondering if anyone
else gave a thought about this.
Cheers
Vinay
Some references:
http://www.chromium.org/spdy/spdy-whitepaper
http://webtide.intalio.com/2012/03/spdy-support-in-jetty/
http://www.eclipse.org/jetty/documentation/current/spdy.html
On Fri, Oct 25, 2013 at 12:22 PM, Otis Gospodnetic <
otis.gospodnetic@gmail.com> wrote:
> I'm rusty on SPDY. Can you summarize the benefits in Solr context? Thanks.
>
> Otis
> Solr & ElasticSearch Support
> http://sematext.com/
> On Oct 25, 2013 10:46 AM, "Vinay Pothnis" <po...@gmail.com> wrote:
>
> > Hello,
> >
> > Couple of questions related to using SPDY with solr.
> >
> > 1. Does anybody have experience running Solr on Jetty 9 with SPDY
> support -
> > and using Jetty Client (SPDY capable client) to talk to Solr over SPDY?
> >
> > 2. This is related to Solr - Cloud - inter node communication. This might
> > not be a user-list question - nonetheless, I was wondering if there would
> > be some way to enable the use of SPDY for inter-node communication in a
> > Solr Cloud set up. Is this something that the solr team might look at?
> >
> > Thanks
> > Vinay
> >
>
Re: Solr + SPDY
Posted by Otis Gospodnetic <ot...@gmail.com>.
I'm rusty on SPDY. Can you summarize the benefits in Solr context? Thanks.
Otis
Solr & ElasticSearch Support
http://sematext.com/
On Oct 25, 2013 10:46 AM, "Vinay Pothnis" <po...@gmail.com> wrote:
> Hello,
>
> Couple of questions related to using SPDY with solr.
>
> 1. Does anybody have experience running Solr on Jetty 9 with SPDY support -
> and using Jetty Client (SPDY capable client) to talk to Solr over SPDY?
>
> 2. This is related to Solr - Cloud - inter node communication. This might
> not be a user-list question - nonetheless, I was wondering if there would
> be some way to enable the use of SPDY for inter-node communication in a
> Solr Cloud set up. Is this something that the solr team might look at?
>
> Thanks
> Vinay
>