Skip to content

Instantly share code, notes, and snippets.

@dhoss
Last active November 24, 2017 20:45
Show Gist options
  • Save dhoss/7987be819bf0d1e67327c02841aa1b7b to your computer and use it in GitHub Desktop.
Save dhoss/7987be819bf0d1e67327c02841aa1b7b to your computer and use it in GitHub Desktop.
code practice
  • take a string, tokenize words, count number of unique words and have a method that can return top N distinct words: https://github.com/dhoss/gotoke
  • analyze csv log file of http requests. format will be request type,url,request status code, response size. group by url + request type, and aggregate the request size
  • create http crawler that will take number of parallel threads/requests, rate limit, and total number of requests to be executed as parameters and implement rate limiting, parallel requests and exit after maximum number of requests complete.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment