Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Applied Architecture Patterns on the Microsoft Platform

You're reading from   Applied Architecture Patterns on the Microsoft Platform An in-depth scenario-driven approach to architecting systems using Microsoft technologies

Arrow left icon
Product type Paperback
Published in Sep 2010
Publisher Packt
ISBN-13 9781849680547
Length 544 pages
Edition 1st Edition
Arrow right icon
Toc

Table of Contents (26) Chapters Close

Applied Architecture Patterns on the Microsoft Platform
Credits
Foreword
About the Authors
About the Reviewer
1. Preface
1. Solution Decision Framework 2. Windows Communication Foundation and Windows Workflow 4.0 Primer FREE CHAPTER 3. Windows Server AppFabric Primer 4. BizTalk Server Primer 5. SQL Server and Data Integration Tools Primer 6. Windows Azure Platform Primer 7. Simple Workflow 8. Content-based Routing 9. Publish-Subscribe 10. Repair/Resubmit with Human Workflow 11. Remote Message Broadcasting 12. Debatching Bulk Data 13. Complex Event Processing 14. Cross-Organizational Supply Chain 15. Multiple Master Synchronization 16. Rapid Flexible Scalability 17. Low-Latency Request-Reply 18. Handling Large Session and Reference Data 19. Website Load Burst and Failover 20. Wrap Up

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 add another LINQ query which uses the first query as input and joins to the click stream events for each website. When a particular website starts acting up, the "abandon cart" events should be amplified and we can make sure to immediately court...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime