资源描述
2014/7/18 1 CONTENTS 618 1 1. 99.99% 99.999% 50 5 2. 3. 4. 1 3 N+1 抽象化 DID JD 2 CONTENTS 618 2 1. 2. 3. 4. 2 2 CONTENTS 618 3 3 / 1 2 3 4 5 3 3 3 2. 3. 4. 1. ID 3 2. 6. 3. 4. 1. 5. 5 3 CONTENTS 618 4 2 4 5 6 Mysql Mysql 1 3 4 4 4 CONTENTS 618 5 5 1 TPS RT SLA 2 3 4 5 TTR 6 5 N+1 1 4 5 3 D-I-D 20 Design 3 Implement 1.5 Deploy 2 CONTENTS 618 618 618 6 / 618 软负载 DNS 0 618 6 1. 2. 3. Nginx IP 1. 2. 3. 1. 1. 1. 618 6 sla tps rt 618 6 R = Rp * Rs * Ra Rp Rs Ra 3 1 Rp Rp = p0 + p( ) p0 = x0 * 10 p( ) = x1*w1 + x2*w2 + . + xn*wn x = f mem cpu tps rt 2 Rs Rs = s0 + s( ) s0 = s0 * 10 s( ) = y1*b1 + y2*b2 + . + ym*bm y = f C = Cp * Rs * Ca Cp: 618 Ca: 618 618 6 SLA tps 618 7 / 1. 2. 3. 4. 1. 2. 3. 4. 1. 2. 3. 4. 1. 2. 1. 1. 1. 2. 3. 1. 2. 3. 1. 2. 3. MQ 1. 2. 1. 2. 3. 1. N+1 2. 3. 4. 5. 1. 2. SLA 3. 4. 5. 6. 7. 1. 2. 3. 1. 2. 3. 1. 1. 1. ! Thank you! 8 A 6 6F Building A, North-Star Century Center, 8 Beichen West Street, Chaoyang District, Beijing 100101 T. 010-5895 1234 F. 010-5895 1234 E. ! Thank you! 8 A 6 6F Building A, North-Star Century Center, 8 Beichen West Street, Chaoyang District, Beijing 100101 T. 010-5895 1234 F. 010-5895 1234 E.
展开阅读全文