Skip to content

Survey many public web-sites in parallel for their software version

License

Notifications You must be signed in to change notification settings

richscott/servers-survey

Repository files navigation

Servers Survey

A small Go program to perform parallel queries on a number of web-sites and grab the (advertised) server software version they may be running. This was inspired by the long-running Netcraft "What's that site running?" monthly surveys. The list of sites is based on the largest public companies in the U.S., based on Fortune 1000 rankings.

This was written as a first exercise in Go programming, to learn Go language basics, running goroutines, using channels, and standard libraries for using HTTP and parsing textfiles.

An earlier implementation written in Ruby is also included, for language comparison purposes.

Building and Running

$ go build servers-survey.go

$ ./servers-survey

The list of web-site domains is read from fortune1000_companies.tab.

The surveying is done by a pool of concurrent goroutines - currently set to size 30 - change workerPoolSize up or down as appropriate for your network connectivity.

About

Survey many public web-sites in parallel for their software version

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published