Closed thorncorona closed 4 years ago
Initial investigation:
InetAddress.getByName(ip).getCanonicalHostName();
Java's native implementation is very slow.
Out of sites
[
'google.com',
'reddit.com',
'nytimes.com',
'reddit.com',
'facebook.com',
'python.org',
'imgur.com',
'wikipedia.org',
'youtube.com',
'stackoverflow.com',
]
about 40% simply returned back their url.
Investigating alternatives to speed up lookup, cache potentially needed.
Completed in #19