Title: RE: [Juglist] java.nio can't be used to implement high-performance SSL server?

Hi Chris,

        I have been on this same trail recently. I have two pointers for you:

1) It looks like Sun will indeed solve this oversight on 1.5 (they seem to be taking a lot of heat for this problem);
2) You can "wrap" an SSL socket in two PipeChannels. Yes each one will still consume two threads, but they are now Selectable, and you can take advantage of that in your design and have an easier migration path in the next JDK release.

        Best regards,
                Nascif 

> -----Original Message-----
> From: Christopher L Merrill [mailto:[EMAIL PROTECTED]]
> Sent: Monday, November 10, 2003 3:26 PM
> To: [EMAIL PROTECTED]
> Subject: [Juglist] java.nio can't be used to implement
> high-performance SSL server?
>
>
> We are currently re-writing our I/O libaries to take
> advantage of the new java.nio capabilities because we can
> easily max out the number of threads that a JVM can handle
> (especially on windows) long before we run out of CPU power. 
> So today I started to look at migrating our SSL-related code.
>  I didn't find any way to get SSL to work with selectable
> (asynchronous) channels.
>
> This JDC bug indicates the state of the problem:
> http://developer.java.sun.com/developer/bugParade/bugs/4495742
.html

Apparently, Sun didn't think that high-performance apps would need SSL :(

It looks like we have 3 options:
1. Abandon our upgrade (not really an option)
2. Wait for 1.5 and HOPE Sun fixes the problem
3. Look for a 3rd-party SSL implementation that addresses the issue. 4. Write our own SSL implementation (most likely not an option)

Has anyone heard news of 1.5?  Any pre-release availablility dates? The J2SE page doesnt say much.

Anyone know of any ISVs that might have an independent SSL implementation?

TIA,
Chris

--
-------------------------------------------------------------------------
Chris Merrill                      |  http://webperformanceinc.com
Web Performance Inc.               |  http://webperformancemonitoring.net

Website Load Testing, Stress Testing, and Performance Monitoring Software
-------------------------------------------------------------------------


_______________________________________________
Juglist mailing list
[EMAIL PROTECTED] http://trijug.org/mailman/listinfo/juglist_trijug.org

_______________________________________________
Juglist mailing list
[EMAIL PROTECTED]
http://trijug.org/mailman/listinfo/juglist_trijug.org

Reply via email to