C
Christoph B.
Hey,
My requirement: A worker pool that basically renders templates to
html/pdf and sends emails.
The messages to process are currently stored in an OpenMQ queue
(accessible via stomp for ruby).
I am wondering whats the best way to create this worker pool. Initially
I thought about using resque, as most worker "frameworks" come with
their own queue... however a few concerns:
- does putting msgs from one into another queue make sense?
- how reliable is resque? I cannot lose mails
- how to handle confirmation on the OpenMQ? if I insert the msgs into
resque
So I wondered how you would do this...
Maybe just create a lightweight pool of workers? How? I only found
existing ones having a queue.. which is not really needed in this
scenario as I confirm messages on the OpenMQ..
I would appreciate any suggestions!
Thanks, Christoph
My requirement: A worker pool that basically renders templates to
html/pdf and sends emails.
The messages to process are currently stored in an OpenMQ queue
(accessible via stomp for ruby).
I am wondering whats the best way to create this worker pool. Initially
I thought about using resque, as most worker "frameworks" come with
their own queue... however a few concerns:
- does putting msgs from one into another queue make sense?
- how reliable is resque? I cannot lose mails
- how to handle confirmation on the OpenMQ? if I insert the msgs into
resque
So I wondered how you would do this...
Maybe just create a lightweight pool of workers? How? I only found
existing ones having a queue.. which is not really needed in this
scenario as I confirm messages on the OpenMQ..
I would appreciate any suggestions!
Thanks, Christoph