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

Load testing #147

Open
tbglazer opened this issue Aug 15, 2022 · 1 comment
Open

Load testing #147

tbglazer opened this issue Aug 15, 2022 · 1 comment

Comments

@tbglazer
Copy link

We use mq-mqi-nodejs 0.9.17 in a ms that receives HTTP requests from clients puts them on a queue and waits for response on another queue using the request message id.
Sending single requests works well, but when load testing by sending several requests at a time the MQ GET gets stuck after a random number of requests (even that a timeout is specified in the get request) and freezes the application.
Moreover, in one case it returned the wrong data belonging to another request.
My question is: did you ever performed tests of the package in a scenario that I described ?
To solve temporarily we did a very nasty workaround by putting the GET inside a section locked with a mutex but this makes all
requests to be executed sequentially which is not how it should work.

@ibmmqmet
Copy link
Collaborator

I have done some stress testing, though it's not likely to be an exact match for yours. There was a fix put into v0.9.23 that affected some of the async retrieval. Tt doesn't immediately sound like the same thing, but it might help.

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

2 participants