bruce1125

Results 14 comments of bruce1125

> od find. IMO, I To hash the messages, pitaya need to know which "actor" is bound with the message not only the client messages but also remote messages.

cause of the administrator is absent recently, I creat a new one as No.474544221

Doing that may cover some bugs or issues for the server. The most important thing is to locate the problem and solve it.

If you do that this way, I think there will by some merge issues while updating pitaya version. I really suggest you to do these things on your own logic...

https://github.com/topfreegames/pitaya/blob/cc949c447b0c2dfacb07ff3a8e2c845facaa02b3/cluster/etcd_service_discovery.go#L701-L704 There isn't any public api can do it now, if you actually want, you could implement by yourself according the code above.

> This can actually be implemented using the listeners which is a public API > > https://github.com/topfreegames/pitaya/blob/cc949c447b0c2dfacb07ff3a8e2c845facaa02b3/cluster/etcd_service_discovery.go#L230-L247 That's really great! I nearly made a mistake.😂

Pitaya supports json serializer by default, is that OK?

you could take a look at the source code where the path is : pitaya/serialize/json/json.go > If we can provide default support for JSON, then Pitaya is really perfect

I see, dose the string reload version can work? For me, I don't use the client sdk at all, so I'm not very familier with it, may be you can...

that is a significant issue between performance and api convenience, only yourself could balance them