question

Upvotes
Accepted
37 1 1 6

EMA: unsubscribe chain RIC constituents after batch subscription

For the chain RIC constituents using batch subscriptions from time to time, if the old constituents (since the chain constituents are changing from time to time) are not unregistered via the handles, only new registering towards the new constituents are issued, will that be a problem considering the watch-list and application running performance?

chain-ricbatch
icon clock
10 |1500

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

1 Answer

Upvotes
Accepted
20.3k 73 10 20

Hi @Frederic

If you do not unregister items that you no longer require, then may continue to receive events+data for these other constituents (unless they have expired themselves). Also, they will continue to use memory.

If the chain constituents do not change too often, then you could say the above may not a big issue - especially if the application is shut down and restarted regularly.

However, if the application is running 24x7 all year round and/or the chain changes often - then the additional unwanted events+data, as well as memory usage, could start impacting the performance.

I always recommend the customer unregister any items they are no longer interested in. Obviously, this requires some additional coding effort on the part of the developer - but should not be too onerous.

icon clock
10 |1500

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

Click below to post an Idea Post Idea