Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Trac Trac
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Legacy
  • TracTrac
  • Issues
  • #7852

Closed
Open
Created Jan 03, 2013 by Aaron Gibson@aagbsn

Implement OONI task scheduler

OONI's current task dispatch methods should be replaced with a task scheduler that has the following properties:

scheduler should be able to maintain a constant size set of running tasks, and should not block on any single task. scheduler should provide mechanisms for starting, stopping, restarting, resuming, and cancelling tasks. scheduler should support changing the number of running tasks at runtime. scheduler should be able to set hard limits on the time a task may take to complete.

The twisted framework provides some handy tools, see: twisted.internet.task.Cooperator and CooperativeTask (http://twistedmatrix.com/documents/current/api/twisted.internet.task.html)

Also see examples such as txRDQ (Resizable Dispatch Queue): https://launchpad.net/txrdq

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking