I used RabbitMQ without Masstransit and sent 10,000 messages per second and a millionth message in 100 seconds.
But after using Masstransit with RabbitMQ, the performance is very low on my machine.
The hard drive is very active (99% use) when publishing / consuming a message, and the CPU activity for this process is almost 0%.
When starting the Publisher / Subscriber console application with this code:
var bus = ServiceBusFactory.New(x => { x.UseRabbitMq(); x.ReceiveFrom("rabbitmq://localhost/Example_Hello"); }); var message = new MyMessage() { Text = "hello", When = DateTime.Now }; for (int i = 0; i < 100; i++) { bus.Publish<MyMessage>(message, x => { }); }
Posted 100 posts in 6 seconds and I donβt know why it is very slow.
My machine configuration and software version:
Windows 8.1 64bit
Intel Core i3 3.30 GHz
8 GB memory
Visual Studio 2013 C # .Net 4.5.1
Erlang 6.3
RabbitMQ 3.4.4
Masstranzit 2.9.9
RabbitMQ.Client 3.4.0
source share