doris icon indicating copy to clipboard operation
doris copied to clipboard

[feature-wip](BE http)Support BE http service with brpc

Open Hastyshell opened this issue 2 years ago • 6 comments

Proposed changes

Issue Number: close #16087 #16959 introduce: #16123

Problem summary

Doris BE uses libevent to support http service currently, which is planned to be replaced by brpc step by step in the future.

Doris BE has webserver_port for http service and brpc_port for internal service. The brpc-based http service will share the brpc_port with internal service, and webserver_port will be kept for libevent-based http service at the current stage.

Merged PR 16123 hasn't implemented StreamLoad with brpc, because the feature of brpc itself. Moreover, the regression-test is should be enhance further. Open this PR currently and aim to get this stage of work done.

Checklist(Required)

  • [ ] Does it affect the original behavior
  • [ ] Has unit tests been added
  • [ ] Has document been added or modified
  • [ ] Does it need to update dependencies
  • [x] Is this PR support rollback (If NO, please explain WHY)

Further comments

If this is a relatively large or complex change, kick off the discussion at [email protected] by explaining why you chose the solution you did and what alternatives you considered, etc...

Hastyshell avatar Feb 28 '23 08:02 Hastyshell

run build all

Hastyshell avatar Feb 28 '23 08:02 Hastyshell

run compile

Hastyshell avatar Feb 28 '23 08:02 Hastyshell

run clickbench

Hastyshell avatar Feb 28 '23 08:02 Hastyshell

run beut

Hastyshell avatar Feb 28 '23 08:02 Hastyshell

run feut

Hastyshell avatar Feb 28 '23 08:02 Hastyshell

run p0

Hastyshell avatar Feb 28 '23 08:02 Hastyshell