SSL session cache

Increasing the ssl_session cache from 10 to 30mins, would cause less
cpu? (getting around 200 ssl hits/per min)

ssl_session_cache shared:SSL:10m;
ssl_session_timeout 10m;

to:
ssl_session_cache shared:SSL:30m;
ssl_session_timeout 10m;

Hello!

On Fri, Jun 17, 2011 at 10:48:07AM +1200, Ryan B wrote:

Increasing the ssl_session cache from 10 to 30mins, would cause less
cpu? (getting around 200 ssl hits/per min)

ssl_session_cache shared:SSL:10m;
ssl_session_timeout 10m;

to:
ssl_session_cache shared:SSL:30m;
ssl_session_timeout 10m;

“30m” isn’t “30mins” here, but 30 megabytes for session storage
instead. In 10m about 40000 sessions may be stored, and this is
much more than you have hits per hour. So this particular change
isn’t going to cause any visible effect.

Maxim D.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs