Ilan Steemers
da20ebe734
fixes connection creation on import
2015-08-31 15:15:24 +02:00
Ilan Steemers
0740c90148
adds pluggable brokers
...
* added redis broker
* added django_redis broker
* added task acknowledgement
2015-08-29 18:54:07 +02:00
Ilan Steemers
439c8a2f77
Moves Status to it's own file
...
This way only qmonitor and qinfo need Curses and you can still run the cluster without it.
2015-08-26 13:11:58 +02:00
Ilan
ac2dc02b4c
consolidated redis ping
2015-08-17 14:25:32 +02:00
Ilan
df7f8bbcaf
Adds more stats to the qinfo command
...
* Average execution time
* Tasks per day/hour/minute/second
* Number of schedules
2015-08-12 12:39:14 +02:00
Ilan
e86308b434
adds qinfo management command
...
It seems more practical to give this its own command instead of `qmonitor --info`
2015-08-10 13:20:17 +02:00
Ilan
79393dee16
adds --info summary to monitor command
2015-08-09 19:29:24 +02:00
Ilan
af61270f62
#40 qsize not implemented
2015-08-04 12:26:23 +02:00
Ilan Steemers
c350ea13f1
monitor TQ will indicate green when queue_limit has been reached.
2015-07-27 10:45:43 +02:00
Ilan
266a0dbcb1
minor linting
2015-07-24 13:36:51 +02:00
Ilan
2d0820e80b
Adds cpu affinity for the workers. Courtesy of the optional psutil module.
2015-07-15 19:53:13 +02:00
Ilan Steemers
e62fd1ee70
Fixes #7
...
* added a synchronous cluster simulation
* added a test for the sync function
* moved signing into its own module
* refactored imports to solve circular import problems stemming from the task module pretending to be a cluster
* added documentation for the new sync option
2015-07-09 20:16:21 +02:00
Ilan Steemers
f8708cfd73
Task now uses a UUID4 instead of a LUID
2015-07-08 13:33:03 +02:00
Ilan Steemers
4ee47fc38f
upping the coverage
2015-07-07 20:20:28 +02:00
Ilan Steemers
b801c480f5
Handle Redis errors better
2015-07-07 17:47:49 +02:00
Ilan Steemers
38dc20043c
Stabilize the stop procedure after forced termination of the monitor causes an unstable queue.
...
* added timeout to final stop
* ony terminate on timeouts
* renamed done_queue to result_queue
2015-07-07 15:48:13 +02:00
Ilan Steemers
fb44f4f0bf
raises a redis exception
2015-07-03 18:31:04 +02:00
Ilan Steemers
891d017c00
Added STOPPING status to monitor
2015-07-03 17:32:46 +02:00
Ilan Steemers
e0a92d2b24
Monitor starts with pinging Redis.
2015-07-03 16:57:26 +02:00
Ilan Steemers
b113a52825
Restructured all the modules
...
The core module was becoming too large.
By splitting it in cluster, monitor and tasks it becomes more manageable. It also reflects the documentation structure.
2015-07-03 15:12:11 +02:00