Hello! I’m trying to ping some lemmy instances to understand which one is the faster, so I’m just using the ping command:

$ ping lemmy.ml
PING lemmy.ml (54.36.178.108) 56(84) bytes of data.
64 bytes from lemmy.ml (54.36.178.108): icmp_seq=1 ttl=49 time=24.4 ms

ping lemmy.world
PING lemmy.world (135.181.143.230) 56(84) bytes of data.
64 bytes from static.230.143.181.135.clients.your-server.de (135.181.143.230): icmp_seq=1 ttl=52 time=58.2 ms

but if I try with certain instances:

ping vlemmy.net
PING vlemmy.net (109.78.160.70) 56(84) bytes of data.




it just hangs there, forever. if I try to ctrl+C it, it displays

^C
--- vlemmy.net ping statistics ---
13 packets transmitted, 0 received, 100% packet loss, time 12267ms

why does this happens? I can perfectly visit vlemmy.net from my browser so I really can’t understand whay is this happening

  • @mrmanagerA
    link
    1
    edit-2
    1 year ago

    Ping just measures the response time between you and the server. The Lemmy application doesn’t even know about pings. It’s the computer network card responding to them, unless the computer is configured to simply not respond to them.

    You can test the response speed of the web server using curl, but it really doesn’t say much about performance either. It’s difficult to do good performance tests on stuff like this.

    I think the closest you can get to a good performance test is to use a virtual browser like https://www.selenium.dev/ and simulate browsing to a new post, clicking some link, and so on.