陈旭东-微服务插件容器国际化

演讲大纲:

  • 合资业务出海的机遇与挑战
  • 插件服务总体解决方案探讨
  • 插件容器技术深入
  • 业务插件全球版本化管控
  • 回顾总结
展开查看详情

1.-

2.1 2 3 4 5

3.AR C B g g h p p

4.A v F Alibaba.com Paytm 1688.com • g • g • g • g g x g x g x • z Saas g x g x g x • • %g w • g x g x g x + • & SPI • Paas + g • • Iaas

5.1 2 2.1 2.2 2.3 3 4 5

6. v g r Application J2EE Container g x /? Business-Plugin Plugin 51LTRDUFK S GVN C8DPJ g x NVJLP x /? ISDO X SM 5 SWLF a 53VPFUL P 50 PGLUL P 1 ILPLUL P r x m 3 DUVS NVJLP ISDO X SM • l ISDO X SMa KUUR GVEE /VPGN Plugin g .RRNLFDUL P l SWLF 3VPFUL P GVN x NVJLP 0 PUDLP S NVJLP JVM

7. A A c 3. Plugin Application J2EE Container Merge + Plugin-Container( ) g x Merge Alibaba + 1DUD SWLF x v x Merge paytm + NVJLP 3SDO X SM 1. 1.Carry 2. 2.Carry-Framework 3.Carry

8.A A A A B A B B A A A B C B B C C C suggest C B D C B B D C E D

9. A c o springboot Initializr |-------com.alibaba.xxx.service( ) |------view |------business Aone |------data 1. |-------templates ( ) |------pages |---defaultlayoutpage mvn plugin:run |----package.json mvn plugin:debug |---- defaultlayoutpage.vm |-----css CarryContainer |-----js mvn plugin:commit |------modules |----- |-----pom.xml mvn plugin:deploy 2. Tracer 3.

10.A C A A . t e d / n ku d . 0 / t JDNN S d / l F PGLUL P y II S g g : y

11.A C C 5 SWLF 53VPFUL P 52 U PG3 DUVS 0 PGLUL P i + + + + + i

12.A C C U TU SWLF . g . g . KUUR, U TU SWLF . -RDSDOT ? 1 EVLNG? 1 . % U TU SWLF . g . 1VEE m g . KUUR, U TU SWLF . -RDSDOT g . ? 1 EVLNG? 1

13.A C C F VPUS VTTLD t F VPUS 0: t t . USV t / IDNT t t 0 t 1 DEF t 2 %& () t 3 DEF t 4 USV t 4 USV i ,

14.+ + k = =12345 = Condition Condition Condition Condition =12345 =123 =

15.+ ( t t t t t .OD P % % % % ) ) g 0 / g. g/ g0 g1 g2 . . . . . / / / 0 0 0 1 2 1 2

16.1 2 3 3.1 3.2 3.3 4 5

17. Pa C A x d a v A a a A v C A a dC c G G W 3SDO X SM o % Plugin-Framework RNVJLP ISDO X SM i RSLPJ A0 B E BLS CCC 0 RNVJLP x c m 1 ILPLUL P 2PW TU RF a CCC Ac Ac TTDJ 1VOR CCC x CCC en g A/? x o LFEV .NL1 FM S NVJLP ISDO X SM /? 0DSS . {

18. t 3. EE 1. FVU 2. x x 2. GVN x N DG x x us LPTUDNN RNVJLP VPLPTUDNN RNVJLP x TUDSU RNVJLP ServiceA ServiceB TU R RNVJLP NVJLP 8LI 0 FN dao SWLF / DP1 ILPLUL P g Function Condition JLTU S x Function Condition 2 1 x

19. install IDaoPlugin 2 A Version:1.0.0 IPlugin 2 B A Version:1.0.0 install PluginAClassLoader Container 2 A install IPlugin Version:1.0.1 B PluginBClassLoader 2 C install Version:1.0.0 IPlugin 2 A C Version:1.0.2 PluginCClassLoader

20. C r /VPGN /VPGN b } 4L & & S TUDSU 0DSS 0 PUDLP S & f sb

21. A +- C APP1 export ServiceB APP2 import ServiceB rename to ServiceA APP1 ServiceB pluginA pluginA PluginB ServiceA pluginA APP1 APP2-Container Install plugin Bundle Install pluginA Bundle Install pluginB Bundle

22.1 2 3 4 4.1 4.2 4.3 5 4.4

23. P uC Plugin-Container Plugin-Container rpm K O DGOLP RNVJLP F PUDLP S ELP 20 PILJ Console Container-PE-Service Console Console g /home/admin/appname/appname.war maven jar g 6DS R O 5 SWLF 53VPFUL P U ORNDU Maven 2 1. 2. ContainerPEService

24.A uC /VPNG NVJLP. % artifactId:groupId:version 1.com.xxx.plugin.search:plugin-app-xxx:1.0.0 /VPGN .% % % /VPGN .& % 2 ArtifactId GroupId 1.com.alibaba.xxx.search:plugin-app-xxx :1.0.3 2.com.alibaba.xxx.search: plugin-app-xxx :1.0.2 3.com.alibaba.xxx.search: plugin-app-xxx :1.0.1 4.( )com.alibaba.xxx.search:xxx-app-xxx:1.0.0

25.P 1. Docker Container 2. A B C 3. A Docker:Container Docker:Container Docker:Container 1 1 1 2 2 3 Docker:Container Docker:Container 4. B 4 2 3

26.1 2 3 4 5

27.• • Ø +Framwork+ Ø OSGi+ Ø Ø Ø .class Ø Ø Ø Ø ( ) Ø • ü ü ü ,RPC native ü ü ü l ü

28.THANKS / --------- Q&A Section --------