Scheduler pattern: Difference between revisions

Content deleted Content added
No edit summary
redirecting to Scheduling (computing), which covers the same topic; the only source I can find for scheduling as a design pattern is the self-published http://www.c2.com/cgi/wiki?SchedulerPattern, which treats everything as a pattern
 
(20 intermediate revisions by 16 users not shown)
Line 1:
#REDIRECT [[Scheduling (computing)]]
In software development, '''Scheduler pattern''' is one of [[design pattern]]s.
 
 
When there are concurrent requests for a resource, it is necessary to synchronize access.
 
'''Therefore,'''
 
Implement a ''scheduler'' that selects which request will be allowed to execute next.
 
Scheduling policies may be first-come/first-served, priority-based, or otherwise.
 
Using the StrategyPattern, one can customize the behavior of the scheduler for particular configurations or applications.
 
Consider the CommandPattern for representation of queued requests.
 
'''Other Related Patterns:''' LockPattern, ReadWriteLock, MediatorPattern, InterruptibleCommand, ReactorPattern
----
CategoryPattern | CategoryConcurrencyPatterns