Just tried it on one of my servers, I get a ratio of 0,7% in ssl vs non-ssl
ab benchmark, without keepalive. With keepalive it gets to 1/3.

However, I noticed something else a year or so ago, never figured out the
cause.
I can't get apache to work faster than 11k req/s, no matter how many
concurrent clients I use. On the same hardware nginx goes up to 30k req/s.
(request here contains mere 14 bytes of static content, small compared to
even HTTP headers it consumes). Here's the graph:
http://blog.a2o.si/wp-content/uploads/2009/06/HelloWorld.txt.png

And the whole article (a bit dated now):
http://blog.a2o.si/2009/06/24/apache-mod_php-compared-to-nginx-php-fpm/

b.


On 30 April 2011 13:57, Tushar Chavan <tushar.cha...@hotmail.com> wrote:

>  Hi Ishita,
>
> I am also same facing problem. Can you please let me know if you find any
> solution.
>
> Best Regards,
> Tushar.
>
> > Date: Tue, 12 Apr 2011 22:09:39 -0400
> > From: ishim...@gmail.com
> > To: users@httpd.apache.org
> > CC: traw...@gmail.com
> > Subject: Re: [users@httpd] Apache is too slow with SSL
> >
> > Hi Jeff,
> >
> > SSL session cache is utilized maximum as out of 30000 requests 29850
> > requests was served as "session reuse" during my stress test
> >
> > Thanks
> >
> > On Fri, Apr 8, 2011 at 10:06 AM, Jeff Trawick <traw...@gmail.com> wrote:
> > > On Wed, Apr 6, 2011 at 11:09 PM, Ishita Kapadiya <ishim...@gmail.com>
> wrote:
> > >> Hi Jeff,
> > >>
> > >> both ab and JMETER is using keep alive.
> > >
> > > keepalive and reusing SSL sessions isn't the same thing
> > >
> > > reusing the SSL session (avoiding the expensive part of the handshake)
> > > deals with what happens when the client opens a subsequent TCP
> > > connection (after sending however many keepalive requests on a prior
> > > connection)
> > >
> > >> I am using SSL session cache
> > >> in the config as -
> > >> SSLSessionCache        "shmcb:/path to logs/ssl_scache(512000)"
> > >>
> > >>> Even if so, it is worth using mod_ssl tracing to confirm that the
> > >>> combination of client/server behavior results in a reasonably high
> > >>> session cache utilization.
> > >>
> > >> Please let me know how can i trace mod_ssl to confirm session cache
> utilization.
> > >
> > > with LogLevel debug, look for messages like
> > >
> > > Inter-Process Session Cache: request=GET status=XXX
> > >
> > > XXX will indicate whether or not the session was found in the cache
> > >
> > > ---------------------------------------------------------------------
> > > The official User-To-User support forum of the Apache HTTP Server
> Project.
> > > See <URL:http://httpd.apache.org/userslist.html> for more info.
> > > To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
> > >   "   from the digest: users-digest-unsubscr...@httpd.apache.org
> > > For additional commands, e-mail: users-h...@httpd.apache.org
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > The official User-To-User support forum of the Apache HTTP Server
> Project.
> > See <URL:http://httpd.apache.org/userslist.html> for more info.
> > To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
> > " from the digest: users-digest-unsubscr...@httpd.apache.org
> > For additional commands, e-mail: users-h...@httpd.apache.org
> >
>

Reply via email to