Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
the only thing i know that is designed to handle millions of concurrent network connections would be Elixir based on Erlang.
(Erlang was designed by ericson for cellphone antennas)
It's obviously not c++ but maybe it's what you need?
Webframework
https://phoenixframework.org/
Wikipedia - Elixir Language
https://en.wikipedia.org/wiki/... -
vane112846yI don’t do c++ but look after libevent or libevent vs ..... search suggestions
Ex. https://kukuruku.co/post/... -
mt3o19146yWell, nginx itself works nicely with that amount of connections, but if you want to have one program to do everything, including handing the connections, erlang / elixir is a great idea. Or just java :D
-
Okay, jokes aside, there are also:
* Asynchronous Network Library
http://asio.sourceforge.net/
* Adaptive Communication Patterns Library
http://libassa.sourceforge.net/
* Ccnet (framework for writing networked applications in C)
https://github.com/haiwen/ccnet
* nacl (high-speed software library for network communication)
http://nacl.cr.yp.to/
* net6 (Network access framework for IPv4/IPv6 written in C++)
http://gobby.0x539.de/
* wvstreams (network programming library in C++)
https://github.com/apenwarr/...
This list comes from a swift and brief search. I do not know which of those, if any, suits your needs, but they are worth a look anyway. ;-) -
rytzpekt2756yNanomsg nextgen is what you are looking for. Socket based and handles all common messaging patterns. Just read the feature list on the GH page.
https://github.com/nanomsg/nng
Related Rants
-
xjose97x19Just saw a variable in C named like this: long time_ago; //in a galaxy far away I laughed no stop.
-
Unskipp24So this happened last night... Gf: my favorite bra is not fitting me anymore Me: get a new one ? Gf: but it ...
-
kwameboame5*yesterday* Client: "Perfect! How did you do this so quickly?" Me: "I used a library" *today* Me: "I'm still d...
Any good async (if possible, also pipeline based) Networking libraries for C++ on Linux? I want to create a small Server which should be able to handle a big amount of TCP connections (~500) at the same time, using threadpools maybe, something like Netty for Java would be the best.
question
networking
c++
library