Merge branch 'master' of https://github.com/apache/dubbo-go
tree: 2c32a70706f6e87ac7addb7032c39b2c71a62605
  1. .github/
  2. cluster/
  3. common/
  4. config/
  5. config_center/
  6. examples/
  7. filter/
  8. protocol/
  9. registry/
  10. remoting/
  11. .gitignore
  12. .travis.yml
  13. before_ut.bat
  14. before_ut.sh
  15. CHANGE.md
  16. contributing.md
  17. dubbogo.png
  18. go.mod
  19. go.sum
  20. LICENSE
  21. NOTICE
  22. README.md
  23. README_CN.md
README.md

Apache Dubbo-go 中文

Build Status codecov


Apache Dubbo Go Implementation.

License

Apache License, Version 2.0

Release note

v1.0.0 - May 29, 2019 compatible with dubbo v2.6.5

Project Architecture

Both extension module and layered project architecture is according to Apache Dubbo (including protocol layer, registry layer, cluster layer, config layer and so on), the advantage of this arch is as following: you can implement these layered interfaces in your own way, override the default implementation of dubbo-go by calling ‘extension.SetXXX’ of extension, complete your special needs without modifying the source code. At the same time, you are welcome to contribute implementation of useful extension to the community.

frame design

If you wanna know more about dubbo-go, please visit this reference Project Architeture design

Feature list

Finished List:

Working List:

  • Load Balance: ConsistentHash
  • Filter: AccessLogFilter/CountFilter/ExecuteLimitFilter/TpsLimitFilter
  • Registry: k8s
  • Configure Center: apollo
  • Metadata Center (dubbo v2.7.x)
  • Metrics: Promethus(dubbo v2.7.x)

Todo List:

  • Registry: kubernetes
  • Routing: istio
  • tracing (dubbo ecosystem)

You can know more about dubbo-go by its roadmap.

Document

TODO

Quick Start

The subdirectory examples shows how to use dubbo-go. Please read the examples/README.md carefully to learn how to dispose the configuration and compile the program.

Running unit tests

Prepare

Mac/Linux

sh ./before_ut.sh

Windows

before_ut.bat

Run

go test ./...

# coverage
go test ./... -coverprofile=coverage.txt -covermode=atomic

Contributing

If you are willing to do some code contributions and document contributions to Apache/dubbo-go, please visit contribution intro.

Benchmark

Benchmark project dubbo-go-benchmark.

About dubbo-go benchmarking report, please refer to dubbo benchmarking report & jsonrpc benchmarking report

User List

If you are using apache/dubbo-go and think that it helps you or want do some contributions to it, please add your company to to the user list to let us know your needs.

ctrip

Stargazers

Stargazers over time