Re: [Libevent-users] OpenSSL-based bufferevents

2012-03-07 Thread Diwaker Gupta
> I haven't measured the performance difference, but I suspect it's > real.  The filtering case involves another layer of buffering, > copying, and callbacks, and those typically matter.  Then again, it > could be that crypto dominates the performance.  In either case, > there's less machinery to g

Re: [Libevent-users] OpenSSL-based bufferevents

2012-03-07 Thread Nick Mathewson
On Tue, Mar 6, 2012 at 2:20 PM, Diwaker Gupta wrote: > I'm trying to figure out the best practice when it comes to OpenSSL > based bufferevents. For reference, I'm looking at the source code as > well as > http://www.wangafu.net/~nickm/libevent-book/Ref6a_advanced_bufferevents.html > > As backgro

[Libevent-users] OpenSSL-based bufferevents

2012-03-06 Thread Diwaker Gupta
I'm trying to figure out the best practice when it comes to OpenSSL based bufferevents. For reference, I'm looking at the source code as well as http://www.wangafu.net/~nickm/libevent-book/Ref6a_advanced_bufferevents.html As background, I have a fairly stable transport layer implemented using reg