C++ Async

Open-source C++ projects categorized as Async

Top 23 C++ Async Projects

  • Seastar

    High performance server-side application framework

    Project mention: How much reason is there to be multi-threaded in the k8s environment | /r/scala | 2023-07-04

    b) It's proven now e.g Seastar, Glommio that the fastest way to run a multi-threaded application is to have one instance with one thread pinned per CPU core. Then to have fibers/lightweight threads on top handling all of the asynchronous code. Your approach of lots of instances is the slowest so there will be a ton of unnecessary thread context-switching.

  • C++ REST SDK

    The C++ REST SDK is a Microsoft project for cloud-based client-server communication in native code using a modern asynchronous C++ API design. This project aims to help C++ developers connect to and interact with services.

    Project mention: What is the industry standard today in C++ to deploy REST microservices in Kubernetes? | /r/cpp | 2023-09-06

    My favourite was Microsoft's cpprestsdk, but for some reason now is in maintenance mode, I don't know why, so it's hard to suggest it for new projects. A nice alternative is restc-cpp, that's has a good high-level interface, if this is what you want.

  • InfluxDB

    Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.

  • C++ Actor Framework

    An Open Source Implementation of the Actor Model in C++

    Project mention: C++ Jobs - Q3 2023 | /r/cpp | 2023-07-04

    CAF

  • cppcoro

    A library of C++ coroutine abstractions for the coroutines TS

    Project mention: Struggle with C++ 20 Coroutines | /r/cpp_questions | 2023-05-13

    PS: Take a look at cppcoro; this might help as well, especially generator<>, if you're looking to generate numbers, and stuff;

  • userver

    The C++ Asynchronous Framework

    Project mention: Rust vs Go/JVM: dev speed + safety in practice | /r/rust | 2023-06-25

    They recently open sourced internal framework: https://github.com/userver-framework/userver

  • c-ares

    A C library for asynchronous DNS requests

    Project mention: Windows DNS with CNAME not resolving | /r/sysadmin | 2023-05-28

    I found that ... https://github.com/c-ares/c-ares/pull/93

  • Sming

    Sming - powerful open source framework simplifying the creation of embedded C++ applications.

    Project mention: Sming: Framework for Embedded C++ Applications | news.ycombinator.com | 2023-01-21
  • Onboard AI

    Learn any GitHub repo in 59 seconds. Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at www.getonboard.dev.

  • CppServer

    Ultra fast and low latency asynchronous socket server & client C++ library with support TCP, SSL, UDP, HTTP, HTTPS, WebSocket protocols and 10K connections problem solution

  • quill

    Asynchronous Low Latency C++ Logging Library (by odygrd)

    Project mention: quill v2.7.0 released - Asynchronous Low Latency C++ Logging Library | /r/u_Junior-Homework-4581 | 2023-02-06
  • G3log

    G3log is an asynchronous, "crash safe", logger that is easy to use with default logging sinks or you can add your own. G3log is made with plain C++14 (C++11 support up to release 1.3.2) with no external libraries (except gtest used for unit tests). G3log is made to be cross-platform, currently running on OSX, Windows and several Linux distros. See Readme below for details of usage.

  • continuable

    C++14 asynchronous allocation aware futures (supporting then, exception handling, coroutines and connections)

    Project mention: SAF, a scheduler aware future/promise (in the Asio ecosystem) | /r/cpp | 2022-12-21

    cool. how does this compare to https://naios.github.io/continuable/ ?

  • ext-openswoole

    Programmatic server for PHP with async IO, coroutines and fibers

    Project mention: [Blog] Unlocking the power of asynchronous PHP 💪 | /r/platform_sh | 2023-05-24

    One such promising solution is Swoole, a high-performance networking framework that helps PHP applications handle server-side tasks more effectively.

  • helio

    A modern framework for backend development based on io_uring Linux interface

  • qcoro

    C++ Coroutines for Qt

    Project mention: Qt Creator 10 Released | news.ycombinator.com | 2023-03-29

    You're not completely wrong, but I think this overstating things by a lot. I'll grant you the containers for example, but you can generally use STL algorithms with them. And plenty of old ways of doing things have left modern Qt-based codebases and moved to more modern ways of doing things, including a fair amount of moc macro usage (and yes, you can remove the moc these days, but it has different perf characteristics - cf. the verdigris project).

    The community around Qt is pretty active at adopting modern C++, e.g. imho https://github.com/danvratil/qcoro is leading work.

  • YACLib

    Yet Another Concurrency Library

  • mysql

    MySQL C++ client based on Boost.Asio (by boostorg)

    Project mention: What C++ library do you wish existed but hasn’t been created yet? | /r/cpp | 2023-07-08
  • idle

    Idle is an asynchronous and hot-reloadable C++ dynamic component framework

    Project mention: Scriptable Headless Player Bots and independent ECS in a Custom UE C++ Server for MMO(RPG)s. | /r/unrealengine | 2022-10-10
  • redis

    An async redis client designed for performance and scalability (by boostorg)

    Project mention: Build Your Own Redis with C/C++ | news.ycombinator.com | 2023-03-18

    [2] https://github.com/boostorg/redis/issues/53

  • node-gdal-async

    Node.js bindings for GDAL (Geospatial Data Abstraction Library) with full async support

    Project mention: GeoPicker | dev.to | 2023-01-25

    Geospatial dataset picker via fast http rest interface written in NodeJs for GDAL bindings and Fastify

  • packio

    An asynchronous msgpack-RPC and JSON-RPC library built on top of Boost.Asio.

    Project mention: Asio is great if you’re building a library/application with non-Asio API. But building Asio APIs using async compositions is too messy. Anybody else agree ? | /r/cpp | 2022-12-23

    That's not even helpful, as you usually read/write using composed ops and they will interleave anyway. To have an io object that's capable of correctly pipelining multiple concurrent write- or read-operations, you need a custom strand like this: https://github.com/qchateau/packio/blob/master/include/packio/internal/manual_strand.h

  • commandline

    A C++ commandline for use in servers and chat software. Provides very simple asynchronous input/output. (by lionkor)

  • QDeferred

    Qt C++ alternative for handling async code execution

  • gcl

    A graph concurrent library for C++ (by bloomen)

    Project mention: gcl v1.1 released - Graph Concurrent Library for C++ | /r/cpp | 2023-01-27
  • SonarCloud

    Analyze your C and C++ projects with just one click.. SonarCloud, a cloud-based static analysis tool for your CI/CD workflows, offers a one-click automatic analysis of C and C++ projects hosted on GitHub. Zero configuration and free for open-source projects! Analyze free.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-09-06.

C++ Async related posts

Index

What are some of the best open-source Async projects in C++? This list will help you:

Project Stars
1 Seastar 7,608
2 C++ REST SDK 7,580
3 C++ Actor Framework 2,995
4 cppcoro 2,934
5 userver 1,899
6 c-ares 1,661
7 Sming 1,384
8 CppServer 1,170
9 quill 916
10 G3log 853
11 continuable 804
12 ext-openswoole 755
13 helio 326
14 qcoro 224
15 YACLib 216
16 mysql 206
17 idle 194
18 redis 158
19 node-gdal-async 98
20 packio 92
21 commandline 78
22 QDeferred 69
23 gcl 62
Free Global Payroll designed for tech teams
Building a great tech team takes more than a paycheck. Zero payroll costs, get AI-driven insights to retain best talent, and delight them with amazing local benefits. 100% free and compliant.
try.revelo.com