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

DLO: Multi-objective optimization for auto-compaction #201

Merged
merged 2 commits into from
Sep 19, 2024

Conversation

sumedhsakdeo
Copy link
Collaborator

@sumedhsakdeo sumedhsakdeo commented Sep 18, 2024

Summary

We plan to develop Auto Compaction for for high ROI tables. Our plan is to treat this as a multi-objective optimization problem by aiming to optimizing two objectives -- maximize file count reduction and minimize compute costs. We score and rank the tables, then choose the top-K tables for each iteration of compaction to remain under allocated compute budget.

This will be used by the job scheduler for candidate selection.

Changes

  • Client-facing API Changes
  • Internal API Changes
  • Bug Fixes
  • New Features
  • Performance Improvements
  • Code Style
  • Refactoring
  • Documentation
  • Tests

For all the boxes checked, please include additional details of the changes made in this pull request.

Testing Done

  • Manually Tested on local docker setup. Please include commands ran, and their output.
  • Added new tests for the changes made.
  • Updated existing tests to reflect the changes made.
  • No tests added or updated. Please explain why. If unsure, please feel free to ask for help.
  • Some other form of testing like staging or soak time in production. Please explain.

For all the boxes checked, include a detailed description of the testing done for the changes made in this pull request.

Additional Information

  • Breaking Changes
  • Deprecations
  • Large PR broken into smaller PRs, and PR plan linked in the description.

For all the boxes checked, include additional details of the changes made in this pull request.

Copy link
Collaborator

@teamurko teamurko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, the only question is why returning indexes instead of strategy objects is important

@sumedhsakdeo
Copy link
Collaborator Author

lgtm, the only question is why returning indexes instead of strategy objects is important

I feel returning indexes is more intuitive, but I am fine if you think when you incorporate the module in scheduler you can tell it is not a a good idea and we go to list of strategy objects.

@sumedhsakdeo sumedhsakdeo merged commit 43275a8 into linkedin:main Sep 19, 2024
1 check passed
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.

3 participants