3 ms·
Absolutely. The overhead of re-establishing a secure DB connection for every request is hardly trivial.
by falcolas 11y ago
Absolutely. The overhead of re-establishing a secure DB connection for every request is hardly trivial.
- wsh91 11y agoIt would be, if it were necessary, but it's not. (Static initializers or default constructors in Java, for example.)
- falcolas 11y agoQuestion 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.