Re: [akka-user] Is there any max task queue settings for default scheduler?

2014-05-14 Thread Björn Antonsson
Yes if you continually submit more tasks than you process (e.g. by submitting them far into the future) then your JVM would eventually run out of memory, but no rejections. B/ On 14 May 2014 at 15:33:02, Leon Ma (tutuf...@gmail.com) wrote: So, if I submit tasks very frequent and the task get e

Re: [akka-user] Is there any max task queue settings for default scheduler?

2014-05-14 Thread Leon Ma
So, if I submit tasks very frequent and the task get executed in a relatively slower speed. I would finally see an OOM but never got reject exception, right? Thanks Leon 在 2014年5月14日星期三UTC+8下午8时19分28秒,Björn Antonsson写道: > > Hi Leon, > > The scheduler in Akka is based on a revolving wheel o

Re: [akka-user] Is there any max task queue settings for default scheduler?

2014-05-14 Thread Björn Antonsson
Hi Leon, The scheduler in Akka is based on a revolving wheel of time slots with lists of timeouts in each slot. There is no limit on the number of entries. B/ On 14 May 2014 at 07:44:55, Leon Ma (tutuf...@gmail.com) wrote: I would do below in my code: context.system.scheduler.scheduleOnce(d

[akka-user] Is there any max task queue settings for default scheduler?

2014-05-13 Thread Leon Ma
I would do below in my code: context.system.scheduler.scheduleOnce(duration, self, action) I guess there must be some task queue to hold the deferred task, any size limitation? Will the above call throw some reject exception said "exceed max size"? Thanks Leon -- >> Read