Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: