Re: [I] 支持bRPC网关转发baidu协议请求的功能 (brpc)

2024-06-10 Thread via GitHub


chenBright commented on issue #2405:
URL: https://github.com/apache/brpc/issues/2405#issuecomment-2159708781

   稍微修改了一下原来的描述。


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



Re: [I] 支持bRPC网关转发baidu协议请求的功能 (brpc)

2024-06-10 Thread via GitHub


chenBright commented on issue #2405:
URL: https://github.com/apache/brpc/issues/2405#issuecomment-2159705777

   嗯嗯,网关只转发baidu协议请求的话,是不需要json、pb互转的。
   
   
扩展一下,网关要支持多语言(php、nodejs、python等)接入baidu协议的brpc服务的话,client的payload一般使用json,网关负责服务发现和转发payload,brpc服务需要支持json、pb互转的能力。


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



Re: [I] 支持bRPC网关转发baidu协议请求的功能 (brpc)

2024-06-01 Thread via GitHub


yanglimingcn commented on issue #2405:
URL: https://github.com/apache/brpc/issues/2405#issuecomment-2143409006

   为啥需要和pb互转呢?我理解这个过程bRPC完全透传了用户的消息,不用做任何处理,就类似attachment。
   bRPC只处理baidu_std这层协议使用的是pb。


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



Re: [I] 支持bRPC网关转发baidu协议请求的功能 (brpc)

2024-05-30 Thread via GitHub


chenBright commented on issue #2405:
URL: https://github.com/apache/brpc/issues/2405#issuecomment-2141089142

   > 用户可以不用pb协议,使用其它类型协议也可以是吗?
   
   要求能跟pb互转,例如json。
   
   > c++客户端到服务端直接这样可以吗?
   
   可以的。HTTP body类似。


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



Re: [I] 支持bRPC网关转发baidu协议请求的功能 (brpc)

2024-05-30 Thread via GitHub


yanglimingcn commented on issue #2405:
URL: https://github.com/apache/brpc/issues/2405#issuecomment-2141045529

   功能3的意思是用户可以不用pb协议,使用其它类型协议也可以是吗?c++客户端到服务端直接这样可以吗?中间不用加一层代理。


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



Re: [I] 支持bRPC网关转发baidu协议请求的功能 (brpc)

2023-10-12 Thread via GitHub


wwbmmm commented on issue #2405:
URL: https://github.com/apache/brpc/issues/2405#issuecomment-1760663303

   related issue: #1444


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



Re: [I] 支持bRPC网关转发baidu协议请求的功能 (brpc)

2023-10-09 Thread via GitHub


chenBright commented on issue #2405:
URL: https://github.com/apache/brpc/issues/2405#issuecomment-1753313385

   #2406 实现baidu协议meta中传递用户自定义字段的特性


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



[I] 支持bRPC网关转发baidu协议请求的功能 (brpc)

2023-10-09 Thread via GitHub


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

   **Is your feature request related to a problem? (你需要的功能是否与某个问题有关?)**
   
   目前brpc框架不支持网关服务高效地转发baidu协议的请求——只反序列化meta部分,不需要反序列化payload,直接转发payload。
   
   **Describe the solution you'd like (描述你期望的解决方法)**
   
   1. 
baidu协议实现类似http_master_service的功能,接管所有baidu协议流量。同时,http_master_service可用于多语言接入bRPC服务场景。
   2. baidu协议meta中支持用户自定义字段(kv),用于传递upstream信息、路由信息等。
   3. 支持baidu协议泛化调用,payload支持pb序列化数据、json字符串。网关服务可以不受upstream pb的限制。
   
   
   **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-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