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

Provide java udf server instead of libs. #10322

Closed
Tracked by #7405
liurenjie1024 opened this issue Jun 14, 2023 · 5 comments
Closed
Tracked by #7405

Provide java udf server instead of libs. #10322

liurenjie1024 opened this issue Jun 14, 2023 · 5 comments

Comments

@liurenjie1024
Copy link
Contributor

liurenjie1024 commented Jun 14, 2023

Currently user needs to setup udf server by themselves. Another approach is that we can provide a udf server to the user, and loads user provided jar when startup. This way user only needs to focus on udf development.

@liurenjie1024
Copy link
Contributor Author

cc @wangrunji0408 Feel free to comment.

@fuyufjh fuyufjh removed this from the release-1.0 milestone Jul 18, 2023
@xxchan
Copy link
Member

xxchan commented Jul 18, 2023

I'm also thinking about this when considering #9002.

This might be a larger problem for cloud. If we allow arbitrary UDF server, we need extensive defensive checks. If we host the servers, and let users to register functions, we can at least ensure the protocol is correct... (avoid problems like #10828, #11022) But of course that might limit flexibility and increase operation burden. 🤔️

@liurenjie1024
Copy link
Contributor Author

I think providing udf server rather than only libs have many advantages:

  1. Improve user experience. This way user only needs to focus on their bussiness logic, and uploading jars to some file server, then use statements like create udf xxx at s3://xx/bb.jar
  2. Easier management and observability. There are many things to consider when deploying udf server, for example auto scaling, observability, failover, etc. These in fact require managed service.

@xxchan
Copy link
Member

xxchan commented Jul 19, 2023 via email

@xxchan
Copy link
Member

xxchan commented Jul 19, 2023 via email

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

No branches or pull requests

3 participants