Half-Sync/Half-Async
The Half-Sync/Half-Async architectural pattern decouples asynchronous and synchronous service processing in concurrent systems, to simplify programming without unduly reducing performance. The pattern introduces two intercommunicating layers, one for asynchronous and one for synchronous service processing.
The Half-Sync/Half-Async pattern is often used in event-loops of servers or graphical user interfaces. The typical workflow of the event-loop is to accept the client or user event, insert the request into a queue and process the request synchronously in a separate thread. Accepting requests asynchronously ensures efficiency and the synchronous processing simplifies the processing of the request. The asynchronous and the synchronous service layers are decomposed into two layers and the queue coordinates between both. The asynchronous layer consists of the lower-level system services such as interrupts, whereas the synchronous...