topfreegames / pitaya

Scalable game server framework with clustering support and client libraries for iOS, Android, Unity and others through the C SDK.
MIT License
2.38k stars 480 forks source link

Remove grpc rpc #414

Open felipejfc opened 3 months ago

felipejfc commented 3 months ago

Remove GRPC RPC model as we will focus on NATS support only. It has proven rock stable and easier to manage in productive loads. It also enabled servers on different clouds/clusters to talk to each other given that all of them can talk to the NATS cluster for dispatching messages.

For the ones who liked GRPC more, both RPC server and Client in pitaya have interfaces and a method for you to replace the default one with your own implementation. So you can basically copy the grpc files to inside your project and use it.

coveralls commented 3 months ago

Pull Request Test Coverage Report for Build 10187728597

Details


Changes Missing Coverage Covered Lines Changed/Added Lines %
pkg/docgenerator/descriptors.go 7 9 77.78%
pkg/client/protoclient.go 0 26 0.0%
<!-- Total: 7 35 20.0% -->
Files with Coverage Reduction New Missed Lines %
pkg/app.go 3 66.15%
<!-- Total: 3 -->
Totals Coverage Status
Change from base Build 10150830854: -0.6%
Covered Lines: 4673
Relevant Lines: 7976

💛 - Coveralls