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

Make it easier to implement new queue backends #15

Open
retpolanne opened this issue Oct 1, 2019 · 0 comments
Open

Make it easier to implement new queue backends #15

retpolanne opened this issue Oct 1, 2019 · 0 comments

Comments

@retpolanne
Copy link
Contributor

Currently, Mitose only supports SQS, and all the logic is based on the SQS controller. In other words, there's a bunch of reusable functions on the SQS controller which aren't supposed to be there. The only thing that should be queue backend-specific is how we gather the number of messages unacked/undelivered (or visible/in-flight).

It would be great if we could reuse these functions:

  • CalcDesiredReplicas
  • Autoscale

And GetMetrics would be queue backend-specific.

@retpolanne retpolanne mentioned this issue Apr 27, 2020
5 tasks
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