question

Upvote
Accepted
588 14 21 19

Non-interactive provider performance

I have a task to develop Reuters provider and I am now facing a choice between interactive and non-interactive one.

From what I know the NIProvider is fully sufficient for me. The only concern I have is of course the performance/throughput.

What would be the best choice from your opinion?

If you say that the “classical” provider has a better performance that I have to rethink my concept.

elektronelektron-sdkrrteta-apielektron-transport-api
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
301 17 34 40

I think something is being overlooked here.

This discussion depends on how you define "performance". In a like-for-like discussion there are three things to consider:

The amount of work the Provider has to do is probably the same as they both have to do the same amount of rsslWrites assuming they are both publishing the same items (*).

The amount of work the ADS/ADH has to do. I'm not sure this is the same in both cases but I wouldn't really know who's on top there ... or if indeed there's any noticeable difference.

The amount of work for the consumer. I'm pretty sure this is exactly the same.

The devil is in the details. Note the little (*). The Interactive Provider only has to publish items where there are active listeners while the Non-Interactive Provider will have to publish everything always. This is the essential difference between Interactive and Non-Interactive. At the end of the day this can potentially translate into a huge performance benefit for the Interactive Provider. As long as the demand varies in the sense that not all data items are in demand all of the time then the Interactive Provider will typically win I would say, simply because it can concentrate on lesser amount of work.

With the Interactive Provider you also avoid spamming the infrastructure with unnecessary data so it may also be more cost effective as you only have to dimension your infrastructure after the "demand" rather than the "supply".

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.2k 23 31 44

Due to TREP internal details an interactive provider performs significantly better than a non-interactive provider. Reference numbers for non-interactive, 800k updates/second for UPA/C compared to 1.6M updates/second for interactive. For RFA the numbers are not so significantly different, 220k/s vs. 240k/s. Obviously numbers will vary.

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.

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.