question

Upvotes
Accepted
37 1 1 6

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 5.0 MiB each and 10.0 MiB total.

1 Answer

Upvotes
Accepted
13k 32 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 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea