nng
nsq
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.
nng
- nng is "nanomsg next generation", a wire-compatible C99 rewrite of the C library libnanomsg, with a similarly permissive MIT license. Pub/Sub, RPC-style Request/Reply, or Service Discovery, without worrying about details like connection management or retries.
-
RPC lib?
I just published the other day some bindings to the NNG message passing library (https://nng.nanomsg.org/). You can do request/reply, publish/subcribe and other communication patterns. It's trivial to serialize (with Binary for example) any data structure and pass it around the network:
-
[ANN] nng: Bindings for NNG (https://github.com/nanomsg/nng)
I put together quickly a binding to the NNG! library, it's simply a fork of the existing binding to Nanomsg! updated to work with NNG using the "compatible API". For basic usage seems to work pretty well:
-
Neovim architecture
I’m considering using msgpack + nng or msgpack + zmq
-
Any good lightweight c++ local socket library for embedded Linux?
I've found NNG to be high quality, also has less restrictive license. https://nng.nanomsg.org/
-
What is the best (and easy) way to make 2 different python projects communicate? They are on the same server for now but have different conda envs.
for communication between a Discord bot and other applications on the same machine I have used ZeroMQ - relatively easy to use, very portable but still flexible enough. (I've heard though that ZeroMQ has been somewhat superseded by nng nowadays)
-
I hate ASIO and I can't be alone.
I agree with this, but would add NNg as a good messaging library. It’s the successor to the spiritual successor of ZeroMQ.
- NNG – nanomsg-NG (rewrite of nanomsg)
-
How to use socket programming in cpp to chat over the same Wi-Fi network
you can also look into https://github.com/nanomsg/nng
nsq
- NSQ: Open-source realtime distributed messaging, billions of messages / day
-
MQTT vs. Kafka: An IoT Advocate's Perspective
Interesting. What are you thoughts on NSQ?
https://github.com/nsqio/nsq
Was looking at it earlier today, but haven't ever tried it out.
-
Any thoughts on using Redis to extend Go's channels across application / machine boundaries?
(G)NATS can do millions of messages per second and is the right tool for the job (either that or NSQ). Redis isn't even the fastest Redis protocol implementation, KeyDB significantly outperforms it.
-
FileWave: Why we moved from ZeroMQ to NATS
Bit.ly's NSQ is also an excellent message queue option.
-
Infinite loop pattern to poll for a queue in a REST server app
Queue consumers are interesting because there are many solutions for them, from using Redis and persisting the data in a data store - but for fast and scalable the approach I would take is something like SQS (as I advocate AWS even free tier) or NSQ for managing your own distributed producers and consumers.
- NSQ – A realtime distributed messaging platform
-
What are pros and cons of Go?
distrubition server engine ( for example websocket server multi ws gateway and worker pool,nsq.io realtime message queue and so on)
- Nsq - A realtime distributed messaging platform
- Is there any conventionally accepted repo that is representative of well designed go code ?
- NSQ: A realtime distributed messaging platform
What are some alternatives?
ZeroMQ - ZeroMQ core engine in C++, implements ZMTP/3.1
NATS - Golang client for NATS, the cloud native messaging system.
zmqpp - 0mq 'highlevel' C++ bindings
NATS - High-Performance server for NATS.io, the cloud and edge native messaging system.
uvw - Header-only, event based, tiny and easy to use libuv wrapper in modern C++ - now available as also shared/static library!
RabbitMQ - Open source RabbitMQ: core server and tier 1 (built-in) plugins
cpp-httplib - A C++ header-only HTTP/HTTPS server and client library
Apache Kafka - Mirror of Apache Kafka
cppzmq - Header-only C++ binding for libzmq
coz - Coz: Causal Profiling
etcd - Distributed reliable key-value store for the most critical data of a distributed system