When you have only one query with one source, scheduling is not a thing to think about, in other cases some options can be done by configuring the scheduler.
Scheduling in Odysseus has two parts:
- Choose the query to schedule. This is done with the scheduler
- Scheduler the plan of the query. This is done with the scheduling strategy
In ODYSSEUS_HOME a file called scheduling.conf defines the basic scheduling mechanisms:
defaultScheduler=<SCHEDULER>
defaultStrat=<SCHEDULING STRATEGY>
List of currently available Schedulers:
- ST Scheduler RR MS Limit Thread
- Single Thread Scheduler RR Multi Source
- Single Thread Scheduler RR
- Simple Dynamic Priority Scheduler
- Static Priority Plan Scheduler
List of currently available Scheduling Strategies:
- Aurora Min Latency
Parameter (in odysseus.conf)
- scheduler_simpleThreadScheduler_executorThreadsCount
- Scheduler.Simplethreaded.SourceThreadCount
- Scheduler.Simplethreaded.SourcesPerThread