Single Producer Single Consumer Lock-free FIFO From the Ground Up - Charles Frasch - CppCon 2023

Описание к видео Single Producer Single Consumer Lock-free FIFO From the Ground Up - Charles Frasch - CppCon 2023

https://cppcon.org/
---

Single Producer Single Consumer Lock-free FIFO From the Ground Up - Charles Frasch - CppCon 2023
https://github.com/CppCon/CppCon2023

In this session we will construct a Single Producer Single Consumer Lock-free Wait-free Fifo from the ground up. But why write our own if we can get one from reliable sources such as Boost.Lockfree? There are a couple of answers to this question.

Writing such a fifo is a fairly gentle introduction to lock free programming.
There are some interesting performance optimizations that can be made.
There may be some specific requirements that are not met in out-of-the box implementations.

In the presentation we will first develop a simple circular fifo. Next we will make it thread-safe as well as lock-free and wait-free. After that we will address issues associated with cache coherency and false sharing in particular. We will show a few additional optimizations that can be added as needed to meet specific requirements. Finally, the performance of our fifo will be compared with a few out of the box implementations. Along the way we will touch on subjects such as thread safety, data-races, false sharing, object lifetime, and relaxed atomics.
---

Charles Frasch

Charles Frasch is a Senior Core Developer with the IEX Group where he is working to re-platform their core trading infrastructure in modern c++. Charles has worked in the financial technology world for more than twenty years in areas such as high-frequency trading and low-latency, high-performance infrastructure.
__

Videos Filmed & Edited by Bash Films: http://www.BashFilms.com
YouTube Channel Managed by Digital Medium Ltd: https://events.digital-medium.co.uk
---

Registration for CppCon: https://cppcon.org/registration/

#cppcon #cppprogramming #cpp

Комментарии

Информация по комментариям в разработке