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: hottier perf work #1022

Open
wants to merge 19 commits into
base: main
Choose a base branch
from
Open

feat: hottier perf work #1022

wants to merge 19 commits into from

Conversation

de-sh
Copy link
Contributor

@de-sh de-sh commented Dec 5, 2024

Fixes #XXXX.

Description

  • Uses FuturesUnordered to manage async tasks
  • Reuses get_stream_path_for_date where possible
  • Refactors human_size parsing
  • Streams through results instead of collecting

This PR has:

  • been tested to ensure log ingestion and log query works.
  • added comments explaining the "why" and the intent of the code wherever would not be obvious for an unfamiliar reader.
  • added documentation for new or modified features or behaviors.

@coveralls
Copy link

coveralls commented Dec 17, 2024

Pull Request Test Coverage Report for Build 12827274449

Details

  • 0 of 199 (0.0%) changed or added relevant lines in 3 files are covered.
  • 6 unchanged lines in 2 files lost coverage.
  • Overall coverage increased (+0.01%) to 12.785%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/handlers/http/logstream.rs 0 19 0.0%
src/utils/human_size.rs 0 42 0.0%
src/hottier.rs 0 138 0.0%
Files with Coverage Reduction New Missed Lines %
src/migration/mod.rs 1 0.0%
src/hottier.rs 5 0.0%
Totals Coverage Status
Change from base Build 12823516428: 0.01%
Covered Lines: 2459
Relevant Lines: 19234

💛 - Coveralls

@de-sh de-sh marked this pull request as ready for review January 14, 2025 08:36
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