Tasks overlap?

Options
I am planning to use tasks to process email sending for entries from a "queue" table. This table may become large at times and I am wondering if there are any limitations on processing time.

Let's say there are 10 000 entries added every hour and each entry takes a second to process. What is going to happen if a task is set to run every hour, but processing time exceeds 1 hour? Do I need to keep something in mind?

Thanks

Comments

  • Sean Montgomery
    Sean Montgomery Administrator

    ADMIN

    Options
    Tasks do not overlap. You could set a task to run every 5 seconds, but if it takes 10 minutes to run, then it will run every 10 minutes.
  • Valentin R
    Valentin R Member
    Options
     thanks. What if there are multiple tasks — do they all get in the same queue or it will be one queue per each task?
  • Sean Montgomery
    Sean Montgomery Administrator

    ADMIN

    Options
    Different tasks will run in parallel. That being said there are finite resources that all tasks share. So if you had 100 unique tasks running at the same time, they would run, but it would definitely be slow.

    Normally this isn't an issue since most users only use a hand full of tasks.