Skip to content

Instantly share code, notes, and snippets.

@MatthaeusHarris
Created June 6, 2014 18:48
Show Gist options
  • Save MatthaeusHarris/680cc2ac06b4b80042a9 to your computer and use it in GitHub Desktop.
Save MatthaeusHarris/680cc2ac06b4b80042a9 to your computer and use it in GitHub Desktop.
Assuming a log file of entries like:
============================================================
user_id = SIEZYTIEROGHEC4BCXYU9A
request_id = 5c119b8a-73f5-4e98-86ce-f6755c60d256
operation = GET
request_timestamp = 1402072887926
key = path/to/my/object
response = 200
bytes = 34591
response_time = 397
EOE
Write a program that produces an hourly report on the 99th percentile on our service's response time (GET ONLY)
Modify your program to come up with the 99th percentile of our service's response time for all of the operations we have (GET, PUT, DELETE, etc)
How do we scale this to 1000s of hosts?
@MatthaeusHarris
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment