Loading…
C++Now 2014 has ended
Please visit the C++Now website.
Wednesday, May 14 • 9:00am - 10:30am
The Optimization of a Boost.Asio-Based Networking Server

Log in to save this to your schedule and see who's attending!

Yandex is one of the biggest internet companies in Russia, providing network interactive services, such as web search, e-mail, maps, photo hosting, and so on. Our team develops the e-mail backend, which receives, processes, and sends more than 50 million messages per day for over 6 million active users.

In this talk, we examine a series of Boost-based solutions to tackle these tasks and their effect on performance. We start with a simple Asio + Spirit implementation, discuss its problems and limitations, and then propose workarounds and optimizations. In particular, we show how various reactor patterns affect performance and how the use of coroutines and our specially crafted smart streambufs can help save memory and CPU resources.

(We wish to acknowledge the efforts of Alexander Drachevskiy, who was instrumental in creating this presentation and the code on which it is based, and was to deliver the presentation, but was unable to attend the conference.)

Speakers
avatar for Nikita Chumakov

Nikita Chumakov

Yandex LLC
Nikita Chumakov was born in Moscow, Russia, where he attended the State University Department of Computational Mathematics and Cybernetics. He began programming with Pascal in the mid-80s, but quickly switched to C and Unix system programming. Nikita is a C++ programmer who has... Read More →
avatar for Sergei Khandrikov

Sergei Khandrikov

Developer, Yandex LLC
Sergei Khandrikov has over 10 years of experience in software engineering and C++ development. He has been a backend C++ developer on the Web Mail Interface team at Yandex, LLC, since 2011. Sergei graduated from Bauman Moscow State Technical University as a specialist in robotics... Read More →


Wednesday May 14, 2014 9:00am - 10:30am
Bethe

Attendees (0)