8 ms·
Doesn't look like this is a ping[0]! Which is good. Rather it is a socket stream connecting over tcp/443. Ping (ICMP) would be a poor metric. [0] https://githu
by nullindividual 2y ago
Doesn't look like this is a ping[0]! Which is good. Rather it is a socket stream connecting over tcp/443. Ping (ICMP) would be a poor metric.
[0] https://github.com/mda590/cloudping.co/blob/8918ee8d7e632765b43e8205123c774b285ab7f3/ping_from_region/app.py#L48 https://github.com/mda590/cloudping.co/blob/8918ee8d7e632765...
- sulandor 2y agoping is synonymous with echo-request, which is largely transport agnostic. but you're right
- dopp0 2y agowhy 443? are you assuming ssl here? serious question, I'm not sure. But if it is, wouldn't it be hard to disregard the weight of SSL in the metric?
- semiquaver 2y agoThe code closes the connection immediately after opening a plain TCP socket, so no SSL work is done. Presumably 443 is just a convenient port to use.
- nullindividual 2y agotcp/443 is likely an open port on the target service (Dynamodb based on the domain name). TLS is not involved. ICMP ECHO would be a bad choice as it is deprioritized by routers[0]. [0] https://archive.nanog.org/sites/default/files/traceroute-2014.pdf https://archive.nanog.org/sites/default/files/traceroute-201...
- quie 2y agoThe script connects to well known 'dynamodb.' + region_name + '.amazonaws.com' server that expects HTTPS