server-list-explorer icon indicating copy to clipboard operation
server-list-explorer copied to clipboard

Optimize server list sorting by ping

Open SpoilerRules opened this issue 2 months ago • 0 comments

When sorting the server list by ping, Server List Explorer currently uses a full query implementation (e.g., MCServerPing, and in the future MCUtils). These libraries send and receive special packets, adding unnecessary latency when only ping times are needed.

To improve performance, the ping sort should use a lightweight TCP connection test (e.g., via java.net.Socket) instead of a full query. This reduces overhead and provides faster ping-based sorting.

SpoilerRules avatar Oct 12 '25 00:10 SpoilerRules