Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add http udf server #12

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from
Draft

feat: add http udf server #12

wants to merge 5 commits into from

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