You can test the latency of your internet connection by using Speedtest.net, the most popular online speed test (fun fact: Speedtest was even featured in one of the Iron Man films). Any ping below 20ms is considered to be great, while anything over 150ms could result in noticeable lag.