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

java CDK: reduce dependency bloat #32049

Closed
postamar opened this issue Nov 1, 2023 · 0 comments · Fixed by #32050
Closed

java CDK: reduce dependency bloat #32049

postamar opened this issue Nov 1, 2023 · 0 comments · Fixed by #32050
Assignees
Labels
team/db-dw-sources Backlog for Database and Data Warehouse Sources team

Comments

@postamar
Copy link
Contributor

postamar commented Nov 1, 2023

Topic

No response

Relevant information

My recent investigations in profiling the performance of a source-postgres spec call in #31298 revealed that having less jars on the classpath might speed up the JVM startup and class initialization latency slightly.

The principal source of bloat is the CDK which just includes dependencies for everything. This was a fine choice for the purpose of getting the CDK out of the door in the first place but now we should improve things.

It also makes no sense for the source-postgres base image to weigh in at half a GB, this bloat has repercussions elsewhere as well (the build is slower, it just looks bad, etc.)

@postamar postamar self-assigned this Nov 1, 2023
@postamar postamar added team/db-dw-sources Backlog for Database and Data Warehouse Sources team and removed needs-triage labels Nov 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team/db-dw-sources Backlog for Database and Data Warehouse Sources team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant