hmbdc
simplify-high-performance-messaging-programming
|
Context template parameter inidcating each message is sent to all clients within the Context. This is the default property of a Context. More...
#include <Context.hpp>
Context template parameter inidcating each message is sent to all clients within the Context. This is the default property of a Context.
each message is still subjected to Client's message type filtering. In the case of ipc Context it is also sent to all clients in the attached ipc Contexts. When this Context is specialized using this type, the context normally works with heterogeneous Clients and all Clients can talk to each other thru the Context. Load balance among Clients can be achieved by participating Clients coordinatedly select message to process In addtion to the direct mode Clients, a Client running pool is supported with the Context - see pool related functions in Context.
Implicit usage in hello-world.cpp:
Explicit usage in hmbdc.cpp
There is no hard coded limit on how many Clients can be added into a pool Also, there is no limit on when you can add a Client into a pool.
max_parallel_consumer,normally,there | isn't a need to specify it. max thread counts that processes messages that incudes pool threads plus the count of direct mode Clients that registers messages within the Context supported values: 4(default) 2,8,16,32,64 requires hmbdc licensed |