<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Cqrs on Data, Distributed Systems &amp; Cybersecurity Knowledge Hub</title>
		<link>https://samirsahoo.github.io/data-security/tags/cqrs/</link>
		<description>Recent content in Cqrs on Data, Distributed Systems &amp; Cybersecurity Knowledge Hub</description>
		<generator>Hugo</generator>
		<language>en-US</language>
		
		
		
			<copyright>© 2026 Samir Kumar Sahoo (https://github.com/samirsahoo). All rights reserved.</copyright>
		
		
			<atom:link href="https://samirsahoo.github.io/data-security/tags/cqrs/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>CQRS and Event Sourcing</title>
				<link>https://samirsahoo.github.io/data-security/distributed/cqrs-and-event-sourcing/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://samirsahoo.github.io/data-security/distributed/cqrs-and-event-sourcing/</guid>
				<description>&lt;h2 id=&#34;simple-definition&#34;&gt;Simple definition&lt;a class=&#34;heading-anchor&#34; href=&#34;#simple-definition&#34; aria-label=&#34;Link to this section&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;CQRS (Command Query Responsibility Segregation):&lt;/strong&gt; use &lt;strong&gt;one model to change data&lt;/strong&gt; (commands) and &lt;strong&gt;one or more different models to read it&lt;/strong&gt; (queries).&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Event sourcing:&lt;/strong&gt; store &lt;strong&gt;every change as an immutable event&lt;/strong&gt;, and derive current state by replaying them, instead of storing only the latest state.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;They are often used together, but each works without the other.&lt;/p&gt;</description>
			</item>
			<item>
				<title>System Design: Order Processing Across Microservices</title>
				<link>https://samirsahoo.github.io/data-security/distributed/case-study-order-saga/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://samirsahoo.github.io/data-security/distributed/case-study-order-saga/</guid>
				<description>&lt;h2 id=&#34;the-design-brief&#34;&gt;The design brief&lt;a class=&#34;heading-anchor&#34; href=&#34;#the-design-brief&#34; aria-label=&#34;Link to this section&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;blockquote&gt;&lt;p&gt;&lt;em&gt;&amp;ldquo;Customers buy products online. An order must reserve stock, take payment and book delivery. Customers track their order in real time. Peak is 2,000 orders per second during sales. We must never charge for an order we cannot fulfil, and never ship an unpaid order.&amp;rdquo;&lt;/em&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;</description>
			</item>
	</channel>
</rss>
