Wangle — an asynchronous C++ networking and RPC library
Apr 20, 2016James Sedgwick

Summary
This post introduces Wangle, an asynchronous C++ networking and RPC library inspired by Netty and Finagle. It details Wangle's asynchronous building blocks (folly/io/async, Futures), concurrency primitives (CPUThreadPoolExecutor, IOThreadPoolExecutor with LIFO semaphores and MPMC queues), and the pipeline/codec concept for data transformation. It also covers ServerBootstrap and ClientBootstrap for managing connections and provides a concrete example of a file streaming server that offloads blocking disk reads to the global CPU pool.