I am working on an ssl server using boost :: asio. I try to reduce memory usage by one ssl connection as much as possible.
My code is mainly derived from
boost :: asio :: ssl example server example. This means that I store the sessions as an object of the Session class that has the sslContext attribute registered by read_handler, etc. (To a large extent, as in the example)
All the optimization I could find includes SSL_MODE_RELEASE_BUFFERSand SSL_OP_NO_COMPRESSION. And now I am about 55 kB per connection.
However, according to this topic , you can reduce memory usage by up to 11 KB.
Is there anything else I can do to reduce this usage?
OS: Ubuntu 11.04 and accelerated version: 1_55
source
share