Seastar
POCO
Our great sponsors
Seastar | POCO | |
---|---|---|
25 | 14 | |
7,954 | 7,829 | |
1.4% | 1.7% | |
9.7 | 9.6 | |
7 days ago | 1 day ago | |
C++ | C++ | |
Apache License 2.0 | THE BOOST SOFTWARE LICENSE 1.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.
Seastar
-
I want to share my latest hobby project, dbeel: A distributed thread-per-core nosql db written in rust
I used glommio as the async executor (instead of something like tokio), and it is wonderful. For people wondering whether it's "good enough" or to use C++ and seastar (as I have thought about a lot before starting this project), take the leap of faith, it's fast - both in terms of run time and to code.
-
How much reason is there to be multi-threaded in the k8s environment
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.
-
Are You Sure You Want to Use MMAP in Your Database Management System?
The most common example is DPDK [1]. It's a framework for building bespoke networking stacks that are usable from userspace, without involving the kernel.
You'll find DPDK mentioned a lot in the networking/HPC/data center literature. An example of a backend framework that uses DPDK is the seastar framework [2]. Also, I recently stumbled upon a paper for efficient RPC networks in data centers [3].
If you want to learn more, the p99 conference by ScyllaDB has tons of speakers talking about some interesting challenges.
-
Why does Actix-web's handler not require Send?
I assume Tokio itself, see e.g monoio or glommio, but also Seastar for C++.
-
What are some C++ projects with high quality code that I can read through?
Seastar which is a thread per core runtime written by the Scylla devs thats used in both Redpanda and Scylla as the underlying runtime. https://github.com/scylladb/seastar
-
Modern JVM Multithreading • Paweł Jurczenko • Devoxx Poland 2021
I’ve seen frameworks for c++ (https://seastar.io/) and rust (https://github.com/actix/actix) which support what you’re describing out of the box.
-
Who is using C++ for web development?
If you're interested in scaling and asynchronous programming in c++ I highly recommend you investigate the SeaStar application framework. You wouldn't build a web service with SeaStar, rather you would build the infrastructure that you would use to build the web service on top of. https://github.com/scylladb/seastar
-
Why we built our streaming data platform in C++
C++ also allows us to control as much as possible from the platform. Through the efficiency of our own code, combined with the amazing Seastar framework and other best-in-class libraries, Redpanda speaks directly to the hardware. It only depends on the Linux kernel to launch the process, after which Redpanda is very deterministic in terms of performance, runtime characteristics, memory utilization, and CPU speed. We own the entire end-to-end experience, which provides safety and allows Redpanda to build impactful products.
- Do Not Let C++ Become A Victim Of Suggestive Terminology
-
How to make an HTTP client from scratch
The Seastar framework offers a great HTTP server implementation, which is used by ScyllaDB and Redpanda. However, Seastar doesn’t have an HTTP client library that can be easily used with Seastar framework. So we made one.
POCO
- What are some C++ projects with high quality code that I can read through?
-
What is the best option to do networking in c++?
You can also look into Poco https://pocoproject.org/
-
Is C/C++ good for the backend? If so, is there anything like Fastapi in C/C++?
I can't say enough good stuff about POCO for this type of work - when I first got my teams using it we used to joke that POCO was what Boost wants to be when it grows up. And nlohmann/json - cracking library for working with JSON in C++.
-
Who is using C++ for web development?
Did someone used Poco's Net Library to create a Rest Api? Poco Project
-
Can you recommend a good C++ open source project?
poco (portable components) https://pocoproject.org/
- CMake + Poco + FetchContent build options problem
-
The Curse of NixOS
Many of the necessary fixes do end up getting pushed upstream, though, thinking especially of stuff like converting CMake projects to use the GNUInstallDirs standard, so there is a benefit to the strictness work that extends beyond even just the Nix community itself.
Of course, sometimes those kinds of changes just never get merged, for a variety of well-understood open-sourcey reasons, eg: https://github.com/pocoproject/poco/pull/3105
-
How and where I can learn about Web sockets, APIs, Wrappers to connect with my C++ code?
Depends. I'd recommend spending 15 minutes browsing the documentation for sys/socket.h so you know enough of the basics, and then get started with a high-level framework depending on your needs. libcurl is amazing, but might not be optimal for your use-case. It might also be worth considering learning Boost.Asio or the new experimental::net proposal for C++23. If you need a major, integrated solution as part of a larger app already using a toolkit, POCO or Qt can work well. ZeroMQ is also amazing for specialized cases.
- Ask HN: Best stack for cross-platform desktop app?
-
What to do after intermediate c++ ? [ PLEASE GIVE ME IDEA ME BUILDING APPLICATION]
POCO .............
What are some alternatives?
Boost.Beast - HTTP and WebSocket built on Boost.Asio in C++11
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.
libcurl - A command line tool and library for transferring data with URL syntax, supporting DICT, FILE, FTP, FTPS, GOPHER, GOPHERS, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, MQTT, POP3, POP3S, RTMP, RTMPS, RTSP, SCP, SFTP, SMB, SMBS, SMTP, SMTPS, TELNET, TFTP, WS and WSS. libcurl offers a myriad of powerful features
Simple-WebSocket-Server
Boost.Asio - Asio C++ Library
WebSocket++ - C++ websocket client/server library
Folly - An open-source C++ library developed and used at Facebook.
glommio - Glommio is a thread-per-core crate that makes writing highly parallel asynchronous applications in a thread-per-core architecture easier for rustaceans.
Mongoose - Embedded Web Server
Simple-Web-Server
drogon - Drogon: A C++14/17/20 based HTTP web application framework running on Linux/macOS/Unix/Windows