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

MIG Mongo Queue #331

Open
JoeBatt1989 opened this issue Feb 9, 2023 · 3 comments
Open

MIG Mongo Queue #331

JoeBatt1989 opened this issue Feb 9, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@JoeBatt1989
Copy link

Description
MIG is currently using Mongo for persistence but it is also using it for resiliency. This caused an issue in SIT when we rebuilt the environment because as MIG started it started to read from an internal Mongo queue for data which no longer existed in minio. This caused errors in the logs but from a users perspective they would never know as MIG was still able to process incoming associations and added them to the bottom of its internal queue.

Suggestion is that moving the internal queue to rabbit is a better solution and provides more resiliency and observability to this issue making it easier to maintain.

Additional Information

@JoeBatt1989 JoeBatt1989 added the bug Something isn't working label Feb 9, 2023
@mocsharp
Copy link
Collaborator

mocsharp commented Feb 9, 2023

@JoeBatt1989 have you tested the latest release https://github.com/Project-MONAI/monai-deploy-informatics-gateway/releases/tag/0.3.8?

In 0.3.8, at startup, MIG would clear any pending payloads that were created by the same instance by using the machine name.

And yes, the database is used for resiliency but it shall not affect the performance as an in-memory queue is used.

@mocsharp
Copy link
Collaborator

@JoeBatt1989 are we okay closing this issue?

@JoeBatt1989
Copy link
Author

@mocsharp we were still seeing the issue on GSTT prod, I will gather some details and make sure we have the right deployment etc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants