wwbmmm commented on PR #2946: URL: https://github.com/apache/brpc/pull/2946#issuecomment-2795617960
有点复杂了。我觉得把compress和序列化方式耦合在一起不太好,组合太多了。 可以考虑先序列化成一个SerializedRequest,然后再传进Compress。 解压的时候先Decompress成一个SerializedRequest,然后再反序列化。 或者能不能把序列化/反序列化的工作交给用户自己去做呢?用户只要传递SerializedRequest/SerializedResponse和框架交互就可以了。 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org For additional commands, e-mail: dev-h...@brpc.apache.org