Comments (4)
Go的net.Conn是并发安全的,看官方文档。你保证你发送的数据一次调用发送就行。
from rpcx.
非常感谢作者及时耐心解答,祝您万事顺心!
from rpcx.
游戏业务中有类似请求保序的场景,需要针对请求中同一个 player_id 的数据做顺序串行处理,相当于一个玩家一个队列,对于这样的场景大佬有什么建议吗,当前框架的 WorkerPool 好像不太好做这样的扩展(没法指定 key)。 @smallnest
from rpcx.
@chaoedu 我加了一个支持传递 req message 的 WorkerPool, 你可以参考一下
from rpcx.
Related Issues (20)
- gogo/protobuf已经声明Deprecated了,是否可以考虑其它替代实现? HOT 2
- server状态变更client无法感知 HOT 1
- rpcx 使用默认设置 , 当我的 reply 里面包含一个 []int 切片的时候, 获取reply 始终为空值 HOT 2
- typo: Zookepper
- service 返回error 后 client Call 捕获不到error HOT 2
- 返回没有值的异常 HOT 6
- RPC Service主动抛非strErr错误
- Server error overwritten ref #825
- 文档里面的demo跑不通
- 请问作者,如果在其它协程理出现错误,如何让serveConn循环结束,进而让server从activeConn删除此Conn HOT 2
- 官方文檔中的「异步调用 Service 」範例會阻塞 HOT 1
- 增加流控和增强对xds的支持 HOT 7
- C或C++怎么实现与rpcx客户端或服务端交互? HOT 1
- 是否考虑在路由时,用显示声明的handler取代反射 HOT 1
- 请求出现 ERROR: rpcx: client protocol error: unexpected EOF HOT 6
- question: how to use github.com/go-playground/validator to validate the request HOT 1
- 官网无法访问了
- github.com/golang/protobuf 已经弃用(rpcx/protocol/testdata/benchmark.pb.go)能否用新版的protoc生成一次
- 关于go get tags的疑问 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rpcx.