罗毅 - 《Dubbo开源现状与未来规划》

次清怡

2018/05/13 发布于 技术 分类

Dubbo是阿里巴巴自研的分布式服务框架,自2012年开源以来,深得开发人员的喜爱,并被广泛的被友商用于服务化解决方案中。自去年阿里巴巴中间件团队宣布重新维护依赖,在社区引起极大的反响,目前在github上的star数增加至15000。本次分享,为大家带来我们近期在Dubbo上所完成的一些工作,对Dubbo 3.0的规划,以及对积极推动开源的一些思考。

文字内容
1. $SDFKH 'XEER LQFXEDWLQJ ୏რሿᇫӨ๚๶ᥢ‫ښ‬ ᄍᦖᘏ҈ᗔྫྷ
2. य़ᕐ 2 1 च๜ܻቘ 2 ୏რᖭኧ 3 ୏რሿᇫ 4 ‫ݸ‬ᖅᥢ‫ښ‬ 5 $SDFKH ਔ۸ 6 ᘶᔮ౯ժ dubbo.apache.org Copyright © 2018 The Apache Software Foundation
3. ૡ֢ܻቘ 3 'XEER ฎṛපጱ๐‫ۓ‬໛ຝ 1 ੕‫ڊ‬๐‫ۓ‬ 2 ဳٙ๐‫ۓ‬ ๐‫ۓ‬൉‫׀‬ො᭗ᬦ೰ਧᒒ‫ݗ‬੒क़ ൉‫׀‬ො‫ဳݻ‬ٙӾஞဳٙᛔ૩ጱ ูᶂ๐‫ۓ‬ ‫௳מ‬ 3 ᦈᴅ๐‫ۓ‬ 4 ‫ݎ‬ሿ๐‫ۓ‬ ๐‫᧣ۓ‬አො᭗ᬦဳٙӾஞᦈᴅ ဳٙӾஞ‫᧣ݻ‬አොവᭆࣈ࣎‫ڜ‬ ᛔ૩ఽ‫ي‬᪁ጱ๐‫ۓ‬ ᤒ 5 ᧣አ๐‫ۓ‬ 6 ፊഴ ᧣አොᭌೠӞӻࣈ࣎‫ݎ‬᩸ 53& ๐‫ۓ‬൉‫׀‬ො޾᧣አොጱᕹᦇහ ᧣አ ഝኧፊഴཛྷࣘතᵞ઀ᐏ Registry 3. subscribe 4. notify Consumer 5. invoke 6. count Monitor 2. register Provider Container 1. start dubbo.apache.org Copyright © 2018 The Apache Software Foundation
4. 4 v dubbo.apache.org Copyright © 2018 The Apache Software Foundation
5. ୏რᖭኧ 5 'XEER ᯿‫୏ސ‬რጱܻࢩ ౴ኼ ԯ໇य़տ‫୏ل‬ਯ૲೜಼୏ რጱ‫઀ݎ‬ᒽኼ̶୏რᶱፓ ҅ᕟᕢഭ‫҅ ڹݷ‬ ௛ VWDU හ . ᐒ‫܄‬ ᐒ‫ݍ܄‬ḇጱᳯ᷌஑ӧ‫݊ک‬ ෸ᥴ٬҅ᘰ‫ލ‬ᐒ‫܄‬ᚆड़ᄶ ‫ݎ‬౯ժጱᅎఽ ኞா ᔺឍጱኞாฦణಅํጱ Ո๋҅य़ጱ‫ݑ‬ፅොฎ౯ժ ᛔ૩ ࢧḇ ‫ݶ‬Ӟࢫᴚ҅ᴨ᯾ࣁ๐‫ۓ‬လ ቘ̵य़ၞᰁ̵᩻य़ᥢཛྷᵞ ᗭොᶎጱᕪḵ dubbo.apache.org Copyright © 2018 The Apache Software Foundation
6. ୏რሿᇫ 6 ᛔ᯿ෛᖌಷզ๶ JLWKXE හഝด៪ीᳩ 6WDU හीᳩ 77% ᛔ  ଙ  ์ ᯿‫' ސ‬XEER ୏რ҅‫ک‬ፓ‫ ڹ‬6WDU හी ᳩ ҅)RUN හीᳩ ҅:DWFK හी‫ ے‬ ࣁ *LWKXE -DYD ᔄᶱፓ VWDU හഭ‫ྯ֖҅  ݷ‬ॠ  89̶'UXLG҅ )DVW-VRQ҅ 'XEER 5RFNHW0T ឍ឴୏რӾࢵ  ๋̿‫ཻݑ‬ᬨӾࢵ୏რ᫫կ 723̀ 9000 8000 7000 6000 5000 ፓ‫' ڹ‬XEER ૪ᕪྋୗᬰ‫ ف‬$SDFKH ਔ۸ 4000 3000 2000 18K 12K 3K 1000 0 STAR FORK WATCH Github  2017.05 06 07 08 09 10 11 122018.01 02 Star Fork Watch dubbo.apache.org Copyright © 2018 The Apache Software Foundation
7. ୏რሿᇫ 7 'XEER ࢵٖአಁӞᥦ  https://github.com/apache/incubator-dubbo/issues/1012   'XEER አಁԆᥝ‫ړ‬ԅ  ᔄғ԰ᘶᗑմӱ̵‫ݻ‬԰ᘶᗑຝ຅᫨ࣳጱմӱ̵አ԰ᘶᗑຝ຅؉ᥴ٬ොໜጱմӱ̶୮୮̵݄ߺ‫̵د‬ஙମ̵ ᴨ᯾૬૬֢ԅ 'XEER ᬰ $SDFKH ਔ۸ጱ‫ڡ‬ত౮ާ̶Քଙࣁ۹ӤଠႮ̵๺૞Ԉ‫ེپې‬ૡᑕ૵‫ݻ‬ጱ 'XEER 0HHWXS dubbo.apache.org Copyright © 2018 The Apache Software Foundation
8. ୏რሿᇫ 8 ӧ‫ֵܔܔ‬አ҅ᘒᥝ݇Ө ‫ق‬ᶎ‫܋‬ᕆӣොପғ6SULQJ̵ =.̵+HVVLDQ̵-HGLV̵ -FDFKH̵9DOLGDWRU ᒵ ӣොପ‫܋‬ᕆ ս‫ض‬ඪ೮ᐒ‫्๋޷܄‬ṛጱᦫ ࿢ғ 5(67 ඪ೮̵6SULQJ %RRW ඪ೮̵+HVVLDQ -DYD ඪ೮ ‫ލ؁‬አಁ्ᶪ ᯿ୌ෈໩޾Ԇᶭ GXEERLR ள᭛୏ত̵Ծߝ෈໩̵ դᎱ̵ᐒ‫܄‬ᒵٖ਻̶෈໩զ JLWERRN ୵ୗ‫૲ݎ‬ ‫ݎ‬ᇇᜓॵ Ꮯᒈԧᇙ௔ᇇ๜ [ ޾ᖌಷ ᇇ๜ [ ଚᤈጱᒽኼ҅Ꮯ‫כ‬ ྯ์Ӟӻᇇ๜ጱᜓॵ̶૪‫૲ݎ‬ ԧ  ӻᖌಷᇇ޾  ӻᇙ௔ᇇ๜ dubbo.apache.org Copyright © 2018 The Apache Software Foundation ᬰ‫ ف‬$SDFKH ಑ၾ੒ 'XEER ୏რ๚๶ጱᶶ ᡤ҅ਖ਼ᶱፓ᪗ഓሠᕳ $SDFKH चᰂտ̶$SDFKH ୩᧣ᐒ‫޾܄‬ ग़໏௔
9. ‫ݸ‬ᖅᥢ‫ښ‬ 9 ದ๞᩽̵۠ᛔ᫝ਧ֖ 01 02 ଫአ՗‫֛ܔ‬᫨‫ݻ‬ங๐‫ۓ‬ຝ຅ ᫷ᰁ۸̵ग़᧍᥺ඪ೮̵5(67 ඪ೮̵6SULQJ %RRW ጱᵞ౮ ᫫կ‫ݻ‬ԯӤᬢᑏ౮ԅ᩽۠ 6SULQJ &ORXG̵6HUYLFH 0HVK 03 ๐‫ۓ‬۸လቘෆ֛ොໜ ୌᒈኞா 04 ṛ௔ᚆฎᒈ޸ԏ๜ य़ᥢཛྷᵞᗭय़ၞᰁ࣋วଃ๶ጱ ೴౴̵୑ྍ۸ᖫᑕཛྷ̵ࣳୌᒈ EHQFKPDUN ๢‫ګ‬ dubbo.apache.org Copyright © 2018 The Apache Software Foundation
10. ‫ݸ‬ᖅᥢ‫ښ‬ 10 'XEER ໐ஞ ཛྷࣘ۸ ᥴ٬᭗‫੶מ‬Ө๐‫ۓ‬လቘ੶ᘠ‫ݳ‬Ӹ᯿ጱᳯ̶᷌ԅ 'XEER 0HVK ؉‫॓ٵ‬ ‫ز‬හഝ ๐‫ۓ‬လቘහഝ޾๐‫ဳۓ‬ٙහഝ‫ړ‬ᐶ҅ᥴ٬‫ز‬හഝ ٞᳩጱᳯ̶᷌ԅ੒ളဳٙӾஞ̵ᯈᗝӾஞ؉‫॓ٵ‬ ᪠ኧᒽኼ ୚‫ࣁف‬ᴨ᯾ٖ᮱ਫ᪢ଠာጱ᪠ኧᒽኼғग़๢಄̵ ᅍଶ̵݇හ᪠ኧᒵฬᚆ۸ᒽኼ य़ၞᰁ ᭗ᬦᆤෙ̵ᵍᐶ̵ᴴၞᒵಋྦྷ๶൉‫܋‬ᵞᗭෆ֛ᑞ ਧ௔҅ਧ֖ඳᵑᜓᅩ य़ᥢཛྷ ᩻य़ᥢཛྷᵞᗭ੒๐‫ဳۓ‬ٙ‫ݎ‬ሿ̵ٖਂ‫ܛ‬አ̵ᭌ࣎ &38 ၾᘙଃ๶ጱ೴౴ ୑ྍ۸ &RPSOHWDEOH)XWXUH ඪ೮҅᪜ᬰᑕጱ 5HDFWLYH ඪ೮҅൉‫૲ړ܋‬ୗᔮᕹෆ֛ጱ‫ݺރ‬ሲ޾ &38 ‫ڥ‬ አሲ dubbo.apache.org Copyright © 2018 The Apache Software Foundation
11. ‫ݸ‬ᖅᥢ‫ښ‬ 11 'XEER ኞா Ń ಘ઀ $3, UHJLVWU\ FOXVWHU SURWRFRO VHULDOL]H 6SULQJ ;0/ $QQRWDWLRQ -DYD &RQILJ 6SULQJ %RRW 6SULQJ &ORXG 5HDFWLYH )OXHQW $3, =. ଠඎ HXUHND HWFG &6 KD]HOFDVW $SROOR 'LDPRQG $UFKDLXV )DLOVDIH )DLORYHU )DLOIDVW +\VWUL[ 5DQGRP 5DQGRP 5RELQ /HDVW $FWLYH :HLJKW /DWHQF\ Ӟᛘ +DVK ᚕ๜ ๵կ ᅍଶ ‫ݶ‬๢಄ ݇හ ฬᚆ +HVVLDQ 5HGLV +773 -VRQ53& 5(67 $YUR 7KULIW J53& -06 -621 )67 -DYD NU\R +HVVLDQ 3URWREXI QHWW\ +773 QHWW\ 48,& ;,2 +773 dubbo.apache.org Copyright © 2018 The Apache Software Foundation 'XEER 7KULIW 'XEER 5[ FRQILJ /% URXWHU WUDQVSRUWHU FRGHF
12. ‫ݸ‬ᖅᥢ‫ښ‬ 12 'XEER ኞா Ń ԰᭗ PHP CLIENT JAVA CLIENT HTTP CLIENT NODE CLIENT PY CLIENT SERVICE DISCOVERY DUBBO SERVICE GATEWAY/ SIDECAR DUBBO SERVICE DUBBO SERVICE CONFIG SERVICE MOCK SERVER TEST SERVER SWAGGER SERVER DUBBO ADMIN dubbo.apache.org Copyright © 2018 The Apache Software Foundation METRICS/ TRACE AUTH SERVICE
13. ‫ݸ‬ᖅᥢ‫ښ‬ ԯܻኞ  'XEER 0HVK ๐‫ۓ‬လቘᚆ‫ێ‬ӥဃ ๚๶ጱ᩽۠ฎ๐‫ۓ‬လቘᚆ‫ێ‬ӥᑏ౮ԅ ଘ‫ݣ‬ጱचᏐᚆ‫҅ێ‬ଫአ෫ᵱӨᇙਧ᧍ ᥺ጱದ๞຾ᕬਧ̶'XEER 0HVK ౮ԅ හഝᶎ຃ ग़᧍᥺ඪ೮ ᖫᑕ᧍᥺ጱग़໏௔ฎԯӤ࣋วጱ୩ᦫ ࿢̶᭗ᬦਖ਼๐‫ۓ‬လቘᚆ‫ ێ‬VLGHFDU ۸҅ඪ೮ग़ᐿ᧍᥺ጱ 53& ౮ԅ‫ݢ‬ ᚆ҅ᬯԞฎ 6SULQJ &ORXG ොໜ๋य़ ጱᎨ຃ 13 DUBBO RPC REGISTER CONFIG CLUSTER LOAD BALANCE ROUTER PROTOCOL DUBBO MESH REGISTER CONFIG CLUSTER LOAD BALANCE ROUTER PROTOCOL DUBBO MESH DUBBO RPC SERVICE DISCOVERY CONFIG SERVICE TRACE SERVER dubbo.apache.org Copyright © 2018 The Apache Software Foundation
14. $SDFKH ਔ۸ 14 &RPPXQLW\ 2YHU &RGH ‫॓ٵ‬ᴤྦྷ ܲ෸  ӻ์҅ ӻ FKDPSLRQ҅ ӻ PHQWRU҅൉ ໜܲ෸  ޮ҅ᦎᦞᴤྦྷ  ੜ෸҅ಭᐥᴤྦྷ  ੜ෸҅  Ո‫఺ݶ‬ԏ‫ݸ‬ᬰ‫ف‬ਔ۸ᴤྦྷ ਔ۸ᴤྦྷ Mentor Proposal IP Clearance First Release SGA Committer ܲ෸  ӻ์զӤ̶Ԇᥝ‫ړ‬ԅ᫫կദ๦᫨ᑏ޾᫨ᑏ‫ݸ‬ ᐒ‫܄‬ୌᦡӷ᮱‫ݢ҅ړ‬զ‫ྍݶ‬ᬰᤈ̶ᵱᥝ୩᧣ጱฎ DSDFKH ጱቘஷฎ FRPPXQLW\ RYHU FRGH ླӱᴤྦྷ Discuss Vote ICLA PMC TLP Meet Up ᭗ᬦ౮ᆧଶᦧ֌ԏ‫҅ݸ‬ᕪᬦಭᐥ‫ݢ‬զླӱ Maturity Evaluation dubbo.apache.org Copyright © 2018 The Apache Software Foundation
15. ᘶᔮ౯ժ DUBBO.IO dubbo.apache.org Copyright © 2018 The Apache Software Foundation 15 +RPH dubbo.apache.org dubbo.io *LW+XE github.com/apache/incubator-dubbo github.com/dubbo 0DLOLQJ/LVW dev@dubbo.apache.org ,0 gitter.im/alibaba/dubbo