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.

9 lines
324 B

  1. ## getpages
  2. An experiment in utilizing channels to obtain concurrency, while requesting data from multiple websites.
  3. - *getPage* queries the the URL and returns the body length
  4. - *main* walks through a collection of URLs and calls `getPage` for each
  5. - Time durations are collected for each URL request and the main loop