On Wed, Feb 29, 2012 at 00:21, Kelly Fox <atinyfis...@gmail.com> wrote: > After speaking a bit with Isaac on IRC, he convinced me to post here. :) > > I compared node's SSL handshaking performance to Apache 2.2 on the same > hardware and node's performance seemed lower than I'd expected. Node was > getting about 600-650 handshakes per second while Apache 2.2 was getting > about 2000. I ran each test for 30 seconds to see if performance was > sustained. After digging into the packet captures a bit, it looks like node > does not reuse Session IDs when the client offers a previously-negotiated > ID. Other SSL-capable web servers, e.g. Apache and lighttpd, do. > > Adding the option to reuse session IDs would theoretically make node's > performance jump appreciably higher.
Indeed. The preliminaries for session resumption are in place but I never got around to finishing it up and promoting it to first-class status. Can you open an issue for it? I would like to steal your benchmark. Is it possible for you to submit it as a pull request?