Parallel Task Scheduling (1) – Jobs
There are more demands from different areas within a business requires things getting done quickly. Once way is to optimize the process to let it go faster, and another way is to have more hands on it...
View ArticleParallel Task Scheduling (2) – Jobs
In my last post Parallel Task Scheduling (1) – Jobs, I descibed the simplest way to schedule tasks to run in parallel. It’s inefficient. Most importantly, if we have 1000 + independent tasks to...
View ArticleParallel Task Scheduling (3) – Complex Ordering with SQL Jobs
In the real world, there are not only requirements on sequential or parallel process executions, but also requires complex ordering of the process executions. For instance, to complete a business...
View ArticleParallel Task Scheduling (4) – Service Broker
The biggest issue of using SQL jobs to schedule tasks is the resource consumption due to the inefficienct SQL cache utilization of SQL Server Agent. Service Broker in this case can be employed to...
View ArticleParallel Task Scheduling (5) – Task Conveyer
We have discussed using Service Broker as a task scheduler to read, load, and execute tasks from a queue. The issue of this approach is that the scheduler has to constantly searching the queue to find...
View ArticleParallel Task Scheduling (6) – Scheduled By Caller
In my last post of this series, I explain how to use message queue of service broker to deliver the tasks to and execute them at conversation target. We did not talk about complex ordering in that...
View ArticleParallel Task Scheduling (7) – Scheduled By Activator
There are always concerns while writing a multi-threading program. In the last post, the considerations are degree of parallelism and tasks starving from getting workers. Max threads for one scheduler...
View Article