高性能网络设计
- TTCP: * classic TCP performance testing tool
- Round-trip: * measue clock error between two hosts 测试两台机器的时间差
- Netcat:a swiss Knife
- slow sink/source
- SOCKs proxy server (socks代理服务器) * Relay two TCP connections
- Sudukou solver(数独求解,请求响应) * a lot services fit in this request-response model
- Simple memchached
- Broadcasting to multiple TCP peers(应用层广播) * How to deal with slow receiver
- Parallel N-queues (并行N皇后问题求解)
- Median of numbers across machines(中位数求解)
- Frequent queries()
- Distributed sorting ()
- RPC:A basic building block for various servers
- Load balancing (负载均衡) * Better than round-robin
- Capacity of a serving system * How many machines do I need to support X QPS? * What will be the number of replicas of each component?
- Fight for (tail)latency * Mean and Percentiles:95%,99%