question

Upvotes
Accepted
33 9 12 29

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

· Write an Answer
Upvotes
Accepted
21.8k 57 14 21

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.

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.