Skip to content

Instantly share code, notes, and snippets.

@dhoss
Last active November 24, 2017 20:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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