views:

118

answers:

1

ASP.NET MVC 2 includes the built in feature of asynchronous controllers. My question is: Is there any benefits on using the asynchronous controllers to send messages to the bus if I'm not waiting for a reply from the bus?

Microsoft states this in their async controller documentation:

In general, use asynchronous pipelines when the following conditions are true:

The operations are network-bound or I/O-bound instead of CPU-bound.

Testing shows that the blocking operations are a bottleneck in site performance and that IIS can service more requests by using asynchronous action methods for these blocking calls.

Parallelism is more important than simplicity of code.

You want to provide a mechanism that lets users cancel a long-running request.

When reading through the list and keeping in mind that we're not excepting any reply from the bus, I'm not seeing any benefits on using the async controllers over the synchronous ones. But is there?

+1  A: 

If you don't need the response then you don't need async controllers.

Udi Dahan
Thanks for the "to the point" answer :)
Mikael Koskinen