From faf7dbf5a7c6f35fe604148f3a2a038c2905b93b Mon Sep 17 00:00:00 2001 From: "vito.he" <hxmhlt@163.com> Date: Thu, 16 May 2019 17:41:28 +0800 Subject: [PATCH] Mod:readme --- README.md | 50 ++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 36 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 251221c69..4c8cee70f 100644 --- a/README.md +++ b/README.md @@ -6,15 +6,25 @@ Apache Dubbo Golang Implementation. Apache License, Version 2.0 +## Code design ## +Based on dubbo's layered design (protocol layer,registry layer,cluster layer,config layer and so on), + +About detail design please refer to [code layered design](https://github.com/dubbo/go-for-apache-dubbo/wiki/dubbo-go-V2.6-design) ## Feature list ## -+ 1 Transport: HTTP(鈭�) -+ 2 Codec: JsonRPC(鈭�), Hessian(X) -+ 3 Service discovery锛歋ervice Register(鈭�), Service Watch(鈭�) -+ 4 Registry: ZooKeeper(鈭�), Etcd(X), Redis(X) -+ 5 Strategy: Failover(鈭�), Failfast(鈭�) -+ 6 Load Balance: Random(鈭�), RoundRobin(鈭�) -+ 7 Role: Consumer(鈭�), Provider(鈭�) ++ Role: Consumer(鈭�), Provider(鈭�) + ++ Transport: HTTP(鈭�), TCP(鈭�) Based on [getty](https://github.com/AlexStocks/getty) + ++ Codec: JsonRPC(鈭�), Hessian(鈭�) Based on [Hession2](https://github.com/dubbogo/hessian2) + ++ Registry: ZooKeeper(鈭�) + ++ Cluster Strategy: Failover(鈭�) + ++ Load Balance: Random(鈭�) + ++ Filter: Echo(鈭�) ## Code Example @@ -23,10 +33,22 @@ The subdirectory examples shows how to use dubbo-go. Please read the examples/re ## Todo list -- [ ] Tcp Transport and Hessian2 protocol -- [ ] Network - - [ ] Fuse - - [ ] Rate Limit - - [ ] Trace - - [ ] Metrics - - [ ] Load Balance +Implement more extention: + + * cluster strategy : Failfast/Failsafe/Failback/Forking/Broadcast + + * load balance strategy: RoundRobin/LeastActive/ConsistentHash + + * standard filter in dubbo: TokenFilter/AccessLogFilter/CountFilter/ActiveLimitFilter/ExecuteLimitFilter/GenericFilter/TpsLimitFilter + + * registry impl: consul/etcd/k8s + +Compatible with dubbo v2.7.x and not finished function in dubbo v2.6.x: + + * routing rule (dubbo v2.6.x) + + * monitoring (dubbo v2.6.x) + + * metrics (dubbo v2.6.x) + + * dynamic configuration (dubbo v2.7.x) -- GitLab