New posts are disabled while we improve the user experience.

You can browse the site, or for urgent issues, raise a query at MyAccount.

question

Upvotes
Accepted
221 7 20 38

Multiple RFA OMM updates at same Nano second precision

Hello, we use RFA 8.1 C++ api's to consume level2 market data using MBP domain. Recently we observed that we were missing on some DELETE instructions from TREP leading to stale data in our cache. In all of those cases we observed that DELETE instruction that we missed was accompanying other messages which had same nano second precision.


See attachment below.

My question is, is it possible that we would miss an update callbacks from RFA library that were received at the same time for any reason?


1688458067212.png


#technologyrfarfa-api
1688458067212.png (43.5 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
Accepted
87.8k 294 53 79

@mktdata

Thank you for reaching out to us.

You can enable tracing in the API to verify the retrieved data.

If the DELETE actions were in the trace file but the application didn't receive it, you may need to check your application code. Otherwise, if the DELETE actions weren't in the trace file, you need to contact the content support team to verify the content.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
1 1 2 4

Is it possible that the DELETE crashed your callback thread?

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

@CM Wong We have received updates after that specific delete instruction so I don't callback thread crashed.
Did you process the OMMMapEntry in the iteration order?

Yes we do.

const Map& mapData = static_cast<const Map&>(respMsg.getPayload());

MapReadIterator MapIter;

for ( MapIter.start(mapData); !MapIter.off(); MapIter.forth() )

{

}


Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.