[GitHub] [incubator-brpc] leaf-potato opened a new issue, #2060: example中logoff_ms参数的作用

2022-12-23 Thread GitBox


leaf-potato opened a new issue, #2060:
URL: https://github.com/apache/incubator-brpc/issues/2060

   在example目录下大多数例子的`server.cpp`中都定义了`logoff_ms`这个gflag, 
但似乎没有地方使用了这个参数。想问下这个参数在什么地方发挥作用呢?


-- 
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.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



[GitHub] [incubator-brpc] leaf-potato commented on issue #2052: 传输大量数据必须用butil::IOBuf 吗?

2022-12-23 Thread GitBox


leaf-potato commented on issue #2052:
URL: 
https://github.com/apache/incubator-brpc/issues/2052#issuecomment-1363987901

   Q1:在client、server两端都是brpc的前提下,attachment更算是proto 
message的一种补充。proto官方给出大小是有限制的,默认是64MB,硬制是2GB。在限制范围内,attachment和proto的区别在于序列化和反序列化,如果attachment是传proto序列化后的数据,理论上两者差距不大。
   
   Q2:理论上chunkPB是要大于rpc请求的生命周期
   1. 发送端如何去判断请求已经发送完了呢?同步请求rpc 
server,_stub函数返回时整个rpc交互已经完成收到response信息;异步请求rpc,_stub函数返回只代表请求提交给了rpc框架,结束时调用用户的回调函数;brpc应该没提供接口告诉用户当前请求已经发送了。
   2. 在调closure前rpc并未结束,chunkPB都是有效的。
   
   个人看法,如有错误还请指教~


-- 
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



[GitHub] [incubator-brpc] leaf-potato commented on issue #2059: 请问bvar变量的expose接口有什么用呢?

2022-12-23 Thread GitBox


leaf-potato commented on issue #2059:
URL: 
https://github.com/apache/incubator-brpc/issues/2059#issuecomment-1363967074

   使用的多维度bvar?能否给下使用代码例子?


-- 
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



[GitHub] [incubator-brpc] 17336 opened a new issue, #2059: 请问bvar变量的expose接口有什么用呢?

2022-12-23 Thread GitBox


17336 opened a new issue, #2059:
URL: https://github.com/apache/incubator-brpc/issues/2059

   我初始化了一个bvar变量,没有经过expose也能在http网页上观察到bvar的变化,所以expose接口有什么用呢
   
![image](https://user-images.githubusercontent.com/74393844/209327675-c06fd1c8-5ce8-4ad2-be36-27800eb6075b.png)
   


-- 
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.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



[GitHub] [incubator-brpc] cdjingit opened a new pull request, #2058: optimize mbvar doc

2022-12-23 Thread GitBox


cdjingit opened a new pull request, #2058:
URL: https://github.com/apache/incubator-brpc/pull/2058

   补充mbvar文档
   


-- 
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



[GitHub] [incubator-brpc] cdjingit commented on issue #2055: 使用DynamicPartitionChannel时,request map的接口没有提供分片总数

2022-12-23 Thread GitBox


cdjingit commented on issue #2055:
URL: 
https://github.com/apache/incubator-brpc/issues/2055#issuecomment-1363801275

   #2057 


-- 
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