Two design patterns for data-parallel computation based on master-slave model

Kuo Chan Huang, Feng-Jian Wang, Jyun Hwei Tsai

Research output: Contribution to journalArticlepeer-review

2 Scopus citations


This paper presents two design patterns useful for parallel computations of master-slave model. These patterns are concerned with task management and parallel and distributed data structures. They can be used to help addressing the issues of data partition and mapping, dynamic task allocation and management in parallel programming with the benefit of less programming efforts and better program structures. The patterns are described in object-oriented notation, accompanied with illustrative examples in C++. We also provide our experience in applying these patterns to two scientific simulation programs simulating Ising model and plasma physics respectively. Since master-slave model is a widely used parallel programming paradigm, the design patterns presented in this paper have large potential application in parallel computations.

Original languageEnglish
Pages (from-to)197-204
Number of pages8
JournalInformation Processing Letters
Issue number4
StatePublished - 28 May 1999


Dive into the research topics of 'Two design patterns for data-parallel computation based on master-slave model'. Together they form a unique fingerprint.

Cite this