SSL Engine - Ideal Buffer sizes for inbound and outbound buffers ?
843811Mar 23 2007 — edited Apr 9 2007Hi
Could anyone let me know what should be the ideal sizes for the inbound and outbound buffer sizes for the following?
1. Outbound buffer - application data (before wrap)
2. Outbound buffer - net data (after wrap)
3. Inbound buffer - application data(after unwrap)
4. Inbound buffer - net data(before unwrap)
by default it allocates 16K if it is given as <code>sslEngine.getSession().getPacketBufferSize() and sslEngine.getSession().getApplicationBufferSize()</code>. This is also per client, which is huge. (so 4 buffers = 4 * 16K) if we need to cater to > 35K clients, then it will consume lot of memory..Anybody has any clue?