- 快召唤伙伴们来围观吧
- 微博 QQ QQ空间 贴吧
- 文档嵌入链接
- <iframe src="https://www.slidestalk.com/u9632/Exploration_and_Practice_of_Microservice_Governance?embed" frame border="0" width="640" height="360" scrolling="no" allowfullscreen="true">复制
- 微信扫一扫分享
《微服务治理的探索与实践》
概述
监控篇
管控篇
展开查看详情
1 . s ① f g
2 . ① a a m i a x ③y f= g③ 0=: ③ ③ h
3 .a Ø Ø Ø a a
4 . SOA Load Balancer Application server website website website A336 Adapter EAI/ESB server server server server Adapter A336 DB NFS/DFS Cache Application server
5 .l l l l VIP Proxy Gateway DNS + + r
6 . f g b c Filter Chain 5 Invoker … … f2VUY[TLXg =XQ MPI b c f=XV PKLXg Filter Chain … … =XQ MPI
7 . e 01 l l l l l l l l l • l l0=: e l p l 8RQM RU 2MO IU l l p l LogAgent l RK 5 Telnet命令 >16 KIQ k y
8 .a a Ø Ø Ø0=: y a
9 . d k } d } n qe l l “” l “ * ( ) y
10 . y h y x yh l h h p l h y yh h x yh h r x h x l p
11 . g e l l f ③ g A A i&%%% UITXI i& %TY i&%-+%%TY i e ) i B B i--, i--, i %TY i)%TY i))%%%TY i( %%%TY i i e ) e ) C D C D i)) & i&%TY i TY i&TY i--, i )( TY i&%TY i &%( i[WK L iYLUK iNL ③W[ iYLUKhW[ i[WK Lh i&&%%%TY i i i e&& PUYLX hYLSLJ iYLUK iDDD e ) e e MQ DB Cache DB MQ Cache
12 . e (ms) (ms) 95 99 A 1000 0 1000 123000 123 145 145 B 1000 0 1000 23400 23 22 21 C 1498 2 1500 56373 37 37 37 D 2930 70 3000 35677 12 10 9 e DAO 95 99 (ms) (ms) A select T1 1000 0 1000 123000 123 145 145 B select T1 T2 1000 0 1000 23400 23 22 21 C insert T1 1498 2 1500 56373 37 37 37 D update T1 2930 70 3000 35677 12 10 9 E delete T1 2930 70 3000 35677 12 10 9 e (ms) 95 99 (ms) get 10000 0 1000 123000 12 11 10 setnx 1000 0 1000 23400 23 22 21 setnx 1498 2 1500 56373 37 37 37 del 2930 70 3000 35677 12 10 9 aa
13 .l Ø Ø y y k e k
14 .l Ø h Ø y h Ø f bg Ø
15 .l Ø Ø h Ø
16 .l Ø ③ Ø
17 .l Ø h b0 c
18 .l Ø Ø t h “ F h G h x Ø h h h y h h 90 h y
19 .l Ø ③ Ø A B A B e 0 i & ,TYh X JL6K/D 1 i &%%TYh X JL6K/D i& , &%%/ ,TY i &%%8 ,TY/)8 TY
20 .l Ø f1/g f ③ ③bg Ø f0 GLIg ③ y Ø f8 g f ③ ③ g Ø f g fDD ③ ③bg A i&%%% i&%-+%%TY i--, i B i--, i--, i))%%%TY i( %%%TY i--, i--, C D i--, i)) & i&%TY i &%( i )( TY i[WK Lh i&&%%%TY iYLUKhW[ PUYLX hYLSLJ iYLUK i)) & i--, i i &%( MQ Cache DB
21 . u l Ø Øu Øu f g u u h r h ) h u h y x h x h
22 . f g u Ø SVN) :32 X JL63 Ø9VNY YO u c r &% Ø h 6 d h Spring Method Interceptor e h Ø Service Method Ø Message traceID u Cache Sender Ø2=A③ ③ ③ C0=③ Dao plugin Ø B: ③ ③52 Dao Method instrumentation VirtualMachine
23 . f g x 6 h h ③ h x yh x h & h x y f g SLA DB DB RDB ES Thread ………
24 .p k r>SUMQK : v
25 . f &g & API ) (
26 . 3RRKOI 1 SSIU r
27 . request response T T1 T5 T T6 T7 Action T2 T3 T1 T2 T3 T4 T8 T4 S1 S2 S3 S4 X JL6K T5 T8 S1-T1-T1’ traceID S5 S2-T2-T2’ Cache S3-T3-T3’ T6 …. S6 A B C D Total Read/m 28453 544 12821 9987 51805 T7 DB1 write/m 4421 22 0 2233 6676 Read/m 19611 500 12821 5521 38453 DB2 write/m 43643 1022 25642 13276 83582 DB
28 . f i g e e e
29 . i l f y l f i ③ h i l f