masstransit

Akka.Net work queues

冷暖自知 提交于 2019-12-04 12:15:43
问题 I have an existing distributed computing framework built on top of MassTransit and RabbitMQ. There is essentially a manager which responds with work based on requests. Each worker will take a certain amount of items based on the physcial machine specs. The worker then sends completion messages when done. It works rather well and seems to be highly scalable since the only link is the service bus. I recently evaluated Akka.Net in order to see if that would be a simpler system to implement the

MassTransit and Simple Injector [closed]

六眼飞鱼酱① 提交于 2019-12-04 11:22:11
I'm reviewing the MassTransit Distributed Application Framework for .NET . According to the website MassTransit has been built from the beginning with the concept of an IoC container being involved and provides support libraries for a handful of the more "mainstream" IoC Containers. There are (currently) NuGet packages available for Autofac, StructureMap, Castle Windsor, Ninject & Unity. I have selected Simple Injector as my IoC container of choice for performance reasons but I am unable to find an integration library adding support for Simple Injector to MassTransit. Has anyone tried this,

MassTransit 2.6.1 Request/Response pattern - Response times out

折月煮酒 提交于 2019-12-04 10:45:59
I'm looking at MassTransit as a ServiceBus implementation to use in a web project. I am playing with the Request/Response pattern and am seeing a long delay between the consumer receiving the message and responding, and the request publisher handling the response; sometimes, it seems like the response is never going to come through (having left it running for 10 minutes, the response has still not come through). the only times that I have seen the handle delegate get called with the response is after a 30 second timeout period and the timeout exception being thrown; in this situation, the

Distributed architecture with MassTransit, RabbitMQ and SignalR

丶灬走出姿态 提交于 2019-12-04 10:29:37
问题 I'm developing distributed application with help of MassTransit and rabbitmq I have to provide ability to generate report on a web page without page reloading by click on a button, also I should call a windows service for data preparation (The service handles each request for 30sek - 1min). My first try based on this sample: https://github.com/MassTransit/Sample-RequestResponse [HttpPost] public async Task<HttpStatusCodeResult> GenerateReport(string someJsonData) { var serviceAddress = new

Why do we need service bus frameworks like NService Bus/MassTransit on top of message queuing systems like MSMQ/RabbitMQ etc?

左心房为你撑大大i 提交于 2019-12-03 18:00:08
问题 In the distributed message transaction world, am trying to understand the different parts that are involved in developing distributed systems. From what I understand you can design messaging system using enterprise bus backed with a message queue system. Why is it a good idea to use both? Can the same be achieved by programming against just the message queuing system? What are the advantages of using both together? 回答1: You certainly can code directly against the messaging infrastructure and

How to implement a competing consumer solution?

此生再无相见时 提交于 2019-12-03 11:36:50
As a exercise I'm trying to find an example which implements competing consumer. many producers - > MSMQueue <- competing consumers So far I did not find any documentation on how to achieve this. My first attempt to figure out how is implemented in MassTransit or NServiceBus failed to many layers of indirection. Any help will be greatly appreciated. Cocowalla With MassTransit and MSMQ you can achieve this using the Distributor component. Note that if you use MassTransit with RabbitMQ instead of MSMQ, you can implement a competing consumer scenario without using the Distributor, simply by

Pros/Cons of using BizTalk instead of NServiceBus or MassTransit

感情迁移 提交于 2019-12-03 11:09:15
I am curious if it even makes consider BizTalk for the implementation of a pub/sub messaging architecture (basically what you can do with NServiceBus or MassTransit is all I really need). My manager tends to want to stick with frameworks provided directly from Microsoft and so as part of my due diligence as to which one to use I need to give a good set of pro/cons for both sides. Any guidance would be greatly appreciated! One of the major cons of a Broker is that it is very difficult to version and upgrade. You would have to stop the flow of messages to upgrade a particular endpoint(s). A

Akka.Net work queues

随声附和 提交于 2019-12-03 07:00:16
I have an existing distributed computing framework built on top of MassTransit and RabbitMQ. There is essentially a manager which responds with work based on requests. Each worker will take a certain amount of items based on the physcial machine specs. The worker then sends completion messages when done. It works rather well and seems to be highly scalable since the only link is the service bus. I recently evaluated Akka.Net in order to see if that would be a simpler system to implement the same pattern. After looking at it I was somewhat confused at what exactly it is used for. It seems that

Distributed architecture with MassTransit, RabbitMQ and SignalR

巧了我就是萌 提交于 2019-12-03 05:51:59
I'm developing distributed application with help of MassTransit and rabbitmq I have to provide ability to generate report on a web page without page reloading by click on a button, also I should call a windows service for data preparation (The service handles each request for 30sek - 1min). My first try based on this sample: https://github.com/MassTransit/Sample-RequestResponse [HttpPost] public async Task<HttpStatusCodeResult> GenerateReport(string someJsonData) { var serviceAddress = new Uri(ConfigurationManager.AppSettings["BaseLineRecordService"]); var client = this.Bus.CreateRequestClient

nServiceBus vs Mass Transit vs Rhino Service Bus vs other?

允我心安 提交于 2019-12-03 00:14:28
问题 Just doing some quick spikes into possibly using a messaging system to process files that are in a nicely decoupled work flow system. What are the pro's and cons that people have found of using each of the above frameworks? What are the advantages of using these versus a hand-rolled MSMQ system with the WCF bindings and/or non-MSMQ solutions?? 回答1: I'd recommend staying away from hand-rolled solutions as there is a bunch of somewhat difficult stuff that needs to be gotten just right - like