开发者

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).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜