O'Reilly logo

Mastering ServiceStack by Andreas Niedermair

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 3. Asynchronous Communication between Components

In this chapter we will cover the following topics:

  • In Memory MQ
  • RCON
  • RedisMQ
  • RabbitMQ
  • Server-sent events
  • Look left and right

The recent release of .NET has added several new ways to further embrace asynchronous and parallel processing by introducing the Task Parallel Library (TPL), async, and await.

The need for asynchronous processing is present since the early days of programming. Its main concept is to offload the processing to another thread or process to release the calling thread from waiting and it has become a standard model since the rise of GUIs.

In such interfaces only one thread is responsible for drawing the GUI, which must not be blocked in order to remain available and not putting ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required