[op5-users] Merlin and Ninja roadmap - performance data fixes going in?
Max
perldork at webwizarddesign.com
Fri Feb 26 19:23:17 CET 2010
On Fri, Feb 26, 2010 at 12:16 PM, Benjamin Ritcey <op5 at lists.ritcey.com> wrote:
> my $mq = Net::RabbitMQ->new();
> $mq->connect("localhost", {});
> $mq->channel_open(1);
> $mq->consume(1, "pnpserver1");
>
> (and then just sit in a loop consuming perfdata)
>
> each NOC/graphserver machine would just have a different queue in the
> consume() call. With a fanout exchange, each queue gets a copy of the
> message, so adding a new graph server (e.g., for testing) would just
> involve connecting to the exchange. I hadn't yet decided how I'd
> setup the RMQ infrastructure - a copy on each NOC machine or a copy on
> every machine? Persistent queues?
>
> My POC code was slightly more complicated - it will timeout after X
> seconds w/o any messages in the queue - but the gist of it is as I
> describe. I'm happy to send you anything I have.
Thanks for sharing, Benjamin :). Would definitely be interested in
seeing your code in full if you are willing to share.
- Max
More information about the op5-users
mailing list