Skip to content

Design Patterns

In software engineering, a software design pattern is a general, reusable solution to a commonly occurring problem within a given context in software design.

Software Design Patterns

https://en.wikipedia.org/wiki/Software_design_pattern

Event Handling

event-handling

Reactor

The Reactor pattern allows event-driven applications to demultiplex and dispatch synchronously and serially service requests that are received simultaneously from one or more clients.

Preactor

The Proactor pattern allows event-driven applications to demultiplex and dispatch service requests in an efficient asynchronous way.

Concurent Design Pattern

Refer Vol2

https://github.com/ppizarro/coursera/tree/master/POSA/Books/Pattern-Oriented%20Software%20Architecture

Active Object

Lavender R. Greg, Schmidt Douglas C, "Active Object - an Object Behavioral Pattern for Concurrent Programming"

active-obj

Thread Pool

also called a replicated workers or worker-crew model

thread_pool

Messaging System

Back to top