Analytics over streaming data reference architecture

More and more companies want to build real-time analytics that enables them to do analysis over a stream of data instead of writing the events down to a database before doing the analysis.
This can be applied to a lot of scenarios such as inventory management, demand based price elasticity, device telemetry, fraud detection and website analytics in real-time.

Azure Stream Analytics is a service that enables you to write SQL like queries on-top of a stream and it is currently in preview here https://azure.microsoft.com/en-us/documentation/services/stream-analytics/ however how do you put an architecture together that contains the building blocks necessary to enable this.

One of my colleagues put together a new reference architecture that describes how this can be done you can find it here:

https://aka.ms/realtimeanalytics