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

Pipeline of groups, message results stays in Storage Backend #194

Open
7 tasks
ComeBertrand opened this issue Jun 14, 2021 · 0 comments
Open
7 tasks

Pipeline of groups, message results stays in Storage Backend #194

ComeBertrand opened this issue Jun 14, 2021 · 0 comments

Comments

@ComeBertrand
Copy link
Contributor

Issues

Let's say you have a pipeline of groups:

my_group = remoulade.group([message_a, message_b])
my_pipeline = my_group | message_c

The message_c needs the results of both message_a and message_b, so those results are stored in the storage back-end (redis), but once message_c is completed those message results are never read again and will not be cleared from the storage before their expire time.

In the case of complex pipelines with large message results this leads to the storage being clogged up very quickly.

A solution to this would be to forget the results of message_a and message_b once message_c has completed.

Checklist

  • Does your title concisely summarize the problem?
  • Did you include a minimal, reproducible example?
  • What OS are you using?
  • What version of Remoulade are you using?
  • What did you do?
  • What did you expect would happen?
  • What happened?

What OS are you using?

Archlinux baby

What version of Remoulade are you using?

What did you do?

What did you expect would happen?

What happened?

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