Skip to content

Instantly share code, notes, and snippets.

View kkc's full-sized avatar
🌴
On vacation

Kakashi Liu kkc

🌴
On vacation
View GitHub Profile

via: services-engineering

Services Engineering Reading List

  • A reading list for services engineering, with a focus on cloud infrastructure services
  • Most content is on applied distributed systems and systems operations
  • Please send suggestions to @mmcgrana or open an issue

Papers

@kkc
kkc / nginx.conf
Last active August 29, 2015 14:10 — forked from morhekil/nginx.conf
http {
log_format bodylog '$remote_addr - $remote_user [$time_local] '
'"$request" $status $body_bytes_sent '
'"$http_referer" "$http_user_agent" $request_time '
'<"$request_body" >"$resp_body"';
lua_need_request_body on;
set $resp_body "";
body_filter_by_lua '
@kkc
kkc / latency.txt
Last active August 29, 2015 14:07 — forked from jboner/latency.txt
Latency Comparison Numbers
--------------------------
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
Read 4K randomly from SSD* 150,000 ns 0.15 ms
#!/bin/bash
# from here: http://www.codingsteps.com/install-redis-2-6-on-amazon-ec2-linux-ami-or-centos/
# and here: https://raw.github.com/gist/257849/9f1e627e0b7dbe68882fa2b7bdb1b2b263522004/redis-server
###############################################
# To use:
# wget https://raw.github.com/gist/2776679/04ca3bbb9f085b192f6aca945120fe12d59f15f9/install-redis.sh
# chmod 777 install-redis.sh
# ./install-redis.sh
###############################################
echo "*****************************************"
@kkc
kkc / setup.py
Created December 23, 2013 11:41 — forked from edwardgeorge/setup.py
import os
import shutil
import subprocess
import sys
import tarfile
import urllib2
LIBXML2_PREFIX = "libxml2"
LIBXSLT_PREFIX = "libxslt"
LIBXML2_FTPURL = "ftp://xmlsoft.org/libxml2/"
@kkc
kkc / graphite.md
Last active December 27, 2015 17:49 — forked from caged/graphite.md

install graphite (http://graphite.wikidot.com) on AWS ubuntu 12.04. Fix py2cairo installation problem on virtualenv environment. Please fork and fix if you find an error.

Install Cairo

sudo apt-get install libcairo2-dev

Instally py2cairo

#git clone git://git.cairographics.org/git/py2cairo