xiaonanln / goworld

Scalable Distributed Game Server Engine with Hot Swapping in Golang
Apache License 2.0
2.53k stars 450 forks source link

implement distributed services #86

Closed xiaonanln closed 4 years ago

xiaonanln commented 4 years ago

Developers can use RegisterService to register services and service instances (entities) will be created automatically by GoWorld for handling service requests. However, GoWorld only support 1 instance for each service type, making the service instance a single point of failure.

This PR is to implement distributed services for GoWorld.

codecov[bot] commented 4 years ago

Codecov Report

Merging #86 into master will decrease coverage by 0.00%. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #86      +/-   ##
==========================================
- Coverage   34.68%   34.68%   -0.01%     
==========================================
  Files          52       52              
  Lines        3947     3953       +6     
==========================================
+ Hits         1369     1371       +2     
- Misses       2393     2398       +5     
+ Partials      185      184       -1     
Impacted Files Coverage Δ
engine/kvdis/kvdis.go 0.00% <0.00%> (ø)
engine/config/read_config.go 63.61% <0.00%> (+0.53%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 7ffd485...1bde3a6. Read the comment docs.