jonathan augenstine | 1 Jul 2012 20:07
Picon

rabbitmq-c RPC example

I would like to say that rabbitmq is a very nice messaging implementation.  I had to implement a module to coordinate a very large number of processes on Linux and over a one week time period installed rabbitmq, worked out the implementation, and pushed to production.  I expected to have to work out some bugs, but amazingly it just worked.  One or two minor tweaks and it has been running for almost two weeks now with out issue.

That being said, I implemented this using the C library.  I used a basic publish/subscribe approach to the implementation.  The reality is that the design pattern really fits an RPC implementation.  My problem was that I was pressed for time and could not quite get the details worked out for an RPC implementation.  I was wondering if someone had an example of a C implementation of the RPC on rabbitmq?

Jonathan

<div><p>I would like to say that rabbitmq is a very nice messaging implementation.&nbsp; I had to implement a module to coordinate a very large number of processes on Linux and over a one week time period installed rabbitmq, worked out the implementation, and pushed to production.&nbsp; I expected to have to work out some bugs, but amazingly it just worked.&nbsp; One or two minor tweaks and it has been running for almost two weeks now with out issue.<br><br>That being said, I implemented this using the C library.&nbsp; I used a basic publish/subscribe approach to the implementation.&nbsp; The reality is that the design pattern really fits an RPC implementation.&nbsp; My problem was that I was pressed for time and could not quite get the details worked out for an RPC implementation.&nbsp; I was wondering if someone had an example of a C implementation of the RPC on rabbitmq?<br><br>Jonathan<br><br></p></div>
Ask Solem | 2 Jul 2012 13:16
Favicon

Re: rabbitmq-c RPC example


On 1 Jul 2012, at 19:07, jonathan augenstine wrote:

> I would like to say that rabbitmq is a very nice messaging implementation.  I had to implement a module to
coordinate a very large number of processes on Linux and over a one week time period installed rabbitmq,
worked out the implementation, and pushed to production.  I expected to have to work out some bugs, but
amazingly it just worked.  One or two minor tweaks and it has been running for almost two weeks now with out issue.
> 
> That being said, I implemented this using the C library.  I used a basic publish/subscribe approach to the
implementation.  The reality is that the design pattern really fits an RPC implementation.  My problem was
that I was pressed for time and could not quite get the details worked out for an RPC implementation.  I was
wondering if someone had an example of a C implementation of the RPC on rabbitmq?
> 

There are several examples here:
https://github.com/alanxz/rabbitmq-c/tree/master/examples

No direct port of the RPC examples on the website though,
but that is a great opportunity for you to learn and contribute some :)

jonathan augenstine | 2 Jul 2012 16:57
Picon

Re: rabbitmq-c RPC example

OK, thanks.  When I figure it out, I will put an example together and submit it.

On Mon, Jul 2, 2012 at 4:16 AM, Ask Solem <ask-mQ7lE4MOPXtWk0Htik3J/w@public.gmane.org> wrote:

On 1 Jul 2012, at 19:07, jonathan augenstine wrote:

> I would like to say that rabbitmq is a very nice messaging implementation.  I had to implement a module to coordinate a very large number of processes on Linux and over a one week time period installed rabbitmq, worked out the implementation, and pushed to production.  I expected to have to work out some bugs, but amazingly it just worked.  One or two minor tweaks and it has been running for almost two weeks now with out issue.
>
> That being said, I implemented this using the C library.  I used a basic publish/subscribe approach to the implementation.  The reality is that the design pattern really fits an RPC implementation.  My problem was that I was pressed for time and could not quite get the details worked out for an RPC implementation.  I was wondering if someone had an example of a C implementation of the RPC on rabbitmq?
>

There are several examples here:
https://github.com/alanxz/rabbitmq-c/tree/master/examples

No direct port of the RPC examples on the website though,
but that is a great opportunity for you to learn and contribute some :)


<div>
<p>OK, thanks.&nbsp; When I figure it out, I will put an example together and submit it.<br><br></p>
<div class="gmail_quote">On Mon, Jul 2, 2012 at 4:16 AM, Ask Solem <span dir="ltr">&lt;<a href="mailto:ask@..." target="_blank">ask@...</a>&gt;</span> wrote:<br><blockquote class="gmail_quote">
<div class="im">
<br>
On 1 Jul 2012, at 19:07, jonathan augenstine wrote:<br><br>
&gt; I would like to say that rabbitmq is a very nice messaging implementation. &nbsp;I had to implement a module to coordinate a very large number of processes on Linux and over a one week time period installed rabbitmq, worked out the implementation, and pushed to production. &nbsp;I expected to have to work out some bugs, but amazingly it just worked. &nbsp;One or two minor tweaks and it has been running for almost two weeks now with out issue.<br>

&gt;<br>
&gt; That being said, I implemented this using the C library. &nbsp;I used a basic publish/subscribe approach to the implementation. &nbsp;The reality is that the design pattern really fits an RPC implementation. &nbsp;My problem was that I was pressed for time and could not quite get the details worked out for an RPC implementation. &nbsp;I was wondering if someone had an example of a C implementation of the RPC on rabbitmq?<br>

&gt;<br><br>
</div>There are several examples here:<br><a href="https://github.com/alanxz/rabbitmq-c/tree/master/examples" target="_blank">https://github.com/alanxz/rabbitmq-c/tree/master/examples</a><br><br>
No direct port of the RPC examples on the website though,<br>
but that is a great opportunity for you to learn and contribute some :)<br><br>
</blockquote>
</div>
<br>
</div>

Gmane