Attribute Events gets missed
|
|
---|---|
ReynaldYes for all attributes, spectrum is of length 6. ReynaldFour of these strings are of average 10 characters except two. Remaining two strings are of varying length from 40 to 140 characters.
Regards,
TCS_GMRT |
|
|
---|---|
ReynaldOkay. Actually I thought as same callback might be being called simultaneously, so we are missing issue?? I will try to separate the callback and let you know the results.
Regards,
TCS_GMRT |
|
|
---|---|
TCS_GMRTI mean events in above post so we are missing *events??
Regards,
TCS_GMRT |
|
|
---|---|
TCS_GMRTReynaldOkay. Actually I thought as same callback might be being called simultaneously, so we are missing issue?? Well, this sohould not be the case. The event subsystem is supposed to implement an ingress queue, thus keeping all the received events, but there is a threshold (high watermark) upon which the 0MQ starts dropping the events (default value is 100). This can be changed to a suitable value. |
|
|
---|---|
Normally, when ZeroMQ is starting to drop events, Api_MissedEvents error events should be seen on the client side. Is your callback written in such a way that it displays/reports the error messages when an error event is received?
Rosenberg's Law: Software is easy to make, except when you want it to do something new.
Corollary: The only software that's worth making is software that does something new. |
|
|
---|---|
ReynaldWe are getting some event errors in between, but I am not sure about the exact errors. I will check and let you know.
Regards,
TCS_GMRT |
|
|
---|---|
Reynald Could you elaborate on how to catch these? I'm not finding anything in the C++ documentatino for Api_MissedEvents. |
|
|
---|---|
Hi Thomas, The following piece of code in a C++ callback would display these errors:
Error events with Api_MissedEvents error are generated on the client side when the client receives an event having a counter which is bigger than the "previous received event counter + 1". Kind regards, Reynald
Rosenberg's Law: Software is easy to make, except when you want it to do something new.
Corollary: The only software that's worth making is software that does something new. |
|
|
---|---|
Thanks Reynald, very useful! |
|
|
---|---|
Some artifacts encountered during debugging / testing. Additionally, int the image "Listeners for an attribute", the attribute "UTC" is actually subscribed by only one client, however, the stats show that there are 9. Any thoughts will help.
Regards,
TCS_GMRT |