DDR for services
We could add:
# # This will make each ATMI client/server to parse ndrxconfig.xml # NDRX_USEDDR=Y
Then we could have "<services>" tag and "<routing>". the groups could be numberic (like rmid).
for these special services, we could advertise them with "<service_name>,<group_id>".
Thus if user makes "tpadvertise"/"tpunadvertise" we could use "rmid" and make two advertise calls one for common services and another for group shared.
#4 Updated by Madars Vitolins 9 months ago
ndrxd whould copy the rules to shared memory block, from start to finish (with RWLOCK installed). Binaries at tpinit point, would read the shared mem blocks, compile the rules and build the in-memory hash list of services. Then at tpadvertise or tpcall/tpforward/connet point we lookup the hash list, check the rules and detect the target group.