Requests are not properly answered
louiskirsch opened this issue · 6 comments
louiskirsch commented
Requests are kept as pending and make http library return http code -1
How to reproduce:
- Use https://github.com/KDD-OpenSource/fexum-frontend/tree/feature/experiment-upstream
- set a target
- click on a few features
- refresh pretty soon afterwards
- Look into Chrome Network tab
Possible problem:
Maybe the celery queue blocks requests being answered?
nikriek commented
We should have some kind of real time queue
louiskirsch commented
Do you know the reason why it blocks entire requests?
nikriek commented
Yes, because it's a one queue. if other tasks are still running, the "real-time" calc has to wait. The solution would be to create another queue
louiskirsch commented
I think we shouldn't put blocking requests into queues at all.
If we do, we need some kind of guarantee that the item is quickly dealt with.
louiskirsch commented
Sooo... how do we deal with this? @nikriek @juliuskunze @Lichtso @marcuspappik @xasetl
nikriek commented
Still an issue?