[GitHub] [incubator-brpc] ljcui closed issue #2068: stream rpc java

2023-01-05 Thread GitBox
ljcui closed issue #2068: stream rpc java URL: https://github.com/apache/incubator-brpc/issues/2068 -- 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:

[GitHub] [incubator-brpc] ljcui commented on issue #2068: stream rpc java

2023-01-05 Thread GitBox
ljcui commented on issue #2068: URL: https://github.com/apache/incubator-brpc/issues/2068#issuecomment-1373152637 找到解决方法了,issue我关闭掉。 -- 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

[GitHub] [incubator-brpc] EricPengShuai commented on issue #1392: brpc编译错误

2023-01-05 Thread GitBox
EricPengShuai commented on issue #1392: URL: https://github.com/apache/incubator-brpc/issues/1392#issuecomment-1373137313 是不是 gflags 版本不支持 2.2.2 的,我看 [getting_started.md](https://github.com/apache/incubator-brpc/blob/master/docs/cn/getting_started.md#gflags-20-221) 文档上写的 gflags 版本是

[GitHub] [incubator-brpc] wwbmmm commented on issue #2072: error: unknown type name 'greg_t'

2023-01-05 Thread GitBox
wwbmmm commented on issue #2072: URL: https://github.com/apache/incubator-brpc/issues/2072#issuecomment-1373077519 brpc does not support FreeBSD now. -- 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

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

2023-01-05 Thread GitBox
leaf-potato commented on issue #2052: URL: https://github.com/apache/incubator-brpc/issues/2052#issuecomment-1373070266 > 也就是发送数据量 >=2G 的时候在发送端的 copy 无法消除,其他的 copy 都可以消除,这样可以更高效。 序列化数据拷贝到attachment可以看下IOBuf的`append_user_data`方法是否可以解决

[GitHub] [incubator-brpc] cmdmspaint closed issue #2069: 如何将brpc controller中的信息传递到上层应用程序?

2023-01-05 Thread GitBox
cmdmspaint closed issue #2069: 如何将brpc controller中的信息传递到上层应用程序? URL: https://github.com/apache/incubator-brpc/issues/2069 -- 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

[GitHub] [incubator-brpc] yurivict opened a new issue, #2072: error: unknown type name 'greg_t'

2023-01-05 Thread GitBox
yurivict opened a new issue, #2072: URL: https://github.com/apache/incubator-brpc/issues/2072 **Describe the bug (描述bug)** ``` /usr/ports/devel/brpc/work/incubator-brpc-1.3.0/src/butil/debug/stack_trace_posix.cc:291:5: error: unknown type name 'greg_t' greg_t value; ^

[GitHub] [incubator-brpc] yurivict opened a new issue, #2071: error: cannot initialize return object of type 'uint64_t' (aka 'unsigned long') with an rvalue of type 'pthread_t'

2023-01-05 Thread GitBox
yurivict opened a new issue, #2071: URL: https://github.com/apache/incubator-brpc/issues/2071 **Describe the bug (描述bug)** ``` /usr/ports/devel/brpc/work/incubator-brpc-1.3.0/src/butil/compat.h:85:12: error: cannot initialize return object of type 'uint64_t' (aka 'unsigned long')

[GitHub] [incubator-brpc] yurivict opened a new issue, #2070: Bash shebangs are wrong: they should be #!/usr/bin/env bash

2023-01-05 Thread GitBox
yurivict opened a new issue, #2070: URL: https://github.com/apache/incubator-brpc/issues/2070 [Here](https://github.com/apache/incubator-brpc/blob/master/tools/get_brpc_revision.sh#L1) and in all other shell scripts -- This is an automated message from the Apache Git Service. To

[GitHub] [incubator-brpc] cmdmspaint commented on issue #2069: 如何将brpc controller中的信息传递到上层应用程序?

2023-01-05 Thread GitBox
cmdmspaint commented on issue #2069: URL: https://github.com/apache/incubator-brpc/issues/2069#issuecomment-1372212270 > > > > 是不是头文件没有更新? 这是我们程序中的头文件 ![image](https://user-images.githubusercontent.com/50624748/210789815-81b33547-afd2-48fb-b656-8ff734574d98.png)

[GitHub] [incubator-brpc] cmdmspaint commented on issue #2069: 如何将brpc controller中的信息传递到上层应用程序?

2023-01-05 Thread GitBox
cmdmspaint commented on issue #2069: URL: https://github.com/apache/incubator-brpc/issues/2069#issuecomment-1372209552 > > > > 是不是头文件没有更新? 指的的controller.h 更新吗 还是我们程序中的头文件 -- This is an automated message from the Apache Git Service. To respond to the message, please log on

[GitHub] [incubator-brpc] serverglen commented on issue #2069: 如何将brpc controller中的信息传递到上层应用程序?

2023-01-05 Thread GitBox
serverglen commented on issue #2069: URL: https://github.com/apache/incubator-brpc/issues/2069#issuecomment-1372200305 > 是不是头文件没有更新? -- 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

[GitHub] [incubator-brpc] cmdmspaint commented on issue #2069: 如何将brpc controller中的信息传递到上层应用程序?

2023-01-05 Thread GitBox
cmdmspaint commented on issue #2069: URL: https://github.com/apache/incubator-brpc/issues/2069#issuecomment-1372196211 > 应该是服务端打点,想在客户端获取打点信息吧? 这种的话只能通过 修改 PB协议,增加对应的repeat类型字段,传递给客户端,在客户端ProcessXXXResponse函数中解包,从PB对象中获取打点数据,然后设置到cntl中。 在controller中添加方法需要类似 register的操作吗 --

[GitHub] [incubator-brpc] cmdmspaint commented on issue #2069: 如何将brpc controller中的信息传递到上层应用程序?

2023-01-05 Thread GitBox
cmdmspaint commented on issue #2069: URL: https://github.com/apache/incubator-brpc/issues/2069#issuecomment-1372185670 还有一个疑问是controller.h 中 Client-side methods Server-side methods. Both-side methods.的区别是什么呢,为什么要划分client sever 和both 。是因为client server特点导致 还是有什么限制呢? -- This is an

[GitHub] [incubator-brpc] ravenxrz closed issue #2067: client stub.Func(controller, req, rsp, done) 参数的controller为空时,行为是什么呢?

2023-01-05 Thread GitBox
ravenxrz closed issue #2067: client stub.Func(controller, req, rsp, done) 参数的controller为空时,行为是什么呢? URL: https://github.com/apache/incubator-brpc/issues/2067 -- 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

[GitHub] [incubator-brpc] ravenxrz commented on issue #2067: client stub.Func(controller, req, rsp, done) 参数的controller为空时,行为是什么呢?

2023-01-05 Thread GitBox
ravenxrz commented on issue #2067: URL: https://github.com/apache/incubator-brpc/issues/2067#issuecomment-1372142585 ok, get. -- 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

[GitHub] [incubator-brpc] cmdmspaint commented on issue #2069: 如何将brpc controller中的信息传递到上层应用程序?

2023-01-05 Thread GitBox
cmdmspaint commented on issue #2069: URL: https://github.com/apache/incubator-brpc/issues/2069#issuecomment-1372139568 > 应该是服务端打点,想在客户端获取打点信息吧? 这种的话只能通过 修改 PB协议,增加对应的repeat类型字段,传递给客户端,在客户端ProcessXXXResponse函数中解包,从PB对象中获取打点数据,然后设置到cntl中。 但是 在我们程序中通过brpc::controller取用的时候就出现了 编译报错的情况

[GitHub] [incubator-brpc] cmdmspaint commented on issue #2069: 如何将brpc controller中的信息传递到上层应用程序?

2023-01-05 Thread GitBox
cmdmspaint commented on issue #2069: URL: https://github.com/apache/incubator-brpc/issues/2069#issuecomment-1372135886 > 应该是服务端打点,想在客户端获取打点信息吧? 这种的话只能通过 修改 PB协议,增加对应的repeat类型字段,传递给客户端,在客户端ProcessXXXResponse函数中解包,从PB对象中获取打点数据,然后设置到cntl中。 我们是一个存储程序,远程过程调用使用的是brpc。想把在bprc

[GitHub] [incubator-brpc] cmdmspaint commented on issue #2069: 如何将brpc controller中的信息传递到上层应用程序?

2023-01-05 Thread GitBox
cmdmspaint commented on issue #2069: URL: https://github.com/apache/incubator-brpc/issues/2069#issuecomment-1372113352 > 应该是服务端打点,想在客户端获取打点信息吧? 这种的话只能通过 修改 PB协议,增加对应的repeat类型字段,传递给客户端,在客户端ProcessXXXResponse函数中解包,从PB对象中获取打点数据,然后设置到cntl中。 正常情况下 是直接取用就可以吗 -- This is an automated

[GitHub] [incubator-brpc] cmdmspaint commented on issue #2069: 如何将brpc controller中的信息传递到上层应用程序?

2023-01-05 Thread GitBox
cmdmspaint commented on issue #2069: URL: https://github.com/apache/incubator-brpc/issues/2069#issuecomment-1372112897 > 应该是服务端打点,想在客户端获取打点信息吧? 这种的话只能通过 修改 PB协议,增加对应的repeat类型字段,传递给客户端,在客户端ProcessXXXResponse函数中解包,从PB对象中获取打点数据,然后设置到cntl中。 cntl中已经设置上信息了 但是取的时候 编译报错了

[GitHub] [incubator-brpc] serverglen commented on issue #2069: 如何将brpc controller中的信息传递到上层应用程序?

2023-01-05 Thread GitBox
serverglen commented on issue #2069: URL: https://github.com/apache/incubator-brpc/issues/2069#issuecomment-1372099116 应该是服务端打点,想在客户端获取打点信息吧? 这种的话只能通过 修改 PB协议,增加对应的repeat类型字段,传递给客户端,在客户端ProcessXXXResponse函数中解包,从PB对象中获取打点数据,然后设置到cntl中。 -- This is an automated message from the Apache

[GitHub] [incubator-brpc] cmdmspaint opened a new issue, #2069: 如何将brpc controller中的信息传递到上层应用程序?

2023-01-05 Thread GitBox
cmdmspaint opened a new issue, #2069: URL: https://github.com/apache/incubator-brpc/issues/2069 背景:在程序压测过程中发现了性能瓶颈,对程序进行打点分析。一开始是通过traceprintf打印到rpcz中,但是rpcz打印到浏览器的信息一直在刷新。我们想把统计的耗时,传到我们上层的程序中进行统一分析。 这是在controller中添加了一个map