Jump to content

Scheduler pattern

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by TakuyaMurata (talk | contribs) at 21:31, 3 January 2003. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

In software development, Scheduler pattern is one of design patterns.


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