tag:blogger.com,1999:blog-15136575.post988287836624279277..comments2023-10-17T12:00:16.772+01:00Comments on Code rant: Why Write a .NET API For RabbitMQ?Mike Hadlowhttp://www.blogger.com/profile/16441901713967254504noreply@blogger.comBlogger13125tag:blogger.com,1999:blog-15136575.post-21278435597459833162012-05-29T21:42:03.740+01:002012-05-29T21:42:03.740+01:00Hi Mike,
Have you looked at LMAX Distruptor patte...Hi Mike,<br /><br />Have you looked at LMAX Distruptor pattern before? It is highly efficient and removes the need, in many cases, the use of queues, which they prove to be slow.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-15136575.post-84304103192511765292012-05-17T20:58:55.512+01:002012-05-17T20:58:55.512+01:00can i make an sms service using rabbit mq for exam...can i make an sms service using rabbit mq for example i write application of sms based chatroom in .net but the speed of sms will be handeled with rabbit mq. connexted to my gsm modem?khanznoreply@blogger.comtag:blogger.com,1999:blog-15136575.post-59894141386682366142011-10-23T11:01:42.244+01:002011-10-23T11:01:42.244+01:00if i make web based wcf then what is localhost,i u...if i make web based wcf then what is localhost,i used my website domain that already virtually directory.but not wcf work .please any suggest me how to make end point in my website.<br />please Missed call at 9911425805Sahil Singhhttps://www.blogger.com/profile/00507933414909433656noreply@blogger.comtag:blogger.com,1999:blog-15136575.post-51230278826094529182011-09-26T15:23:02.168+01:002011-09-26T15:23:02.168+01:00Hi Mike,
Yeah basically I want to handle image up...Hi Mike,<br /><br />Yeah basically I want to handle image upload, resizing and uploading then to amazon s3. I dont want to do that on my API web servers as that will block them for to long. So I think what I will do is stream the file into a database like MongoDB GridFS (using the new .net 4.5 Request streaming stuff in asp.net which is async :) and then put a message on the queue. Then I have a windows service that processes the queue and does the image resizing and uploading to S3.<br />The I will delete the original file out of MongoDB<br /><br />So yeah probably not worth doing chunking :)<br /><br />Cheers<br />JakeJake Scotthttps://www.blogger.com/profile/17129528655619003703noreply@blogger.comtag:blogger.com,1999:blog-15136575.post-35250141031988852852011-09-26T09:26:05.376+01:002011-09-26T09:26:05.376+01:00Hi Jake,
This from the RabbitMQ FAQ: "AMQP 0...Hi Jake,<br /><br />This from the RabbitMQ FAQ: "AMQP 0-8 included mention of a "stream" transfer class. However, no one implements it and it's gone in AMQP 0-9-1. It is the responsibility of applications to chunk large messages if they need to."<br /><br />EasyNetQ doesn't have a 'chunking' API, so the answer to your question is 'no'. Would it be a good idea? I would probably consider holding the document at some location and simply passing a pointer to it in the message.Mike Hadlowhttps://www.blogger.com/profile/16441901713967254504noreply@blogger.comtag:blogger.com,1999:blog-15136575.post-44805095034259443442011-09-23T16:34:17.096+01:002011-09-23T16:34:17.096+01:00Hi Mike,
Does AMQP, or the dotnet client for Rabb...Hi Mike,<br /><br />Does AMQP, or the dotnet client for RabbitMQ have support for File Streams?<br /><br />I am new to messaging and am wondering if I could use them to transfer image files around 4-5MB in size.<br /><br />Would that be a bad idea?<br /><br />Cheers<br />JakeJake Scotthttps://www.blogger.com/profile/17129528655619003703noreply@blogger.comtag:blogger.com,1999:blog-15136575.post-24426362073619105542011-09-14T13:21:25.846+01:002011-09-14T13:21:25.846+01:00Have you seen greg youngs lightweight one ( pvc -&...Have you seen greg youngs lightweight one ( pvc -> http://nuget.org/List/Packages/pvc-rabbmitmq )Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-15136575.post-38206969961385202612011-09-13T21:54:01.049+01:002011-09-13T21:54:01.049+01:00I think this is an excellent example of how you ca...I think this is an excellent example of how you can simplify an API by giving up some flexibility in exchange for simplicity. I recently wrote a blog post on this topic:<br /><br />http://theamiableapi.com/2011/09/07/api-design-best-practice-keep-it-simple/<br /><br />Can you give me any feedback based on your own experience?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-15136575.post-20594830158165470142011-09-13T15:29:08.508+01:002011-09-13T15:29:08.508+01:00I'm not ready to get involved with EasyNetQ ye...I'm not ready to get involved with EasyNetQ yet but I am eagerly watching your progress on it. I've been frustrated with MSMQ many times over the years and RabbitMQ has definitely caught my attention.<br /><br />Props to 15Below for letting you develop it out in the open!Anonymoushttps://www.blogger.com/profile/00979387596791700955noreply@blogger.comtag:blogger.com,1999:blog-15136575.post-31214688620740854012011-09-13T14:25:56.460+01:002011-09-13T14:25:56.460+01:00Hi Gareth,
At the moment there's no once-only...Hi Gareth,<br /><br />At the moment there's no once-only guarantee in EasyNetQ. Indeed, there's no at-least-once guarantee either, you can loose a publish if the broker goes down in the middle of processing a message. So yes, right now you would have to put checks in your application code if you care about either of these cases.Mike Hadlowhttps://www.blogger.com/profile/16441901713967254504noreply@blogger.comtag:blogger.com,1999:blog-15136575.post-70713952043228732692011-09-13T14:21:59.568+01:002011-09-13T14:21:59.568+01:00Hi Mike,
How are you attempting to prevent duplic...Hi Mike,<br /><br />How are you attempting to prevent duplicate messages being processed, or is that something you leave to the application code?Garethnoreply@blogger.comtag:blogger.com,1999:blog-15136575.post-77343595023893651262011-09-13T12:09:33.481+01:002011-09-13T12:09:33.481+01:00Hi Mick,
First let me say how awesome I think Mass...Hi Mick,<br />First let me say how awesome I think MassTransit and NServiceBus are. They are the main influences on the design of EasyNetQ. <br /><br />The differentiation with NServiceBus is easy to answer: NSB uses MSMQ as its transport, EasyNetQ is built from the ground up as a layer over AMQP. I gather that the NSB transport is pluggable, but the abstraction is built for MSMQ and doesn't have any of the great things that AMQP gives you out-of-the-box. <br /><br />MassTransit has an AMQP backend, but again it was primarily built for MSMQ (and Tibco?). EasyNetQ is entirely focussed on building the best possible client for AMQP and rabbit with no plans to support any other back-end. This means I can leverage all the native goodness of AMQP and keep the EasyNetQ library as simple as possible. I have a huge amount of respect for Dru and Chris, so I expect they'll do an excellent job with MassTransit's AMQP back-end. In the end, the choice is up to the user.<br /><br />At this stage, EasyNetQ is still alpha software, so I wouldn't recommend anyone using it in production unless you're willing to get actively involved with the development. But it's being built for a client with some pretty serious messaging requirements, so I expect it to be nicely battle hardened in a year or so. At which point, if you're in the market for a high-level API for RabbitMQ, it should definitely be a consideration.Mike Hadlowhttps://www.blogger.com/profile/16441901713967254504noreply@blogger.comtag:blogger.com,1999:blog-15136575.post-28712034425084920992011-09-13T11:48:10.842+01:002011-09-13T11:48:10.842+01:00What will differeniate your api from say masstrans...What will differeniate your api from say masstransit or nservicebus???Mick Delaneyhttps://www.blogger.com/profile/13495612270168537368noreply@blogger.com