/
README
57 lines (40 loc) · 2.06 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
NAME
CatalystX::JobServer - Multi protocol asynchronous job server
SYNOPSIS
CatalystX::JobServer is an AMQP and JSON based job and event server.
You configure sets of AMQP exchanges, queues and bindings, and set these
up to dispatch recieved messages into the application. What services are
run by the application (and where replies are sent) is also configured.
Various services (such as, for example, a job worker pools, or a message
writer which writes recieved messages to disk) can be setup within your
instance (again, fully from config).
Traits can be applied to these services to add additional functionality
(for example serializing the service state and sending it to a queue
regularly).
The application also listens on a port for HTTP requests, and allows you
to browse the application state, or (using Web::Hippie) get a persistent
pipe which regularly updates you with the state.
QUICK START
Install RabbitMQ on your machine.
Start RabbitMQ with the default user/password.
Install the dependencies listed in Makefile.PL (note that Plack and Web::Hippie need to
come from my github forks right now).
Run CATALYST_DEBUG=1 ./script/catalystx_jobserver.psgi
Point your browser at http://localhost:5000
Look at catalystx_jobserver_web.yml and start playing.
DESCRIPTION
TODO
Documentation - Please yell at me with questions and suggest places
where the documentation isn't clear, I know this needs work ;)
Fireing jobs from the web - One of the main applications I want to do
with this is to be able to set off a job with an AMQP message from one
web hit, then get the status as the job is running using Hippie. This is
currently not implemented (but will be soon).
SEE ALSO
CatalystX::JobServer::Web, Net::RabbitFoot,
<http://www.slideshare.net/bobtfish/real-time-systemperformancemon>.
AUTHOR
Tomas Doran
LICENSE
This library is free software. You can redistribute it and/or modify it
under the same terms as Perl itself.