Open sardaukar opened 9 years ago
Thanks! Glad you enjoy it. I'll take a look this weekend and see if I can see what is going on.
@sardaukar It looks like you have a found a use-case way that qup+redis doesn't work so well. You are creating a huge number of topics, and the way the current way the redis adapter is implemented is that each topic gets its own connection to redis. In your use-case you are creating a number of topics, one for each request it looks like.
So, at the moment, qup probably won't work for this particular use case. I can change it, and have created issue #20 to address this. I should get to it before the end of the week. If you feel like working on it yourself, I'm happy to accept pull requests.
I'll give it a shot. Thanks for having a look!
Excellent, I look forward to your pull request :smile:
I have one open now (https://github.com/copiousfreetime/qup/pull/21). Would appreciate your help with the tests :/
Hello!
Thanks for qup, it looks cool. I've tried using it, but I run out of Redis sockets after a while, so I'm missing some cleanup somewhere.
I have a test repo up here with code exemplifying the problem. Just run
bundle
, start the worker and the app, and run./abuse.sh
, which calls curl in an endless stream of requests.My worker's output:
Since I'm removing the topic, I have no idea what cleanup I am missing. Thanks for any help!