
Master-Slave : An Architecture For Distributing Work
We switch gears in this episode and look at a pattern for getting work done. The master-slave pattern can be confused with the client-server. However, they are very different. The main difference is how the work flows through the system. The Master-Slave Pattern Defined This pattern is a way to get large jobs done. In contrast, the client-server pattern focuses on multiple users and requests. The master-slave pattern provides an example of delegating work within a system. The requests come into the master. Then, the master splits up the work into pieces that are farmed out to the slaves. When a slave completes the work, the results are sent back to the master. The master then puts together the results... Read more