4 ms·
He mentions Clojure, Haskell, and Erlang. Did you read the whole presentation? I concur with his fun vs. efficiency graph. It strikes me as quite accurate. Als
by stcredzero 12y ago
He mentions Clojure, Haskell, and Erlang. Did you read the whole presentation?
I concur with his fun vs. efficiency graph. It strikes me as quite accurate. Also, I concur that it's a big win to not need nginx/Haproxy as a reverse proxy/SSL terminator. I suspect that a great deal of my server performance gain going from Clojure to Go resulted from this alone. Also concur that getting off the JVM has improved programmer fun by eliminating initial wait times.
- threeseed 12y agoRemind 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. Also the argument about initial wait times is bizarre considering you are talking about server side applications. Plus there is always Drip.
- stcredzero 12y agoRemind 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.