Skip to content

Conversation

sundy-li
Copy link
Member

No description provided.

@sundy-li sundy-li requested a review from flaneur2020 February 25, 2025 07:02
@flaneur2020
Copy link
Member

is this considered as a standalone transport protocol other than flight? how does databend interacts with this http server?

@sundy-li
Copy link
Member Author

is this considered as a standalone transport protocol other than flight? how does databend interacts with this http server?

I need to add http support in databend query later

@sundy-li
Copy link
Member Author

http server handles much slower than flight when there are blocking io tasks (sleep)



CREATE OR REPLACE FUNCTION wait_concurrent (INT) RETURNS INT LANGUAGE python HANDLER = 'wait_concurrent' ADDRESS = 'http://0.0.0.0:8815';  --flight 3s

CREATE OR REPLACE FUNCTION wait_concurrent (INT) RETURNS INT LANGUAGE python HANDLER = 'wait_concurrent' ADDRESS = 'http://0.0.0.0:8818';  --http 12s

select wait_concurrent(number) from numbers(1000) ignore_result;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants