Tag: Boost.Asio
3 posts
-
Chat Server Architecture in C++: Scaling Out with Pub/Sub, Presence, Backpressure and Reconnects [#50-1]
Scale a C++ chat server past one process: gateway tiers, pub/sub fan-out, per-room sequence numbers, TTL-based presence, backpressure and jittered reconnects.
-
Asio Deadlock Debugging: Async Callbacks, Locks, and Strands
Hidden deadlocks in Boost.Asio: mutex + condition_variable with async completion, lock ordering, and fixes with strands, std::lock, and thread dumps.
-
Boost.Asio Introduction: io_context and async_read
Learn Asio async I/O for C++: io_context, async_read, async_write, async_accept, steady_timer, error_code handling, shared_ptr buffers, and strand basics.