Re:A Beginner's Guide to Scaling to 11M+ Users on Amazon's AWS
by wsh91 on Tuesday January 12, 2016 @02:23PM
(#10889681)
It would be, if it were necessary, but it's not. (Static initializers or default constructors in Java, for example.)
[ Parent
| on HN ]
Re:A Beginner's Guide to Scaling to 11M+ Users on Amazon's AWS
by falcolas on Wednesday January 13, 2016 @04:59PM
(#10897896)
Question then: How do you omit the overhead of setting up a new socket and all of the SSL handshakes? I'm not concerned about the Java overhead associated with new connections, I'm concerned with the raw connectivity/handshake overhead required with new connections to the DB.
Re:A Beginner's Guide to Scaling to 11M+ Users on Amazon's AWS
by wsh91 on Monday January 18, 2016 @02:38PM
(#10926385)
It happens once, on initialization. :) The first execution takes anywhere from 50-70 seconds, for sure, but reusing the connection afterwards means subsequent ones don't have to deal with it (100-200 ms a pop). (Does that make sense?)