O'Reilly logo

Applied Architecture Patterns on the Microsoft Platform by Stephen W. Thomas, Rama Ramani, Richard Seroter, Mike Sexton, Ewan Fairweather

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

Building the solution

In this solution, we will be constructing an application that embeds the StreamInsight Server in-process and pulls data from two separate feeds of data. Specifically, we are designing a very loosely coupled process where we use MSMQ as the medium between the event producers and the StreamInsight CEP engine. Each web server will send its machine event log entries to one MSMQ queue, and all the web click events will be distributed to a different MSMQ queue.

We will build MSMQ adapters for StreamInsight in a way that events are loaded into the CEP server as soon as they hit the queue. Our first LINQ query aggregates server log events per application, and keeps a sum of each type of event over one-minute intervals. Then we will ...

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