<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[how many bandwidth saved for use Modbuse IP TCP keep alive?]]></title><description><![CDATA[<p dir="auto">Compare with Modbuse IP Transport type TCP,  how many bandwidth saved if use Transport type TCP, keep alive?</p>
]]></description><link>https://forum.mango-os.com/topic/3571/how-many-bandwidth-saved-for-use-modbuse-ip-tcp-keep-alive</link><generator>RSS for Node</generator><lastBuildDate>Tue, 16 Jun 2026 12:26:36 GMT</lastBuildDate><atom:link href="https://forum.mango-os.com/topic/3571.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 12 Jun 2018 06:16:07 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to how many bandwidth saved for use Modbuse IP TCP keep alive? on Tue, 12 Jun 2018 15:58:27 GMT]]></title><description><![CDATA[<p dir="auto">That will again depend on the size of the request.</p>
<p dir="auto">Blindly trusting the numbers from this stack overflow thread (as I'm not that deep in the TCP protocol typically): <a href="https://stackoverflow.com/questions/31378403/how-much-data-it-cost-to-set-up-a-tcp-connection" rel="nofollow ugc">https://stackoverflow.com/questions/31378403/how-much-data-it-cost-to-set-up-a-tcp-connection</a></p>
<p dir="auto">Without keep alive it would be opened and closed each poll, so 296bytes / poll. 24 * 3600 * 296 = 25574400 so maybe 25.5MB / day</p>
<p dir="auto">But I would still encourage you to meter it if that overhead is important.</p>
]]></description><link>https://forum.mango-os.com/post/18840</link><guid isPermaLink="true">https://forum.mango-os.com/post/18840</guid><dc:creator><![CDATA[phildunlap]]></dc:creator><pubDate>Tue, 12 Jun 2018 15:58:27 GMT</pubDate></item><item><title><![CDATA[Reply to how many bandwidth saved for use Modbuse IP TCP keep alive? on Tue, 12 Jun 2018 15:50:38 GMT]]></title><description><![CDATA[<p dir="auto">Thank you for so detail answer, phildunlap. As for polls every second, is that mean TCP keep alive will consume less bandwidth than TCP? Any figure about that? Estimated need more bandwidth of 5% or 20% like that?</p>
]]></description><link>https://forum.mango-os.com/post/18839</link><guid isPermaLink="true">https://forum.mango-os.com/post/18839</guid><dc:creator><![CDATA[timkk880]]></dc:creator><pubDate>Tue, 12 Jun 2018 15:50:38 GMT</pubDate></item><item><title><![CDATA[Reply to how many bandwidth saved for use Modbuse IP TCP keep alive? on Tue, 12 Jun 2018 14:31:33 GMT]]></title><description><![CDATA[<p dir="auto">Hi timkk880,</p>
<p dir="auto">Not really a Mango question, and offhand I wouldn't expect it to have an easy answer other than 'a little'. I would imagine it to depend upon the size and frequency of the requests. I would encourage you to test! I would expect more savings as the polls got faster and to some extent larger, and expect it to consume more bandwidth if the polls were very infrequent (looks like &gt; 2 hours by default) and TCP keep alive traffic composes most of the bandwidth usage.</p>
<ul>
<li>This stack overflow thread is relevant: <a href="https://stackoverflow.com/questions/1480236/does-a-tcp-socket-connection-have-a-keep-alive" rel="nofollow ugc">https://stackoverflow.com/questions/1480236/does-a-tcp-socket-connection-have-a-keep-alive</a></li>
<li>The use of keepAlive as a setting is in the TcpMaster: <a href="https://github.com/infiniteautomation/modbus4j/blob/master/Modbus4J/src/com/serotonin/modbus4j/ip/tcp/TcpMaster.java" rel="nofollow ugc">https://github.com/infiniteautomation/modbus4j/blob/master/Modbus4J/src/com/serotonin/modbus4j/ip/tcp/TcpMaster.java</a></li>
</ul>
]]></description><link>https://forum.mango-os.com/post/18836</link><guid isPermaLink="true">https://forum.mango-os.com/post/18836</guid><dc:creator><![CDATA[phildunlap]]></dc:creator><pubDate>Tue, 12 Jun 2018 14:31:33 GMT</pubDate></item></channel></rss>