Chapter 7. The ACE Synchronous Event Demultiplexing Wrapper Facades

Chapter Synopsis

This chapter describes the ACE wrapper facades that encapsulate OS synchronous event demultiplexing mechanisms with portable C++ classes. We also present several new and improved versions of our networked logging server that apply these ACE wrapper facades.

7.1 Overview

Section 5.1 discussed server concurrency dimensions, with the reactive server on page 106 being one of the design choices. The reactive server model can be thought of as "lightweight multitasking," where a single-threaded server communicates with multiple clients in a round-robin manner without introducing the overhead and complexity of threading and synchronization mechanisms. This server concurrency ...

Get C++ Network Programming, Volume 1: Mastering Complexity with ACE and Patterns now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.