Hello, all
We intend to add a bigger number of timers to our OpenResty-based
application. The number of timers would be around 20-30 (anyway,
probably under 100).
I'm wondering if there are any concerns regarding the performance penalties:
- I understand that timers (light threads) are functioning by sharing
time in the same physical thread. Would this impact negatively the
performance of timers?
- would the code executed by timers will impact negatively the rest of
the tasks executed by NginX?
Each timer would execute some Redis queries and some mathematical
calculations. Nothing too difficult. I wanted to know your opinion on
this concept, or possible alternatives to this timers architecture.
Thank you
Bogdan Irimia