Hello!
Just a quick question regarding the following command-line parameter for publishing applications on RTI Perftest:
"-writeInstance <instance>:
Set the instance number to be sent.
Default: Round-Robin schedule
Range:
0 and instances"
As far as I understand (and as the RTI glossary states):
"An instance is a unique element within a Topic, described by unique values of key fields."
What exactly is meant by the instance number? What exactly does this parameter do?
Thank you for taking the time to read through this and help me out!
Thanks,
Kaleem
Hi,
When using RTI Perftest, you have the option to use `-keyed`, this will switch they type to a keyed type that looks like this:
The content of that octet array will act as the different keys. By default the number of instances is 1 (all zeroes for the octet array), but if you set the number of instances to >1, that octet array will increase its number for every sample sent. That is cyclic and it works in a round-robin fashion.
In order to force that even when more than 1 instances are in the system you want to send a specific one, then you can use the `-writeInstance X`
Regards,
Javi
Hi Javi,
Thank you for the super fast response. So the number that you specify in this parameter is the key value of a keyed instance?
Thanks,
Kaleem