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 Olala <ht...@gmail.com> on 2009/12/18 09:09:17 UTC
CCU of Solr?
Hi all!
I am developing an online dictionary application by using Solr, but I wonder
that how many concurrent request that Solr can be process?
--
View this message in context: http://old.nabble.com/CCU-of-Solr--tp26840318p26840318.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: CCU of Solr?
Posted by qiu chi <ch...@gmail.com>.
ab is not the best testing tool to test website performance
try loadrunner or apache httpclient instead, they act more like an browser
On Sat, Dec 19, 2009 at 11:20 AM, Olala <ht...@gmail.com> wrote:
>
> I used ab(apache bench) to test with handle 1000 requests, with a maximum
> of
> 300 requests running concurrently (ab -n 1000 -c 300), and then I received
> the output as follows:
>
> Concurrency Level: 300
> Time taken for tests: 6.797 seconds
> Complete requests: 1000
> Failed requests: 0
> Write errors: 0
> Non-2xx responses: 1000
> Total transferred: 162000 bytes
> HTML transferred: 0 bytes
> Requests per second: 147.13 [#/sec] (mean)
> Time per request: 2039.063 [ms] (mean)
> Time per request: 6.797 [ms] (mean, across all concurrent requests)
> Transfer rate: 23.28 [Kbytes/sec] received
>
> Connection Times (ms)
> min mean[+/-sd] median max
> Connect: 0 1 4.7 0 78
> Processing: 234 979 310.6 1016 4141
> Waiting: 219 632 230.1 609 4141
> Total: 234 980 310.7 1016 4141
>
> Percentage of the requests served within a certain time (ms)
> 50% 1016
> 66% 1141
> 75% 1203
> 80% 1219
> 90% 1313
> 95% 1453
> 98% 1469
> 99% 1484
> 100% 4141 (longest request)
>
>
> I wonder that 147 requests per second is too low?
>
>
>
> Erick Erickson wrote:
> >
> > You can't test it until you have a working SOLR instance in
> > your specific problem space.
> >
> > But assuming you have a SOLR setup, there are a plethora of
> > tools, just google "SOLR load testing". JMeter has been mentioned,
> > as well as others.
> >
> > You can also write your own load tester that just spawns a bunch of
> > threads that query your SOLR server, should take you about a day.
> >
> > Erick
> >
> > On Fri, Dec 18, 2009 at 3:42 AM, Olala <ht...@gmail.com> wrote:
> >
> >>
> >> Thanks for your answer! But how i can test this??? Do you know any tool
> >> that
> >> help me do that? :confused:
> >>
> >>
> >> Noble Paul നോബിള് नोब्ळ्-2 wrote:
> >> >
> >> > it is very difficult to say. It depends on the cache hit ratio. If
> >> > everything is served out of cache you may go upto arounbf 1000 req/sec
> >> >
> >> > On Fri, Dec 18, 2009 at 1:39 PM, Olala <ht...@gmail.com> wrote:
> >> >>
> >> >> Hi all!
> >> >>
> >> >> I am developing an online dictionary application by using Solr, but I
> >> >> wonder
> >> >> that how many concurrent request that Solr can be process?
> >> >> --
> >> >> View this message in context:
> >> >> http://old.nabble.com/CCU-of-Solr--tp26840318p26840318.html
> >> >> Sent from the Solr - User mailing list archive at Nabble.com.
> >> >>
> >> >>
> >> >
> >> >
> >> >
> >> > --
> >> > -----------------------------------------------------
> >> > Noble Paul | Systems Architect| AOL | http://aol.com
> >> >
> >> >
> >>
> >> --
> >> View this message in context:
> >> http://old.nabble.com/CCU-of-Solr--tp26840318p26840598.html
> >> Sent from the Solr - User mailing list archive at Nabble.com.
> >>
> >>
> >
> >
>
> --
> View this message in context:
> http://old.nabble.com/CCU-of-Solr--tp26840318p26852460.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>
>
--
Regards
Qiu
- chiqiu.dev@gmail.com
Re: CCU of Solr?
Posted by Olala <ht...@gmail.com>.
I used ab(apache bench) to test with handle 1000 requests, with a maximum of
300 requests running concurrently (ab -n 1000 -c 300), and then I received
the output as follows:
Concurrency Level: 300
Time taken for tests: 6.797 seconds
Complete requests: 1000
Failed requests: 0
Write errors: 0
Non-2xx responses: 1000
Total transferred: 162000 bytes
HTML transferred: 0 bytes
Requests per second: 147.13 [#/sec] (mean)
Time per request: 2039.063 [ms] (mean)
Time per request: 6.797 [ms] (mean, across all concurrent requests)
Transfer rate: 23.28 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 1 4.7 0 78
Processing: 234 979 310.6 1016 4141
Waiting: 219 632 230.1 609 4141
Total: 234 980 310.7 1016 4141
Percentage of the requests served within a certain time (ms)
50% 1016
66% 1141
75% 1203
80% 1219
90% 1313
95% 1453
98% 1469
99% 1484
100% 4141 (longest request)
I wonder that 147 requests per second is too low?
Erick Erickson wrote:
>
> You can't test it until you have a working SOLR instance in
> your specific problem space.
>
> But assuming you have a SOLR setup, there are a plethora of
> tools, just google "SOLR load testing". JMeter has been mentioned,
> as well as others.
>
> You can also write your own load tester that just spawns a bunch of
> threads that query your SOLR server, should take you about a day.
>
> Erick
>
> On Fri, Dec 18, 2009 at 3:42 AM, Olala <ht...@gmail.com> wrote:
>
>>
>> Thanks for your answer! But how i can test this??? Do you know any tool
>> that
>> help me do that? :confused:
>>
>>
>> Noble Paul നോബിള് नोब्ळ्-2 wrote:
>> >
>> > it is very difficult to say. It depends on the cache hit ratio. If
>> > everything is served out of cache you may go upto arounbf 1000 req/sec
>> >
>> > On Fri, Dec 18, 2009 at 1:39 PM, Olala <ht...@gmail.com> wrote:
>> >>
>> >> Hi all!
>> >>
>> >> I am developing an online dictionary application by using Solr, but I
>> >> wonder
>> >> that how many concurrent request that Solr can be process?
>> >> --
>> >> View this message in context:
>> >> http://old.nabble.com/CCU-of-Solr--tp26840318p26840318.html
>> >> Sent from the Solr - User mailing list archive at Nabble.com.
>> >>
>> >>
>> >
>> >
>> >
>> > --
>> > -----------------------------------------------------
>> > Noble Paul | Systems Architect| AOL | http://aol.com
>> >
>> >
>>
>> --
>> View this message in context:
>> http://old.nabble.com/CCU-of-Solr--tp26840318p26840598.html
>> Sent from the Solr - User mailing list archive at Nabble.com.
>>
>>
>
>
--
View this message in context: http://old.nabble.com/CCU-of-Solr--tp26840318p26852460.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: CCU of Solr?
Posted by Erick Erickson <er...@gmail.com>.
You can't test it until you have a working SOLR instance in
your specific problem space.
But assuming you have a SOLR setup, there are a plethora of
tools, just google "SOLR load testing". JMeter has been mentioned,
as well as others.
You can also write your own load tester that just spawns a bunch of
threads that query your SOLR server, should take you about a day.
Erick
On Fri, Dec 18, 2009 at 3:42 AM, Olala <ht...@gmail.com> wrote:
>
> Thanks for your answer! But how i can test this??? Do you know any tool
> that
> help me do that? :confused:
>
>
> Noble Paul നോബിള് नोब्ळ्-2 wrote:
> >
> > it is very difficult to say. It depends on the cache hit ratio. If
> > everything is served out of cache you may go upto arounbf 1000 req/sec
> >
> > On Fri, Dec 18, 2009 at 1:39 PM, Olala <ht...@gmail.com> wrote:
> >>
> >> Hi all!
> >>
> >> I am developing an online dictionary application by using Solr, but I
> >> wonder
> >> that how many concurrent request that Solr can be process?
> >> --
> >> View this message in context:
> >> http://old.nabble.com/CCU-of-Solr--tp26840318p26840318.html
> >> Sent from the Solr - User mailing list archive at Nabble.com.
> >>
> >>
> >
> >
> >
> > --
> > -----------------------------------------------------
> > Noble Paul | Systems Architect| AOL | http://aol.com
> >
> >
>
> --
> View this message in context:
> http://old.nabble.com/CCU-of-Solr--tp26840318p26840598.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>
>
Re: CCU of Solr?
Posted by Olala <ht...@gmail.com>.
Thanks for your answer! But how i can test this??? Do you know any tool that
help me do that? :confused:
Noble Paul നോബിള് नोब्ळ्-2 wrote:
>
> it is very difficult to say. It depends on the cache hit ratio. If
> everything is served out of cache you may go upto arounbf 1000 req/sec
>
> On Fri, Dec 18, 2009 at 1:39 PM, Olala <ht...@gmail.com> wrote:
>>
>> Hi all!
>>
>> I am developing an online dictionary application by using Solr, but I
>> wonder
>> that how many concurrent request that Solr can be process?
>> --
>> View this message in context:
>> http://old.nabble.com/CCU-of-Solr--tp26840318p26840318.html
>> Sent from the Solr - User mailing list archive at Nabble.com.
>>
>>
>
>
>
> --
> -----------------------------------------------------
> Noble Paul | Systems Architect| AOL | http://aol.com
>
>
--
View this message in context: http://old.nabble.com/CCU-of-Solr--tp26840318p26840598.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: CCU of Solr?
Posted by Noble Paul നോബിള് नोब्ळ् <no...@corp.aol.com>.
it is very difficult to say. It depends on the cache hit ratio. If
everything is served out of cache you may go upto arounbf 1000 req/sec
On Fri, Dec 18, 2009 at 1:39 PM, Olala <ht...@gmail.com> wrote:
>
> Hi all!
>
> I am developing an online dictionary application by using Solr, but I wonder
> that how many concurrent request that Solr can be process?
> --
> View this message in context: http://old.nabble.com/CCU-of-Solr--tp26840318p26840318.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>
>
--
-----------------------------------------------------
Noble Paul | Systems Architect| AOL | http://aol.com