Skip to content

Commit 82b3785

Browse files
author
Matt George
committed
adding docs for the 0.8 release
1 parent f9750f4 commit 82b3785

File tree

3 files changed

+24
-0
lines changed

3 files changed

+24
-0
lines changed

HISTORY.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 0.8 (2010-04-24)
2+
* added the pyres_manager and the horde module. This allows a more prefork like model for processing jobs.
3+
* setproctitle usage. Allows better process titles when viewing via ps
4+
* ability to delete and requeue failed items
5+
16
## 0.7.5.1 (2010-03-18)
27
* fixed the pyres_scheduler script
38
* changed download link to remove v from version number

docs/source/horde.rst

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
Prefork Manager
2+
===============
3+
4+
Sometimes the fork for every job method of processing can be a bit too slow and
5+
take up too many resources. Pyres provides an alternative to the pyres_worker through
6+
the pyres_manager script and the horde module.
7+
8+
The pyres_manager script is very similar to the pyres_worker. However, instead
9+
of forking a child for every job, the manager takes advantage of the multiprocessing
10+
module in python 2.6 (backported to 2.5 as well) and forks off a pool of children
11+
at startup time. These children then query the redis queue and perform the necessary work.
12+
It is the managers job to manage the pool via signals or a command queue on the redis
13+
server.
14+
15+
ex::
16+
17+
pyres_manager --pool=5 queue_one,queue_two
18+

docs/source/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ Contents:
1717
class
1818
tests
1919
failures
20+
horde
2021

2122

2223
Indices and tables

0 commit comments

Comments
 (0)