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

compact: Ensure downsampled chunks are not larger than 120 samples; stream downsampling more #2542

Open
bwplotka opened this issue Apr 30, 2020 · 30 comments

Comments

@bwplotka
Copy link
Member

During bug fixing on #2528 I found that downsampling always encodes whatever is given in the block into huge chunks. This can lead to inefficiency during query time when only a small part of chunk data is needed, but store GW needs to fetch and decode everything.

See:

for _, c := range chks {

AC:

  • Downsampled chunks are not larger than 120 samples
  • Chunks are expanded on demand in iterator.
@yashrsharma44
Copy link
Contributor

If no one is working on this issue, can I have a try? @bwplotka

@bwplotka
Copy link
Member Author

I assume you are not on it right? (: Just making sure, so others can help as well (:

@yashrsharma44
Copy link
Contributor

Yeah, apologies for keeping blocked, I am not working on it currently 😅

@jyizheng
Copy link

I am happy to work on this.

@stale
Copy link

stale bot commented Jun 22, 2020

Hello 👋 Looks like there was no activity on this issue for last 30 days.
Do you mind updating us on the status? Is this still reproducible or needed? If yes, just comment on this PR or push a commit. Thanks! 🤗
If there will be no activity for next week, this issue will be closed (we can always reopen an issue if we need!). Alternatively, use remind command if you wish to be reminded at some point in future.

@stale stale bot added the stale label Jun 22, 2020
@stale
Copy link

stale bot commented Jun 29, 2020

Closing for now as promised, let us know if you need this to be reopened! 🤗

@stale stale bot closed this as completed Jun 29, 2020
@GiedriusS
Copy link
Member

Still relevant AFAIK.

@GiedriusS GiedriusS reopened this Jun 30, 2020
@stale stale bot removed the stale label Jun 30, 2020
@jyizheng
Copy link

Hi, I still want to work on this. I will get back to you guy soon.

@stale
Copy link

stale bot commented Jul 30, 2020

Hello 👋 Looks like there was no activity on this issue for last 30 days.
Do you mind updating us on the status? Is this still reproducible or needed? If yes, just comment on this PR or push a commit. Thanks! 🤗
If there will be no activity for next week, this issue will be closed (we can always reopen an issue if we need!). Alternatively, use remind command if you wish to be reminded at some point in future.

@stale stale bot added the stale label Jul 30, 2020
@stale
Copy link

stale bot commented Aug 6, 2020

Closing for now as promised, let us know if you need this to be reopened! 🤗

@stale stale bot closed this as completed Aug 6, 2020
@GiedriusS GiedriusS reopened this Aug 6, 2020
@stale stale bot removed the stale label Aug 6, 2020
@stale
Copy link

stale bot commented Sep 5, 2020

Hello 👋 Looks like there was no activity on this issue for last 30 days.
Do you mind updating us on the status? Is this still reproducible or needed? If yes, just comment on this PR or push a commit. Thanks! 🤗
If there will be no activity for next week, this issue will be closed (we can always reopen an issue if we need!). Alternatively, use remind command if you wish to be reminded at some point in future.

@stale stale bot added the stale label Sep 5, 2020
@stale
Copy link

stale bot commented Sep 12, 2020

Closing for now as promised, let us know if you need this to be reopened! 🤗

@stale stale bot closed this as completed Sep 12, 2020
@pracucci
Copy link
Contributor

Is this still valid? If not, which PR fixed it?

@pracucci pracucci reopened this Sep 14, 2020
@stale stale bot removed the stale label Sep 14, 2020
@stale
Copy link

stale bot commented Nov 13, 2020

Hello 👋 Looks like there was no activity on this issue for the last two months.
Do you mind updating us on the status? Is this still reproducible or needed? If yes, just comment on this PR or push a commit. Thanks! 🤗
If there will be no activity in the next two weeks, this issue will be closed (we can always reopen an issue if we need!). Alternatively, use remind command if you wish to be reminded at some point in future.

@stale stale bot added the stale label Nov 13, 2020
@stale
Copy link

stale bot commented Jan 16, 2021

Hello 👋 Looks like there was no activity on this issue for the last two months.
Do you mind updating us on the status? Is this still reproducible or needed? If yes, just comment on this PR or push a commit. Thanks! 🤗
If there will be no activity in the next two weeks, this issue will be closed (we can always reopen an issue if we need!). Alternatively, use remind command if you wish to be reminded at some point in future.

@stale stale bot added the stale label Jan 16, 2021
@stale
Copy link

stale bot commented Jan 30, 2021

Closing for now as promised, let us know if you need this to be reopened! 🤗

@stale stale bot closed this as completed Jan 30, 2021
@yeya24
Copy link
Contributor

yeya24 commented Jan 31, 2021

Still valid

@yeya24 yeya24 reopened this Jan 31, 2021
@stale stale bot removed the stale label Jan 31, 2021
@yashrsharma44
Copy link
Contributor

Hey @bwplotka
Can you elaborate on this - link

What I mean is to not expand all of chunks and only then process query, just instead one, process sample, then another and process those and another etc... (streaming)

@stale
Copy link

stale bot commented Jun 5, 2021

Hello 👋 Looks like there was no activity on this issue for the last two months.
Do you mind updating us on the status? Is this still reproducible or needed? If yes, just comment on this PR or push a commit. Thanks! 🤗
If there will be no activity in the next two weeks, this issue will be closed (we can always reopen an issue if we need!). Alternatively, use remind command if you wish to be reminded at some point in future.

@stale stale bot added the stale label Jun 5, 2021
@stale
Copy link

stale bot commented Jun 19, 2021

Closing for now as promised, let us know if you need this to be reopened! 🤗

@stale stale bot closed this as completed Jun 19, 2021
@yeya24 yeya24 reopened this Jun 20, 2021
@stale stale bot removed the stale label Jun 20, 2021
@yeya24
Copy link
Contributor

yeya24 commented Jun 20, 2021

#4275 fixes this

@stale
Copy link

stale bot commented Aug 21, 2021

Hello 👋 Looks like there was no activity on this issue for the last two months.
Do you mind updating us on the status? Is this still reproducible or needed? If yes, just comment on this PR or push a commit. Thanks! 🤗
If there will be no activity in the next two weeks, this issue will be closed (we can always reopen an issue if we need!). Alternatively, use remind command if you wish to be reminded at some point in future.

@stale stale bot added the stale label Aug 21, 2021
@stale
Copy link

stale bot commented Sep 4, 2021

Closing for now as promised, let us know if you need this to be reopened! 🤗

@stale stale bot closed this as completed Sep 4, 2021
@yeya24 yeya24 reopened this Oct 1, 2021
@stale stale bot removed the stale label Oct 1, 2021
@stale
Copy link

stale bot commented Jan 9, 2022

Hello 👋 Looks like there was no activity on this issue for the last two months.
Do you mind updating us on the status? Is this still reproducible or needed? If yes, just comment on this PR or push a commit. Thanks! 🤗
If there will be no activity in the next two weeks, this issue will be closed (we can always reopen an issue if we need!). Alternatively, use remind command if you wish to be reminded at some point in future.

@stale stale bot added the stale label Jan 9, 2022
@GiedriusS GiedriusS removed the stale label Jan 10, 2022
@stale
Copy link

stale bot commented Apr 17, 2022

Hello 👋 Looks like there was no activity on this issue for the last two months.
Do you mind updating us on the status? Is this still reproducible or needed? If yes, just comment on this PR or push a commit. Thanks! 🤗
If there will be no activity in the next two weeks, this issue will be closed (we can always reopen an issue if we need!). Alternatively, use remind command if you wish to be reminded at some point in future.

@stale stale bot added the stale label Apr 17, 2022
@GiedriusS GiedriusS removed the stale label Apr 17, 2022
@stale
Copy link

stale bot commented Sep 21, 2022

Hello 👋 Looks like there was no activity on this issue for the last two months.
Do you mind updating us on the status? Is this still reproducible or needed? If yes, just comment on this PR or push a commit. Thanks! 🤗
If there will be no activity in the next two weeks, this issue will be closed (we can always reopen an issue if we need!). Alternatively, use remind command if you wish to be reminded at some point in future.

@stale stale bot added the stale label Sep 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants