3 ms·
This is one of the first scripts that I made myself after migrating to ec2. I initially programmed it in ruby, but just recently re-wrote it in Go. I don't ca
by soccerdave 11y ago
This is one of the first scripts that I made myself after migrating to ec2. I initially programmed it in ruby, but just recently re-wrote it in Go. I don't cache the hosts and it usually takes around 0.5 - 0.7 seconds. My ruby implementation was much slower due to the libraries I was using needing to be loaded in each time it ran as opposed to the Go compiling ahead of time.