3 ms·
Remind me again why you need HAProxy/Nginx ? SSL support in the JVM space is first class and there are plenty of libraries that negate any need for a separate i
by stcredzero 12y ago
Remind me again why you need HAProxy/Nginx ? SSL support in the JVM space is first class and there are plenty of libraries that negate any need for a separate infrastructure piece.
Clojure community at the time was still recommending using a reverse proxy as an SSL terminator. Are you going to say that the JVM SSL implementation is as fast as using nginx? It's also supposed to give some measure of DOS immunity.
Also the argument about initial wait times is bizarre considering you are talking about server side applications.
Yeah...Java guys were saying that back when I was working with app servers on Smalltalk VMs, which also had a tremendous advantage in startup times. (Take away the splash and herald, and VisualWorks used to start faster than Perl 5.) All of those several second wait times nickel and dime you to distraction.
Plus there is always Drip.
I did use it. About halved my wait times. The wait was still too long. Using Go is better for me.
- lmm 12y ago> Clojure community at the time was still recommending using a reverse proxy as an SSL terminator. Are you going to say that the JVM SSL implementation is as fast as using nginx? It's also supposed to give some measure of DOS immunity. The question isn't whether it's as fast as nginx so much as whether it's as fast as go.
- stcredzero 12y agoThere's performance, then there's programmer speed. I don't have to read disassembled bytecodes to be sure I'm getting 64 bit integer arithmetic. I don't have to do goofy things to write mutating code in performance critical loops. Go is faster than Clojure plus nginx running my algorithms. What's more, the Go server actually got faster after turning on TLS. I suspect it retires bad connections more efficiently.