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

Tracking issues of Developer Experiences #16835

Open
Xuanwo opened this issue Nov 13, 2024 · 4 comments
Open

Tracking issues of Developer Experiences #16835

Xuanwo opened this issue Nov 13, 2024 · 4 comments

Comments

@Xuanwo
Copy link
Member

Xuanwo commented Nov 13, 2024

Summary

As the community has complained, Databend is reputed to be slow to compile and has a complex architecture.

image

We should definitely focus on these areas and identify opportunities for improvement.

Known Problems

  • Slow to compile
  • Complex architecture

Tasks

TBD, we will divide tasks after the known problems have been investigated.

@Xuanwo
Copy link
Member Author

Xuanwo commented Nov 13, 2024

For slow to compile

img_v3_02gi_32d907ce-b635-4e47-8f87-138953e04adg

The main bottleneck appears to be the databend-query crate itself, which contains all pipelines, functions, and interpreters.

@Xuanwo
Copy link
Member Author

Xuanwo commented Nov 13, 2024

For complex architecture

Databend is relatively simple, consisting only of databend-meta and databend-query. It surprises me to hear that the Databend architecture is considered complex. Perhaps there is something unclear in our documentation?

@Xuanwo
Copy link
Member Author

Xuanwo commented Nov 13, 2024

Some updates:

  • Databend previously used z3, which required a considerable amount of time to compile; now we have removed it.
  • Databend had to disable incremental compilation due to a bug in nightly Rust, but we have now re-enabled it.

@sundy-li
Copy link
Member

sundy-li commented Dec 5, 2024

cargo build timing

https://pastila.nl/?00011e2f/4f5985bd43b9dd82050a1ae1861e9aa3.html#mSmn4LdOMK8oze5e2wP1oA==

Let's remove some useless crates:

  1. | aws-sdk-glue v1.53.0 | 60.7s | 15.5s (25%) | default, rt-tokio, rustls
  2. | aws-sdk-s3 v1.43.0 | 35.1s | 7.5s (21%) | d

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

2 participants