Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
26 lines (21 sloc) 578 Bytes
# Distribution, Balance, and Locality
# Introduction:
Who am I?
Talk outline
# Distribution
Simple Network Service with EventMachine
Load Test Service
Explain concept of IO vs CPU time
Collect statistics
Calculate the optimal # of workers per core
# Load Balancing
Alternatives: proxy, ketama, dns, p2p
Write a Proxy
Propagate transaction-id through system
Show Round-Robin, Random, and LeastConnections strategies
# Locality
Distributed Memory Hierarchy / Computation Hierarchy
Cache results in-process
Examples of Locality
Achieve locality with Sticky strategy