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

Swap pika for aio-pika #56

Open
ric-evans opened this issue Nov 9, 2022 · 1 comment
Open

Swap pika for aio-pika #56

ric-evans opened this issue Nov 9, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request rabbitmq Affects the RabbitMQ / pika broker api

Comments

@ric-evans
Copy link
Contributor

ric-evans commented Nov 9, 2022

Currently while the rabbitmq backend technically has async functions, using them does nothing as the rabbitmq parts are synchronous. Switch to aio-pika to get the full async experience:

https://aio-pika.readthedocs.io/en/latest/quick-start.html

Note that this would help with #58, as you could then run multiple async sends in parallel.

@ric-evans ric-evans added the enhancement New feature or request label Nov 9, 2022
@ric-evans ric-evans self-assigned this Nov 9, 2022
@ric-evans ric-evans added the rabbitmq Affects the RabbitMQ / pika broker api label Nov 9, 2022
@ric-evans
Copy link
Contributor Author

This may solve the problem with heartbeats during long-running processing. TODO: check if aio-pika has a background heartbeat

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request rabbitmq Affects the RabbitMQ / pika broker api
Projects
None yet
Development

No branches or pull requests

1 participant