滴滴异构场景下微服务治理实践-孙巍

滴滴异构场景下微服务治理实践

  • 滴滴业务介绍
  • 服务治理现状和挑战
  • 对策和实践
  • 服务治理生态体系
  • 运营推广
展开查看详情

1.

2.ab 6 c @ c 2 1 02 , .,

3.• • • • •

4. 5 .1 8 T 8 0 + 2 3 5 B

5. 04 89 /. /. U b ar5 9 Q 367 g 12 e 5 9 W5 9 5 9 5 9 587 Mbi e s ⓵ v g b U e t e Mb b U • , WG o • + p n Mb ⓶l 587 • b pb F ⓷ QWG 587 587 587 587 587 n p U • + WG • QWG • g G ⓸367 • pb F • + 367 • pb F + e E xD D i

6.• • - - -

7.• b t nD x C C C E S // C/ • c aT H D JI C C o • uV g iD f • PHvt pD h tB MeL r O rh Y A 5 G I I I 1 557 7 0+ I A

8.

9. 2 3 • 2 c i • . 2 2 e 2 4 2 1 2 2 2

10.“ ” • • •

11.D L D S D TI K

12. k - e l / - E m / R - i -p i -a k - t u c - Sn p pr o p -

13.• S E l • A C / C e • to D • K s • C a gT • t n • • Z to • T u

14. - • ey - • c- b 0 1 - • • a % d - i • - v n • s - t d

15. 10 - 0 AB 0 0 10 10

16.• A • - 1 0 B @

17. RPC tL tL d , l , s >C L < P R per Dca I m Li o >Co x nh T

18. 1 // foo request RPC 2 struct FooReq { 3 1: required i32 driver_id 4 2: required string passenger_id 5 } 6 7 // foo service • i A no IL o 8 service FooService { • o f 9 FooResp foo(1: FooReq req) ( • 10 timeoutMsec="200" 11 httpMethod="post" 12 path=“/foo/bar" 13 /* codec */ • S d 14 contentType="form" 15 ); h 16 } ( • p 17 version="1.0.1" • r t 18 servName="disf!biz-gs-foo" • t h S g 19 20 /* protocol: only http and thrift */ 21 servType="http" c D e 22 23 /* healthy check */ 24 minHealthyRatio="0.67" 25 healthyThreshold="5" 26 maxCooldownTime="60" 27 )

19.+ “ ” A D I < C > L P D P K R R A R A D S R A

20.

21. Trace • P I < , • E CR TraceId TraceId TraceId > A B C TraceId TraceId TraceId Log Log Log P I

22. C R C C C A B C H P R // // C

23. > s e i T v h c F v s F r m

24.