You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brpc.apache.org by "zhihuacc (via GitHub)" <gi...@apache.org> on 2023/07/07 06:43:34 UTC

[I] Idea for CPU bound task hosted by brpc (brpc)

zhihuacc opened a new issue, #2303:
URL: https://github.com/apache/brpc/issues/2303

   **Is your feature request related to a problem? (你需要的功能是否与某个问题有关?)**
   
   
   **Describe the solution you'd like (描述你期望的解决方法)**
   希望能方便利用多线程处理CPU计算任务。
   
   比如,在brpc中使用C++ executors会和brpc的内部的线程模型冲突吗? 或者brpc提供了自己的多线程编程接口吗?
   
   **Describe alternatives you've considered (描述你想到的折衷方案)**
   
   
   **Additional context/screenshots (更多上下文/截图)**
   
   


-- 
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-unsubscribe@brpc.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org


Re: [I] Idea for CPU bound task hosted by brpc (brpc)

Posted by "zhihuacc (via GitHub)" <gi...@apache.org>.
zhihuacc commented on issue #2303:
URL: https://github.com/apache/brpc/issues/2303#issuecomment-1624952453

   > #2215 看看这个PR能不能满足需求?
   谢谢,我了解下。我大概看了下,这个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 specific comment.

To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org


Re: [I] Idea for CPU bound task hosted by brpc (brpc)

Posted by "chenBright (via GitHub)" <gi...@apache.org>.
chenBright commented on issue #2303:
URL: https://github.com/apache/brpc/issues/2303#issuecomment-1624866354

   #2215 看看这个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 specific comment.

To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org


Re: [I] Idea for CPU bound task hosted by brpc (brpc)

Posted by "chenBright (via GitHub)" <gi...@apache.org>.
chenBright commented on issue #2303:
URL: https://github.com/apache/brpc/issues/2303#issuecomment-1625060520

   RP提供了线程池来执行应用接口的逻辑吧。如果只是希望执行用户逻辑,实例化一个线程池应该也可以用来执行用户逻辑吧


-- 
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-unsubscribe@brpc.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org