Results 8 comments of Igor Seleznev

Здравствуйте, Александр. Спасибо за курсы по java. Собеседование по java планирую пройти в конце января.

For clarity, I am attaching load testing schedules ![Image](https://github.com/user-attachments/assets/99a0aad8-71c5-4ed9-964b-435a75f37f45) left shedule - metric "processing_queue_size" from spring boot prometheus metrics middle schedule - metric "queue_size" from spring boot prometheus metrics right...

@sonus21 Thank you for your quick reply > If your requirement is to avoid processing them entirely, we can add specific properties in the code to enforce that. 1) Yes,...

> If I understand your requirement correctly, you want to poll the queues in priority order and stop as soon as no new messages are found in any of them,...

> The simplest fix is to disable the starvation check and observe if the behavior aligns with your requirement. Yes, maybe this will work

> I just read the code again, this is how it works it will process one message per minute for any queue, is it processing more than one per minute?...

> The simplest fix is to disable the starvation check and observe if the behavior aligns with your requirement. Unfortunately, this didn't solve my problem. Now I think it's not...

> But won’t this hurt performance? If we always poll high-priority first and then low-priority, won’t we end up repeatedly scanning from the top of the high-priority queue all the...