Skip to content

Instantly share code, notes, and snippets.

View dhartunian's full-sized avatar

David Hartunian dhartunian

View GitHub Profile
@dhartunian
dhartunian / status.swagger.json
Created June 12, 2020 19:50
Swagger JSON generated from status endpoint
{
"swagger": "2.0",
"info": {
"title": "server/serverpb/status.proto",
"version": "version not set"
},
"consumes": [
"application/json"
],
"produces": [

Keybase proof

I hereby claim:

  • I am dhartunian on github.
  • I am dhartunian (https://keybase.io/dhartunian) on keybase.
  • I have a public key whose fingerprint is 1D08 30E4 4055 8F32 40C6 6B1C A538 4D9F E6F2 C321

To claim this, I am signing this object:

@dhartunian
dhartunian / about.md
Created December 5, 2012 21:18 — forked from fogus/about.md
Programming Achievements: How to Level Up as a Developer
@dhartunian
dhartunian / latency.txt
Created June 1, 2012 14:30 — forked from jboner/latency.txt
Latency numbers every programmer should know
L1 cache reference 0.5 ns
Branch mispredict 5 ns
L2 cache reference 7 ns 14x L1 cache
Mutex lock/unlock 25 ns
Main memory reference 100 ns 20x L2 cache, 200x L1 cache
Compress 1K bytes with Zippy 3,000 ns
Send 1K bytes over 1 Gbps network 10,000 ns 0.01 ms
SSD random read 150,000 ns
Read 1 MB sequentially from memory 250,000 ns 0.25 ms
Round trip within same datacenter 500,000 ns 0.5 ms