Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Multi-Producer Multi-Consumer Lock-Free Atomic Queue Implementation in C++

CppCon via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Explore a technical conference presentation that delves into the implementation of a multi-producer, multi-consumer, lock-free queue with unique characteristics in C++17. Learn about the queue's implementation using std::atomic features and CPU atomic instructions, while understanding its portability across different CPU architectures. Discover how this efficient message queue-based communication system can optimize performance in multi-threaded applications, particularly beneficial for trading platforms, games, and audio processing with strict latency requirements. Examine the queue's design, template language features, bandwidth considerations, and latency optimization through multiple demo applications. Compare benchmark results with existing queue implementations and discuss future improvements. Access comprehensive materials including C++17 source code, slides, benchmarks, and demo applications through the provided GitHub repository.

Syllabus

User API & C++ Implementation of a Multi Producer, Multi Consumer, Lock Free, Atomic Queue - CppCon

Taught by

CppCon

Reviews

Start your review of Multi-Producer Multi-Consumer Lock-Free Atomic Queue Implementation in C++

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.