question

Upvotes
Accepted
33 3 6 12

Can we configured EMA application as multiple dispatch threads, in API_DISPATCH mode?

Can we configured EMA application as multiple dispatch threads, in API_DISPATCH mode? In order to have better performance. And how to guarantee the message order in such case if doable?

dispatch
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.

1 Answer

Upvotes
Accepted
14.7k 39 12 18

Hi @Frederic,

EMA has single internal thread for dispatching the messages in the OperationModel.API_DISPATCH mode. This is provided for convenience. An advanced application can however have multiple threads in the USER_DISPATCH mode, and be responsible for all thread management in the user space. The dispatched events will be sent to the callback and they will be in the order received.

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.