Learning how to time pulling data from multiple URLs...
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
jimi eac017f7ea Create initial README.md 9 years ago
README.md Create initial README.md 9 years ago
main.go Add more target URLs 9 years ago

README.md

getpages

An experiment in utilizing channels to obtain concurrency, while requesting data from multiple websites.

  • getPage queries the the URL and returns the body length

  • main walks through a collection of URLs and calls getPage for each

  • Time durations are collected for each URL request and the main loop