Replies: 1 comment 3 replies
-
|
Thanks for the post. This is something that is already implemented using custom task scheduler. So, the DNS resolver and the DNS server both use a separate task scheduler to avoid any such issues that may come due to too many tasks being generated. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Currently, apps work async and manage their background worker tasks with timers and tasks. It's likely to hit a concurrency tax f high number of parallel tasks managed by the same service.
Therefore, I suggest a background worker wrapper, preferably around Quartz, so that both the DNS server and the apps add the background worker jobs to the said worker queue. It decouples non-DNS tasks like background updates, log exporting, batch jobs, etc, from DNS server, keeping it lean and mean. It would also simplify developing apps as taks just need to be subscribed to the shared global background worker, and running them would be another component's concern.
Beta Was this translation helpful? Give feedback.
All reactions