Web scale performance metrics (and other optimization) - oleksiyp/oleksiyp.github.io GitHub Wiki

Measurements

  • walltime
  • cpu_time
  • memory_used
  • bytes_out
  • db_count
  • db_bytes_in
  • db_walltime
  • cache_count
  • cache_bytes_in
  • cache_walltime

DERP-DB

Metadata

  • timestamp
  • server_name
  • datacenter
  • build_number
  • script_path
  • status_code
  • ab_tests
  • user_id
  • db_query_pattern
  • db_server_name
  • db_error_cod

Measurements

  • db_walltime
  • db_bytes_in
  • db_query_bytes
  • db_rows_examined
  • db_rows_returned

DERP-CACHE

Metadata

  • timestamp
  • server_name
  • datacenter
  • build_number
  • script_path
  • status_code
  • ab_tests
  • user_id
  • cache_operation
  • cache_key_pattern
  • cache_server_name
  • cache_hit

Measurements

  • cache_walltime
  • cache_bytes_in
  • cache_key_bytes

https://www.facebook.com/notes/facebook-engineering/the-mature-optimization-handbook/10151784131623920/