Skip to content
This repository has been archived by the owner on Dec 19, 2023. It is now read-only.

Move Queues out of Python #37

Open
xanderdunn opened this issue Nov 12, 2017 · 0 comments
Open

Move Queues out of Python #37

xanderdunn opened this issue Nov 12, 2017 · 0 comments

Comments

@xanderdunn
Copy link
Contributor

xanderdunn commented Nov 12, 2017

I've created a FIFO queue api-ml-production.fifo. It's guaranteed to deliver each message only once. Each message has hidden visibility for 2 minutes after it's been received by a consumer. This means we could have many submission-criteria instances running and if one of them were to fail and not mark the message as completed within 2 minutes, the message would become available in the queue for another consumer to receive. This wait time can be modified.

boto library to interact with it.

api-tournament should put it into the queue and then submission-criteria should be restructured so that it isn't a server at all, but simply checks the FIFO queue in a loop.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant