[GitHub] [incubator-brpc] serverglen commented on a diff in pull request #1854: support customized server bvar prefix

2022-08-14 Thread GitBox
serverglen commented on code in PR #1854: URL: https://github.com/apache/incubator-brpc/pull/1854#discussion_r945464629 ## src/brpc/server.h: ## @@ -241,6 +241,10 @@ struct ServerOptions { // Default: NULL (disabled) RedisService* redis_service; +// Optional name

[GitHub] [incubator-brpc] serverglen closed issue #1322: bvar支持多维度统计

2022-08-14 Thread GitBox
serverglen closed issue #1322: bvar支持多维度统计 URL: https://github.com/apache/incubator-brpc/issues/1322 -- 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

[GitHub] [incubator-brpc] serverglen commented on issue #1322: bvar支持多维度统计

2022-08-14 Thread GitBox
serverglen commented on issue #1322: URL: https://github.com/apache/incubator-brpc/issues/1322#issuecomment-1214586232 多维度bvar功能已合入,PR:#1608 -- 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 s

[GitHub] [incubator-brpc] serverglen commented on issue #1322: bvar支持多维度统计

2022-08-14 Thread GitBox
serverglen commented on issue #1322: URL: https://github.com/apache/incubator-brpc/issues/1322#issuecomment-1214585530 > > > FailedNamed > > > > > > 问一下,您这边应该使用brpc了吧?如果使用的话,辛苦您能更新下[brpc在贵公司的落地场景](https://github.com/apache/incubator-brpc/issues/1640)吗? 另外:建议您订阅[dev@brpc.apache.

Re: [discussion] 1.3.0 release features

2022-08-14 Thread Shuai Liu
Cool, I will resolve conflicts this week. Best Regards, serverglen Weibing Wang 于2022年8月15日周一 11:38写道: > > I have merged this: > * Implement multi bvar feature: > https://github.com/apache/incubator-brpc/pull/1608 > > And this PR need to resolve conflicts @Liu Shuai : > * implement bvar::WindowE

Re: [discussion] 1.3.0 release features

2022-08-14 Thread Weibing Wang
I have merged this: * Implement multi bvar feature: https://github.com/apache/incubator-brpc/pull/1608 And this PR need to resolve conflicts @Liu Shuai : * implement bvar::WindowEx and bvar::PerSecondEx https://github.com/apache/incubator-brpc/pull/1603 The next oncaller can focus on these two P

[incubator-brpc] branch master updated: fix the problem that the first bthread keytable on worker pthread will be deleted twice

2022-08-14 Thread jamesge
This is an automated email from the ASF dual-hosted git repository. jamesge pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-brpc.git The following commit(s) were added to refs/heads/master by this push: new e1f7c9bc fix the problem that the first

[GitHub] [incubator-brpc] jamesge closed issue #1714: 使用优雅退出时,cleanup_pthread清理keytable会coredump

2022-08-14 Thread GitBox
jamesge closed issue #1714: 使用优雅退出时,cleanup_pthread清理keytable会coredump URL: https://github.com/apache/incubator-brpc/issues/1714 -- 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.

[GitHub] [incubator-brpc] jamesge merged pull request #1884: fix the first bthread keytable on worker pthread will be deleted twice

2022-08-14 Thread GitBox
jamesge merged PR #1884: URL: https://github.com/apache/incubator-brpc/pull/1884 -- 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.ap

[GitHub] [incubator-brpc] wwbmmm commented on pull request #1806: support channel option: health_check_path

2022-08-14 Thread GitBox
wwbmmm commented on PR #1806: URL: https://github.com/apache/incubator-brpc/pull/1806#issuecomment-1214574493 和master近期合入的PR产生了冲突,需要解决一下 -- 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 specif

[GitHub] [incubator-brpc] wwbmmm merged pull request #1886: fix typo: /user is /usr

2022-08-14 Thread GitBox
wwbmmm merged PR #1886: URL: https://github.com/apache/incubator-brpc/pull/1886 -- 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.apa

[incubator-brpc] branch master updated (f303256f -> d82f8667)

2022-08-14 Thread wwbmmm
This is an automated email from the ASF dual-hosted git repository. wwbmmm pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/incubator-brpc.git from f303256f Merge pull request #1608 from serverglen/feature-mbvar add d82f8667 Fix typo: /user is /usr (#18

[GitHub] [incubator-brpc] wwbmmm commented on pull request #1603: implement bvar::WindowEx and bvar::PerSecondEx

2022-08-14 Thread GitBox
wwbmmm commented on PR #1603: URL: https://github.com/apache/incubator-brpc/pull/1603#issuecomment-1214572974 @serverglen 这个PR冲突了,需要解决下 -- 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 specifi

[GitHub] [incubator-brpc] wwbmmm merged pull request #1608: Implement multi bvar feature

2022-08-14 Thread GitBox
wwbmmm merged PR #1608: URL: https://github.com/apache/incubator-brpc/pull/1608 -- 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.apa

[incubator-brpc] branch master updated (64957045 -> f303256f)

2022-08-14 Thread wwbmmm
This is an automated email from the ASF dual-hosted git repository. wwbmmm pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/incubator-brpc.git from 64957045 update readme to add link to coc (#1564) new cacbd037 Implement multi bvar feature new 788d

[GitHub] [incubator-brpc] chenBright commented on pull request #1884: fix the first bthread keytable on worker pthread will be deleted twice

2022-08-14 Thread GitBox
chenBright commented on PR #1884: URL: https://github.com/apache/incubator-brpc/pull/1884#issuecomment-1214552962 > 我发现在bthread_keytable_pool_destroy里删除kt之前用`atexit_cancel`取消kt的回调析构函数似乎也可以防止重复析构 先thread_atexit再thread_atexit_cancel,似乎多做了一些无用功,而且直接在开始的时候就不将协程变量对应keytable加入到thread_atexi

[GitHub] [incubator-brpc] chenBright commented on pull request #1884: fix the first bthread keytable on worker pthread will be deleted twice

2022-08-14 Thread GitBox
chenBright commented on PR #1884: URL: https://github.com/apache/incubator-brpc/pull/1884#issuecomment-1214551221 > > 另一方面,是否考虑在退出时,stop and join 一些框架的常驻线程(worker线程、timer线程、bvar相关线程)?因为在退出的时候,全局变量或者静态变量析构后,常驻线程有几率访问到这些变量,存在coredump风险。相关issue:#1594 、#1726 、#1634 > > 这个问题能否新建一个issue单独讨

[GitHub] [incubator-brpc] chenBright opened a new issue, #1889: 优雅退出时,停止常驻线程,规避coredump风险

2022-08-14 Thread GitBox
chenBright opened a new issue, #1889: URL: https://github.com/apache/incubator-brpc/issues/1889 **Describe the bug (描述bug)** 是否考虑在优雅退出时,stop and join 一些框架的常驻线程(worker线程、timer线程、bvar相关线程)?因为在退出的时候,全局变量或者静态变量析构后,常驻线程有几率访问到这些变量,存在coredump风险。相关issue:https://github.com/apache/incubator-brpc/is

Re: Introduction of ApacheCon Asia RPC track brpc session 3

2022-08-14 Thread Hu go
Cool On Fri, Aug 12, 2022 at 7:34 PM Shuai Liu wrote: > not find other photo, so... > > Best Regards, > serverglen > > Jerry Tan 于2022年8月12日周五 14:39写道: > > > > > Liu Shuai's photo looks fun, > > haha > > > > On 2022/08/12 05:08:40 Jerry Tan wrote: > > > Here it is. > > > > > > https://apachecon

[GitHub] [incubator-brpc] wwbmmm commented on pull request #1888: Restruct event_dispatcher source file

2022-08-14 Thread GitBox
wwbmmm commented on PR #1888: URL: https://github.com/apache/incubator-brpc/pull/1888#issuecomment-1214539860 > 新增的两个文件之所以后缀名之所以改成了cxx是因为当前的编译脚本会自动对cpp文件编译成 .o ,但是新增的两个文件是无法单独编译的,它们其实是会被选择性地加入到event_dispatcher.cpp中一起编译。自己不能编译。所以改成了编译脚本当前不会自动独立编译的后缀cxx,并且cxx也是一种常用的C++源文件后缀。 可以搞两个cpp文件,

[GitHub] [incubator-brpc] zyearn commented on pull request #1888: Restruct event_dispatcher source file

2022-08-14 Thread GitBox
zyearn commented on PR #1888: URL: https://github.com/apache/incubator-brpc/pull/1888#issuecomment-1214439112 Bazel的编译挂了: ``` [1,115 / 1,457] 11 actions, 2 running Compiling src/brpc/esp_message.cpp; 1s linux-sandbox Compiling src/brpc/details/usercode_backup_pool.cpp;

[GitHub] [incubator-brpc] zyearn commented on pull request #1884: fix the first bthread keytable on worker pthread will be deleted twice

2022-08-14 Thread GitBox
zyearn commented on PR #1884: URL: https://github.com/apache/incubator-brpc/pull/1884#issuecomment-1214438235 > 另一方面,是否考虑在退出时,stop and join 一些框架的常驻线程(worker线程、timer线程、bvar相关线程)?因为在退出的时候,全局变量或者静态变量析构后,常驻线程有几率访问到这些变量,存在coredump风险。相关issue:#1594 、#1726 、#1634 这个问题能否新建一个issue单独讨论? -- T

[GitHub] [incubator-brpc] guodongxiaren opened a new pull request, #1888: Restruct event_dispatcher source file

2022-08-14 Thread GitBox
guodongxiaren opened a new pull request, #1888: URL: https://github.com/apache/incubator-brpc/pull/1888 event_dispatcher.cpp 同时兼容Linux和Mac系统,大量使用了条件编译的宏,这种条件编译的代码占了这个文件的大部分。 导致这个代码文件可读性比较差,另外后续如果扩充其他操作系统、其他事件驱动的API,则event_dispatcher可维护性也比较差。 参考Redis中事件驱动库Ae的源码组织形式: ```c #ifdef