Back to Security Pattern Catalog

Single Threaded Fa├žade

Classification Key : Perimeter Security


Even though multithreading improves performance, it requires careful resource management and synchronization. The processes communicating with outside environment are more vulnerable. Therefore they should be made simple in architecture. How can the processes be made simple?


The processes in the perimeter of the system should be such that they perform a single task. Again, they should be single-threaded because multi-threading involves complex resource management.

Known Uses

Postfix perimeter process pickup is single-threaded; other processes are multi-threaded to improve performance.


Hafiz et. al.


Threading, Multi-threading


Last modified: May 05, 2012

Conceived and Maintained by: Munawar Hafiz