《京東應(yīng)用架構(gòu)設(shè)計.pdf》由會員分享,可在線閱讀,更多相關(guān)《京東應(yīng)用架構(gòu)設(shè)計.pdf(35頁珍藏版)》請在裝配圖網(wǎng)上搜索。
1、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.
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
3、 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(
4、) 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.
5、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.