| Update:
According to ktta (https://news.ycombinator.com/item?id=15912467), there is mistake in my calculation too. "138KB * 24 * 3600 / 5" should be 2.3287GB per day.
And it's 2.3287GB * 30 per month. Update 2:
"For comparison, a 5-minute check would be considered a pretty aggressive checking interval, and would only consume 1,37 MB per month. Instead, TP-Link goes through the same amount of data in just 82 minutes." This assertion from the article has multiple errors too. ----------------------------------------------------- The whole argument of the author is built on a flawed calculation by the author and the author exaggerated the number by a factor of 10. 715MB/month in the title and the article should be 71.5MB/month according to other information provided by the author. According to the author, "TP-Link product is using about 138 KB every 5 seconds — or 23,85 MBs per day — on timekeeping." 23,85 MBs per day is not right, because 138KB * 24*3600/5 is about 2.328 MBs not 23,85 MBs. |
Whoops. Made it to the front page of HN with so many mistakes.
EDIT:
Since there seems to be interest in this let's do the test:
5 DNS requests + 1 NTP update according to the article (seems weird that it would resolve all the the NTP servers, but lets roll with it)
DNS: dig <domain> (mean for request is 43.8 B and reply is 84.6 B)
NTP: busybox_NTPD -n -q -p time.nist.gov
---------------------
Egress:
Single DNS request : 20 (IP) + 8 (UDP) + 44 (DNS) = 72 B
NTP request (2 packets): 20 (IP) + 8 (UDP) + 48 (NTP client) = 76 B
Total egress: 72x6 + 76x2 = 584 B
----------------------
Ingress:
Single DNS reply: 20 (IP) + 8 (UDP) + 85 (DNS) = 113 B
NTP reply (2 packets): 20 (IP) + 8 (UDP) + 48 (NTP server) = 76 B
Total Ingress: 113x6 + 76x2 = 830 B
----------------------
The total bandwidth used according to my calc is 1414 B. So their number of 138 KB is actually 1.38 KB (which is 1380 B, and that's closer to my number. I rounded up if you look at my numbers)
So their number of 715 MB is actually right. Just an error with 138 KB -> 1.38 KB