[tor-bugs] #7852 [Ooni]: Implement OONI task scheduler

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Jan 3 20:41:03 UTC 2013


#7852: Implement OONI task scheduler
--------------------+-------------------------------------------------------
 Reporter:  aagbsn  |          Owner:  hellais
     Type:  defect  |         Status:  new    
 Priority:  normal  |      Milestone:         
Component:  Ooni    |        Version:         
 Keywords:          |         Parent:         
   Points:          |   Actualpoints:         
--------------------+-------------------------------------------------------
 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

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/7852>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list