Your SlideShare is downloading. ×
Cqrs and the cloud
Upcoming SlideShare
Loading in...5

Thanks for flagging this SlideShare!

Oops! An error has occurred.


Saving this for later?

Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime - even offline.

Text the download link to your phone

Standard text messaging rates apply

Cqrs and the cloud


Published on

How the CQRS architecture and cloud computing combine

How the CQRS architecture and cloud computing combine

Published in: Technology

  • Be the first to comment

  • Be the first to like this

No Downloads
Total Views
On Slideshare
From Embeds
Number of Embeds
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

No notes for slide
  • Undertaking a significant software project requires planning well beyond the foresight horizon. How the business will change, how the project’s success will feed back into its requirements, how IT will change are all factors that make a thorough up-front design impractical.In order to address this uncertainty we need to put in place an architecture that is flexible enough to deal with the unknowns without requiring a significant rebuild to accommodate that change.
  • Rather than making more powerful computers (vertical scalability) we need to spread the workload across multiple independent nodes based on standard commodity hardware.This requires an architecture that maximises parallelism. Nodes should not wait for each other and the number of nodes should be dynamically adjusted to the workload.
  • A system typically has to work with very different types of data, from the highly structured such as tabular data to semi-structured documents, to image and other raw file formats and even custom persisted data views that could be an aggregate of all of these.
  • Storing data pertaining to multiple clients in a single database significantly increases the risk of data breach and also makes it very difficult to analyse their storage requirements (and to bill accordingly).
  • The system is split between the command side which is responsible for actions and the query side which is responsible for data requests.The number and ratio of command and query handlers can be adjusted to match the needs of the underlying business process.
  • The common data container is used for reference data that is common to all clients. Each client has its own separate container for client specific data.Containers are independently secured to minimise data breach risk
  • Transcript

    • 1. CQRS and the Cloud Command-Query responsibility segregation backed by Windows Azure
    • 2. Design goals • Horizontal scalability • Flexible data model • Segregation of client data • Multiple user interfaces
    • 3. Horizontal Scalability
    • 4. Flexible data model
    • 5. Segregation of client data
    • 6. Multiple user interfaces API Internet Mobile
    • 7. CQRS Overview Command Definition Handler Query Definition Handler Write Model Read Model
    • 8. Data Segregation Write Model Read Model • Client Data Container • Common Data Container