Skip to Main Content

Java Security

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

SSL Engine - Ideal Buffer sizes for inbound and outbound buffers ?

843811Mar 23 2007 — edited Apr 9 2007
Hi

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?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 7 2007
Added on Mar 23 2007
6 comments
764 views