Does it necessary to enable the "keepalive" in the JTDS for the performance increase?
How much will performance increase when enabled the config of "keepalive" in JTDS? I reviewed the jtds document today and found one interesting config "soc开发者_StackOverflowkekeepalive" never noticed before. And did u test the performance effect in your local? Since the default value of is "false", I guess there maybe some overhead for using "keepalive" in real production env.
Thanks in adv!
Vance
I'd be astonished if it made the slightest difference. The Javadoc is out of sync with itself but all it appears to do is call Socket.setKeepalive(), which has nothing to do with performance (unlike HTTP keep-alive).
精彩评论