Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Worker design pattern [closed]

What is "worker" design pattern?

like image 318
lital maatuk Avatar asked Feb 09 '11 13:02

lital maatuk


1 Answers

It could be that you are after a worker thread pattern, where you use a queue to schedule tasks that you want to be processed "offline" by a worker thread. Some solutions will use a pool of worker threads instead of single thread to achieve performance gains by utilising paralelisation.

like image 181
Dalibor Novak Avatar answered Oct 15 '22 16:10

Dalibor Novak