lithium
asio-grpc
Our great sponsors
lithium | asio-grpc | |
---|---|---|
4 | 4 | |
1,218 | 323 | |
- | - | |
0.0 | 9.0 | |
7 months ago | 4 days ago | |
C++ | C++ | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
lithium
-
REST APIs using C++. (Is this even done much?)
You know what is curious? There is a lib with the same name of your user similar to httplib: https://matt-42.github.io/lithium/
-
C or C++ as web app backend?
Lithium
-
cpprestsdk in maintenance mode
If you need an embedded C++ HTTP server then there are plenty of libraries/frameworks (in random order): Crow, RESTinio, Boost.Beast, cpp-httplib, http_backend, Pistache, RestBed, served, proxygen, Simple-Web-Server, drogon, oat++.
-
Azure Active Directory reduced core count from ~40k to ~20k by migrating to .NET Core 3.1
#4 https://github.com/matt-42/lithium [Http Server]
asio-grpc
-
Generate gRPC source files using CMake
Since I can never remember what arguments to pass to protobuf_generate to create Protobuf and gRPC source files, I wrote an article about it. It provides a copy-paste-able code snippet along with an explanation of all arguments that protobuf_generate accepts, how to format it nicely using cmake-format and how to make things easier with asio-grpc.
-
Using Asio for asynchronous gRPC clients and servers
Asio-grpc makes exactly that possible by providing an Asio execution_context compatible interface to the CompletionQueue. It supports all types of RPCs (including generic ones), completion tokens, cancellation, as well as libunifex sender/receiver (if you want to try out what might become std::execution). The latest release (v1.7.0) also introduced a GrpcStream class for writing Rust/Golang select-style code.
-
DevBlog #1 - Poseidon
It hasn't been without issue, however. Problems that may lie in official google-maintained libraries are of course present and required design changes, and I was even prompted to write my own bitset library that outperforms the C++ standard's by a factor of 60. Madness. Right?
-
C++20 coroutines for asynchronous gRPC services
Or check out the asio-grpc repository directly if you are looking to write asynchronous gRPC services with the features of Boost.Asio like C++20 coroutines, std::futures, stackless coroutines, callbacks and Boost.Coroutines.
What are some alternatives?
drogon - Drogon: A C++14/17 based HTTP web application framework running on Linux/macOS/Unix/Windows [Moved to: https://github.com/drogonframework/drogon]
gRPC - The C based gRPC (C++, Python, Ruby, Objective-C, PHP, C#)
actix-web - Actix Web is a powerful, pragmatic, and extremely fast web framework for Rust.
concurrencpp - Modern concurrency for C++. Tasks, executors, timers and C++20 coroutines to rule them all
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.
RESTinio - Cross-platform, efficient, customizable, and robust asynchronous HTTP(S)/WebSocket server C++ library with the right balance between performance and ease of use
Crow - A Fast and Easy to use microframework for the web.
Restbed - Corvusoft's Restbed framework brings asynchronous RESTful functionality to C++14 applications.
Oat++ - 🌱Light and powerful C++ web framework for highly scalable and resource-efficient web application. It's zero-dependency and easy-portable.
libunifex - Unified Executors
cpp-httplib - A C++ header-only HTTP/HTTPS server and client library
drachtio-freeswitch-modules - A collection of open-sourced freeswitch modules that I use in various drachtio applications