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 · 3 comments
Open

Tracking issues of Developer Experiences #16835

Xuanwo opened this issue Nov 13, 2024 · 3 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.

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

1 participant