sobjectizer
An implementation of Actor, Publish-Subscribe, and CSP models in one rather small C++ framework. With performance, quality, and stability proved by years in the production. (by Stiffstream)
eCAL
Please visit the new repository: https://github.com/eclipse-ecal/ecal (by continental)
sobjectizer | eCAL | |
---|---|---|
15 | 11 | |
456 | 1 | |
1.3% | - | |
9.1 | 9.2 | |
about 1 month ago | almost 2 years ago | |
C++ | C++ | |
GNU General Public License v3.0 or later | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
sobjectizer
Posts with mentions or reviews of sobjectizer.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-04-25.
-
SObjectizer Tales - Epilogue
Message Delivery Tracing aims to debug an application built on top of SObjectizer. In essence, it logs the primary stages of the message delivery process, allowing visibility into whether there is a suitable subscriber with the corresponding event handler.
-
SObjectizer Tales - 27. Design ideas
An additional rationale for structuring cooperations in hierarchies is to facilitate the sharing and propagation of dispatchers. A recent update of SObjectizer includes new functionalities that allow access to both agent and cooperation dispatchers. This enhancement was prompted by feedback provided by a user and myself.
-
SObjectizer Tales - 26. Dispatcher selection
If a stop signal arrives, it will be enqueued at the end as a demand for image_producer_callback. This means, it will be processed after the other 6 demands currently in the queue. Maybe this is not an issue but in some cases it might be. At this point, another feature of SObjectizer is to consider: agent priorities. Essentially, this feature allows for the demands to be handled in different orders based on the priorities of agents. In this context, if we assign image_producer_callback a higher priority than others, the “stop signal” would be processed before the rest of the requests.
-
SObjectizer Tales - 23. Mutable messages
The real solution consists in using another slick feature of SObjectizer: mutable messages.
-
SObjectizer Tales - 8. Representing errors
However, this kind of filtering is inefficient and might result in a significant run-time cost. Indeed, every empty cv::Mat follows all the message handling workflow, only to be thrown out. Although we expect that empty images will be sporadic, a more idiomatic approach exists: delivery filters.
-
SObjectizer Tales – 6. Is the stream still in progress?
SObjectizer’s agent states are quite sophisticated and provide some utilities that might be useful for developing a working solution. First of all, image_viewer can be modeled as a two-state agent:
-
SObjectizer Tales - 5. Sending commands
An alternative way is using SObjectizer’s timers.
-
Multiplayer, multithreading, and an actor model in C++
Those who came looking for actor model examples should check out sobjectizer
-
What are some candidate libraries for inter-thread communication like message boxes or event systems?
In sobjectizer the ownership is held by "environment" , while in rotor each thread must held appropriate context, when actor environment is running.
-
Sender and Receiver implementations
May be actor frameworks like caf, sobjectizer or rotor is something, that you are looking for.
eCAL
Posts with mentions or reviews of eCAL.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-01-17.
-
eCAL ipc framework
New version (5.94) of the high performance interprocess / interhost communication framework eCAL is available. eCAL supports different transport layer like shared memory for interprocess and udp multicast for interhost communication. It does not force the user to use a specific serialization format but supports some of the standards like google protobuf, capnproto or flatbuffers. The API is wrapped to C, C++, Python, C#, Rust and Go (the last two I never tested ;-)). Here you can find all the documentation. Check out the great applications for monitoring, record and replay. eCAL is Apache 2 licensed, repository hosted here. Have fun :-)
- eCAL 5.9.4 released
-
Should I run ROS on windows, through WSL or on linux with dual boot?
I you just need a fast publish / subscribe framework for windows you can give eCAL a try. The setup is done in less a minute and their is no dependency hell. Just to mention it as alternative. Documentation here
-
Google Protobuf vs JSON vs [insert candidate here]
I would concider using eCAL since it blasts everything out of the water in terms of performance and comes with some handy tooling for inspection of messages in-travel.
-
eCAL 5.9.0 released
Source on GitHub: https://github.com/continental/ecal
-
Sender and Receiver implementations
Check out eCal.
-
grpc_bench: open-source, objective gRPC benchmark
This really makes me want to try https://github.com/continental/ecal with https://github.com/google/flatbuffers to see how they compare. I also know that gpc for cpp at least stops functioning by about 4 MB of request size. Which I find stupid. What if I want to send uncompressed bitmaps!
-
Announcing Eclipse iceoryx 1.0.0
Congratulations. Well done. eCAL will update as soon as possible to the new release. The new custom header and the n:m pub/sub support are really welcome new features.
-
Open source developers that work outside of a full time job, what motivates you?
Here is their counter callback example: https://github.com/continental/ecal/blob/master/samples/cpp/counter/counter_rec_cb/src/counter_rec_cb.cpp
What are some alternatives?
When comparing sobjectizer and eCAL you can also consider the following projects:
concurrencpp - Modern concurrency for C++. Tasks, executors, timers and C++20 coroutines to rule them all
ZeroMQ - ZeroMQ core engine in C++, implements ZMTP/3.1
rotor - Event loop friendly C++ actor micro-framework, supervisable
iceoryx - Eclipse iceoryx™ - true zero-copy inter-process-communication
gRPC - The C based gRPC (C++, Python, Ruby, Objective-C, PHP, C#)
RxCpp - Reactive Extensions for C++
cyclonedds - Eclipse Cyclone DDS project
Aeron - Efficient reliable UDP unicast, UDP multicast, and IPC message transport
nanomsg - nanomsg library
thread-pool - BS::thread_pool: a fast, lightweight, and easy-to-use C++17 thread pool library
rpclib - rpclib is a modern C++ msgpack-RPC server and client library