1/9
Flashcards covering key concepts from the lecture notes on the Pool Of Workers and Boss-Worker model.
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai |
|---|
No analytics yet
Send a link to your students to track their progress
Queue Structure
A format for managing tasks where a boss thread inserts work requests into a queue.
Throughput
The amount of work completed in a given time frame, which decreases if the queue is full.
Worker Pool
A group of pre-created threads capable of handling tasks, which improves efficiency.
Dynamic Sizing
The ability to increase the size of the worker pool based on demand rather than a predetermined fixed amount.
Boss-Worker Model
A system where a boss assigns tasks to workers, who carry out the tasks using shared resources.
Producer Consumer Queue
A data structure where tasks are produced by the boss and consumed by the workers.
Locality Optimization
A potential efficiency improvement where workers perform similar tasks more effectively due to familiarity or available resources.
Synchronization Overheads
The additional processing required to manage access to shared resources in a concurrent system.
Dynamic Thread Creation
The process of adding more threads as tasks increase, rather than maintaining a static amount.
Shared Buffer
A common storage area where both the boss and workers can access tasks in the queue.