Getting the queue length of an actor?

瀏覽次數:12 次
跳到第一則未讀訊息

Simonz

未讀,
2018年3月4日 晚上11:50:062018/3/4
收件者:GPars Users
Hi,

I have been playing around with actors and really like the model.

However I persistently run into the problem that an actor may get overloaded with messages, and in this case the symptom is that the queue simply grows and grows an eventually the system runs out of memory.

So I'm curious about:

  • can I monitor the length of the queue of pending messages for an actor?
  • can I substitute the queue used for a different queue?

Cheers,

Simon
回覆所有人
回覆作者
轉寄
0 則新訊息