What are the differences and useage patterns for dispatchers in Akka 2?

后端 未结 2 887
闹比i
闹比i 2021-02-04 04:33

I\'ve trouble understanding the differences and recommended usage of the dispatchers in Akka 2. I think I understand how the BalancingDispatcher and the CallingThreadDispatcher

2条回答
  •  鱼传尺愫
    2021-02-04 04:55

    Dispatcher is the default implementation.
    PinnedDispatcher has one thread per actor, hence the threads are pinned to their actors.

    Sharability means what restrictions apply if multiple actors want to use the same dispatcher instance.

    Bulkheading means isolating sections from each other - according to Wikipedia.

提交回复
热议问题