<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Data, Distributed Systems &amp; Cybersecurity Knowledge Hub</title>
		<link>https://samirsahoo.github.io/data-security/</link>
		<description>Recent content 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/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>Consistency Models, CAP, PACELC and Consensus</title>
				<link>https://samirsahoo.github.io/data-security/distributed/consistency-and-consensus/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://samirsahoo.github.io/data-security/distributed/consistency-and-consensus/</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;p&gt;A &lt;strong&gt;consistency model&lt;/strong&gt; is a promise about &lt;strong&gt;what a read can return&lt;/strong&gt; after writes, when data is copied across machines. Strong models behave like a single copy. Weaker models allow stale or reordered reads in exchange for &lt;strong&gt;latency and availability&lt;/strong&gt;.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Data &amp; Security Architect Learning Path</title>
				<link>https://samirsahoo.github.io/data-security/learning-paths/data-security-architect/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://samirsahoo.github.io/data-security/learning-paths/data-security-architect/</guid>
				<description>&lt;p&gt;This path takes you from the event log to a secure, regulated, end-to-end platform design. Each step builds on the previous one. The case studies at the end of each module combine what you have learned into a complete design.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Modern Data Platform Architecture</title>
				<link>https://samirsahoo.github.io/data-security/data-platforms/data-platform-architecture/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://samirsahoo.github.io/data-security/data-platforms/data-platform-architecture/</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;p&gt;A &lt;strong&gt;data platform&lt;/strong&gt; collects data from operational systems, stores it reliably and cheaply, and turns it into &lt;strong&gt;trusted data products&lt;/strong&gt; for reporting, analytics, machine learning and AI. The modern default is a &lt;strong&gt;lakehouse&lt;/strong&gt;: open table formats on object storage, queried by many engines under one governance catalog.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Apache Kafka Architecture</title>
				<link>https://samirsahoo.github.io/data-security/streaming/kafka-architecture/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://samirsahoo.github.io/data-security/streaming/kafka-architecture/</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;p&gt;&lt;strong&gt;Apache Kafka&lt;/strong&gt; is a distributed event streaming platform. At its core it is a &lt;strong&gt;replicated, partitioned, append-only log&lt;/strong&gt;: producers append records, the cluster stores them durably for a configured time, and any number of consumers read them independently. Each consumer can re-read old records whenever it needs to.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Quick Check: Data, Distributed Systems &amp; Cybersecurity</title>
				<link>https://samirsahoo.github.io/data-security/self-review/quick-check/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://samirsahoo.github.io/data-security/self-review/quick-check/</guid>
				<description>&lt;p&gt;Answers are short, just enough to check your understanding. Each section links to the articles with the full explanations.&lt;/p&gt;&#xA;&lt;aside class=&#34;callout callout--tip&#34; role=&#34;note&#34;&gt;&#xA;  &lt;p class=&#34;callout__title&#34;&gt;&lt;span class=&#34;callout__label&#34;&gt;Tip&lt;/span&gt;&lt;span class=&#34;callout__heading&#34;&gt;How to use this page&lt;/span&gt;&lt;/p&gt;&#xA;  &lt;div class=&#34;callout__body&#34;&gt;&lt;p&gt;Cover the answer, explain it in your own words, then compare. Mark anything you hesitated on and reread the linked article. Aim for 80% before moving on.&lt;/p&gt;&lt;/div&gt;&#xA;&lt;/aside&gt;</description>
			</item>
			<item>
				<title>Threat Modelling</title>
				<link>https://samirsahoo.github.io/data-security/security/threat-modelling/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://samirsahoo.github.io/data-security/security/threat-modelling/</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;p&gt;&lt;strong&gt;Threat modelling&lt;/strong&gt; is a structured way to answer: &lt;em&gt;what are we building, what can go wrong, what are we going to do about it, and did we do a good job?&lt;/em&gt; It finds &lt;strong&gt;design-level&lt;/strong&gt; security and privacy problems early, when fixing them is cheap.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Data Governance: Catalog, Lineage, Quality and Contracts</title>
				<link>https://samirsahoo.github.io/data-security/data-platforms/data-governance/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://samirsahoo.github.io/data-security/data-platforms/data-governance/</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;p&gt;&lt;strong&gt;Data governance&lt;/strong&gt; is the set of &lt;strong&gt;roles, policies, standards and tools&lt;/strong&gt; that make sure data is &lt;strong&gt;known&lt;/strong&gt; (catalogued and defined), &lt;strong&gt;trusted&lt;/strong&gt; (good quality with traceable lineage), &lt;strong&gt;protected&lt;/strong&gt; (secure and private) and &lt;strong&gt;used properly&lt;/strong&gt; (meeting regulation and ethics) across its lifecycle.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Design Review Checklist</title>
				<link>https://samirsahoo.github.io/data-security/self-review/design-review-checklist/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://samirsahoo.github.io/data-security/self-review/design-review-checklist/</guid>
				<description>&lt;h2 id=&#34;how-to-use-it&#34;&gt;How to use it&lt;a class=&#34;heading-anchor&#34; href=&#34;#how-to-use-it&#34; aria-label=&#34;Link to this section&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;p&gt;Use this checklist to review your own design before building, or a team&amp;rsquo;s design at an architecture board. Score each area 0–3 and record the evidence.&lt;/p&gt;&#xA;&lt;figure class=&#34;diagram&#34; aria-label=&#34;Ten review areas&#34;&gt;&lt;figcaption class=&#34;diagram__title&#34;&gt;Ten review areas&lt;/figcaption&gt;&#xA;  &lt;pre class=&#34;mermaid&#34;&gt;flowchart LR&#xA;    A1[&amp;#34;1 · Goals &amp;amp; NFRs&amp;#34;] --&amp;gt; A2[&amp;#34;2 · Boundaries &amp;amp; data ownership&amp;#34;] --&amp;gt; A3[&amp;#34;3 · Events &amp;amp; contracts&amp;#34;] --&amp;gt; A4[&amp;#34;4 · Consistency&amp;#34;] --&amp;gt; A5[&amp;#34;5 · Failure handling&amp;#34;]&#xA;    A5 --&amp;gt; A6[&amp;#34;6 · Data platform &amp;amp; governance&amp;#34;] --&amp;gt; A7[&amp;#34;7 · Data security &amp;amp; privacy&amp;#34;] --&amp;gt; A8[&amp;#34;8 · Threats &amp;amp; security&amp;#34;] --&amp;gt; A9[&amp;#34;9 · AI risk&amp;#34;] --&amp;gt; A10[&amp;#34;10 · Compliance &amp;amp; operations&amp;#34;]&lt;/pre&gt;&#xA;&lt;/figure&gt;&#xA;&lt;h2 id=&#34;1-goals-and-non-functional-requirements&#34;&gt;1. Goals and non-functional requirements&lt;a class=&#34;heading-anchor&#34; href=&#34;#1-goals-and-non-functional-requirements&#34; aria-label=&#34;Link to this section&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Throughput (average and peak), latency budgets, availability, RPO and RTO stated per flow?&lt;/li&gt;&#xA;&lt;li&gt;Which flows are synchronous (the user waits) and which are asynchronous?&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Red flags:&lt;/strong&gt; &amp;ldquo;real-time&amp;rdquo; undefined; no peak numbers; one SLO for everything.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;2-boundaries-and-data-ownership&#34;&gt;2. Boundaries and data ownership&lt;a class=&#34;heading-anchor&#34; href=&#34;#2-boundaries-and-data-ownership&#34; aria-label=&#34;Link to this section&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Each piece of data has &lt;strong&gt;one owning service&lt;/strong&gt;? No shared databases between services?&lt;/li&gt;&#xA;&lt;li&gt;Do data that must change together live together?&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Red flags:&lt;/strong&gt; services reading each other&amp;rsquo;s tables; every change spans services.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;3-events-and-contracts&#34;&gt;3. Events and contracts&lt;a class=&#34;heading-anchor&#34; href=&#34;#3-events-and-contracts&#34; aria-label=&#34;Link to this section&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Events named as past-tense facts; integration events separated from internal ones?&lt;/li&gt;&#xA;&lt;li&gt;Keys chosen for ordering; partition count sized for growth?&lt;/li&gt;&#xA;&lt;li&gt;Schemas registered, compatibility mode chosen (transitive if replayed), CI checks in place?&lt;/li&gt;&#xA;&lt;li&gt;No secrets or unnecessary PII in events; trace context propagated?&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Red flags:&lt;/strong&gt; schemaless JSON; compatibility NONE; low-cardinality keys; PAN in events.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;4-consistency&#34;&gt;4. Consistency&lt;a class=&#34;heading-anchor&#34; href=&#34;#4-consistency&#34; aria-label=&#34;Link to this section&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Consistency model stated per operation (strong where invariants live, eventual elsewhere)?&lt;/li&gt;&#xA;&lt;li&gt;Invariants protected inside one ACID or consensus boundary?&lt;/li&gt;&#xA;&lt;li&gt;Read-your-writes handled where users need it?&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Red flags:&lt;/strong&gt; decisions made on async replicas or read models; &amp;ldquo;eventually consistent&amp;rdquo; used as an excuse.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;5-failure-handling&#34;&gt;5. Failure handling&lt;a class=&#34;heading-anchor&#34; href=&#34;#5-failure-handling&#34; aria-label=&#34;Link to this section&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Outbox (or equivalent) for state plus event; idempotent consumers; idempotency keys on APIs?&lt;/li&gt;&#xA;&lt;li&gt;Sagas with explicit compensations, timeouts and manual-review paths?&lt;/li&gt;&#xA;&lt;li&gt;Retries with backoff, DLTs, poison-message handling; the timeout (unknown) outcome designed?&lt;/li&gt;&#xA;&lt;li&gt;Reconciliation jobs for money and critical data?&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Red flags:&lt;/strong&gt; &lt;code&gt;@Transactional&lt;/code&gt; around remote calls; infinite retries; no compensation design.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;6-data-platform-and-governance&#34;&gt;6. Data platform and governance&lt;a class=&#34;heading-anchor&#34; href=&#34;#6-data-platform-and-governance&#34; aria-label=&#34;Link to this section&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Open table formats and one catalog; medallion or product layers defined?&lt;/li&gt;&#xA;&lt;li&gt;Owners, contracts and quality gates per data product; lineage captured automatically?&lt;/li&gt;&#xA;&lt;li&gt;Regulatory reports traceable to source (BCBS 239)?&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Red flags:&lt;/strong&gt; copies per tool; no owners; quality checks only on final reports.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;7-data-security-and-privacy&#34;&gt;7. Data security and privacy&lt;a class=&#34;heading-anchor&#34; href=&#34;#7-data-security-and-privacy&#34; aria-label=&#34;Link to this section&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Data classified; sensitive identifiers tokenised early; masking by default?&lt;/li&gt;&#xA;&lt;li&gt;Encryption in transit and at rest with managed keys (HSM/KMS); key separation of duties?&lt;/li&gt;&#xA;&lt;li&gt;ABAC or row and column security; JIT access to restricted data; access recertification?&lt;/li&gt;&#xA;&lt;li&gt;Residency, retention and erasure (including immutable stores) designed?&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Red flags:&lt;/strong&gt; production data in test; PII in logs and prompts; &amp;ldquo;we encrypt the disk&amp;rdquo; as the only control.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;8-threats-and-security-architecture&#34;&gt;8. Threats and security architecture&lt;a class=&#34;heading-anchor&#34; href=&#34;#8-threats-and-security-architecture&#34; aria-label=&#34;Link to this section&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Current threat model (DFD, trust boundaries, STRIDE, LINDDUN for personal data)?&lt;/li&gt;&#xA;&lt;li&gt;Zero trust: strong user and workload identity, mTLS, per-object authorisation?&lt;/li&gt;&#xA;&lt;li&gt;Supply chain: SBOM, signing, provenance, admission policy; secrets dynamic and short-lived?&lt;/li&gt;&#xA;&lt;li&gt;Crypto inventory and crypto-agility for PQC?&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Red flags:&lt;/strong&gt; trusted internal network; authorisation only at the gateway; long-lived static credentials.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;9-ai-risk&#34;&gt;9. AI risk&lt;a class=&#34;heading-anchor&#34; href=&#34;#9-ai-risk&#34; aria-label=&#34;Link to this section&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;AI use cases inventoried and classified (EU AI Act tier)?&lt;/li&gt;&#xA;&lt;li&gt;Least agency, user-scoped tools, human approval for consequential actions?&lt;/li&gt;&#xA;&lt;li&gt;Permission-aware RAG; output validation; token and cost limits?&lt;/li&gt;&#xA;&lt;li&gt;Red-teamed and continuously evaluated; traces kept?&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Red flags:&lt;/strong&gt; agents with service-account superpowers; security rules only in the system prompt.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;10-compliance-and-operations&#34;&gt;10. Compliance and operations&lt;a class=&#34;heading-anchor&#34; href=&#34;#10-compliance-and-operations&#34; aria-label=&#34;Link to this section&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Applicable regulations listed (PCI DSS, DORA, PSD2/3, GDPR/DPDP, RBI, CERT-In, SEBI, AI Act); controls mapped once to many?&lt;/li&gt;&#xA;&lt;li&gt;Incident detection, classification and reporting clocks (4/6/24/72 h) automated and rehearsed?&lt;/li&gt;&#xA;&lt;li&gt;Resilience testing, restore tests, third-party register and exit plans?&lt;/li&gt;&#xA;&lt;li&gt;Monitoring: lag, DLTs, saga states, quality, access anomalies, cost?&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Red flags:&lt;/strong&gt; compliance as an annual project; paper-only incident plans; unknown ICT dependencies.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;scoring-rubric&#34;&gt;Scoring rubric&lt;a class=&#34;heading-anchor&#34; href=&#34;#scoring-rubric&#34; aria-label=&#34;Link to this section&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;div class=&#34;table-wrap&#34; tabindex=&#34;0&#34; role=&#34;region&#34; aria-label=&#34;Table&#34;&gt;&#xA;&lt;table&gt;&#xA;  &lt;thead&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;th&gt;Score&lt;/th&gt;&#xA;      &lt;th&gt;Meaning&lt;/th&gt;&#xA;    &lt;/tr&gt;&#xA;  &lt;/thead&gt;&#xA;  &lt;tbody&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;0&lt;/td&gt;&#xA;      &lt;td&gt;Not considered&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;1&lt;/td&gt;&#xA;      &lt;td&gt;Considered, but not designed&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;2&lt;/td&gt;&#xA;      &lt;td&gt;Designed, but not yet verified&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;3&lt;/td&gt;&#xA;      &lt;td&gt;Designed and verified (tests, evidence, drills)&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;  &lt;/tbody&gt;&#xA;&lt;/table&gt;&#xA;&lt;/div&gt;&#xA;&lt;p&gt;A design is &lt;strong&gt;ready to build&lt;/strong&gt; at an average of at least 2 with no zeros in areas 4, 5, 7 or 8. It is &lt;strong&gt;ready for production&lt;/strong&gt; at 3 in all applicable areas.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Distributed Transactions: 2PC, XA and the Alternatives</title>
				<link>https://samirsahoo.github.io/data-security/distributed/distributed-transactions/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://samirsahoo.github.io/data-security/distributed/distributed-transactions/</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;p&gt;A &lt;strong&gt;distributed transaction&lt;/strong&gt; is an all-or-nothing update that spans &lt;strong&gt;more than one database or resource&lt;/strong&gt;, for example debiting an account in one service and creating a shipment in another.&lt;/p&gt;&#xA;&lt;h2 id=&#34;the-problem&#34;&gt;The problem&lt;a class=&#34;heading-anchor&#34; href=&#34;#the-problem&#34; aria-label=&#34;Link to this section&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;p&gt;Inside one database, ACID transactions are cheap and reliable. Microservices use &lt;strong&gt;database per service&lt;/strong&gt;, and integrations add brokers and external APIs. Code like this:&lt;/p&gt;</description>
			</item>
			<item>
				<title>Kafka Producers, Consumers and Delivery Guarantees</title>
				<link>https://samirsahoo.github.io/data-security/streaming/kafka-producers-and-consumers/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://samirsahoo.github.io/data-security/streaming/kafka-producers-and-consumers/</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;p&gt;A &lt;strong&gt;producer&lt;/strong&gt; writes records to topic partitions. A &lt;strong&gt;consumer&lt;/strong&gt; reads them and records its progress as &lt;strong&gt;offsets&lt;/strong&gt;. &lt;strong&gt;Delivery guarantees&lt;/strong&gt; describe what happens to a record when something fails in between: it can be lost, duplicated or processed exactly once.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Security Architecture: Zero Trust, AppSec, Supply Chain and Cryptography</title>
				<link>https://samirsahoo.github.io/data-security/security/security-architecture/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://samirsahoo.github.io/data-security/security/security-architecture/</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;p&gt;&lt;strong&gt;Security architecture&lt;/strong&gt; is the set of principles, patterns and controls that make a system &lt;strong&gt;resist, detect and recover from attacks&lt;/strong&gt; by design. It covers identity, network, application, data, supply chain, cryptography and operations.&lt;/p&gt;&#xA;&lt;h2 id=&#34;core-principles&#34;&gt;Core principles&lt;a class=&#34;heading-anchor&#34; href=&#34;#core-principles&#34; aria-label=&#34;Link to this section&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;div class=&#34;table-wrap&#34; tabindex=&#34;0&#34; role=&#34;region&#34; aria-label=&#34;Table&#34;&gt;&#xA;&lt;table&gt;&#xA;  &lt;thead&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;th&gt;Principle&lt;/th&gt;&#xA;      &lt;th&gt;Meaning&lt;/th&gt;&#xA;    &lt;/tr&gt;&#xA;  &lt;/thead&gt;&#xA;  &lt;tbody&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;&lt;strong&gt;Defence in depth&lt;/strong&gt;&lt;/td&gt;&#xA;      &lt;td&gt;Multiple independent layers, so one failure is not a breach&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;&lt;strong&gt;Least privilege&lt;/strong&gt;&lt;/td&gt;&#xA;      &lt;td&gt;Minimum access, for minimum time&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;&lt;strong&gt;Zero trust&lt;/strong&gt;&lt;/td&gt;&#xA;      &lt;td&gt;Never trust by network location; verify explicitly every time&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;&lt;strong&gt;Secure by default&lt;/strong&gt;&lt;/td&gt;&#xA;      &lt;td&gt;Safe settings out of the box; insecure options require effort&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;&lt;strong&gt;Fail securely&lt;/strong&gt;&lt;/td&gt;&#xA;      &lt;td&gt;Errors deny access. This is OWASP A10:2025, &amp;ldquo;Mishandling of Exceptional Conditions&amp;rdquo;.&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;&lt;strong&gt;Assume breach&lt;/strong&gt;&lt;/td&gt;&#xA;      &lt;td&gt;Limit blast radius; detect and respond fast&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;&lt;strong&gt;Separation of duties&lt;/strong&gt;&lt;/td&gt;&#xA;      &lt;td&gt;No single person or service can complete a critical action alone&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;&lt;strong&gt;Economy of mechanism&lt;/strong&gt;&lt;/td&gt;&#xA;      &lt;td&gt;Simple designs are easier to verify&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;  &lt;/tbody&gt;&#xA;&lt;/table&gt;&#xA;&lt;/div&gt;&#xA;&lt;h2 id=&#34;zero-trust-architecture&#34;&gt;Zero trust architecture&lt;a class=&#34;heading-anchor&#34; href=&#34;#zero-trust-architecture&#34; aria-label=&#34;Link to this section&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;p&gt;&lt;strong&gt;NIST SP 800-207&lt;/strong&gt; defines zero trust as moving defences from static network perimeters to &lt;strong&gt;users, assets and resources&lt;/strong&gt;. Every request is authenticated, authorised and encrypted, based on identity and context.&lt;/p&gt;</description>
			</item>
			<item>
				<title>AI Security: Securing LLM Applications and Agents</title>
				<link>https://samirsahoo.github.io/data-security/security/ai-security/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://samirsahoo.github.io/data-security/security/ai-security/</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;p&gt;&lt;strong&gt;AI security&lt;/strong&gt; protects systems built on machine learning, especially &lt;strong&gt;large language models (LLMs) and AI agents&lt;/strong&gt;, from manipulation, data leakage, misuse and failure. It also protects people and organisations from harm caused by those systems.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Data Security and Privacy Engineering</title>
				<link>https://samirsahoo.github.io/data-security/data-platforms/data-security-and-privacy/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://samirsahoo.github.io/data-security/data-platforms/data-security-and-privacy/</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;p&gt;&lt;strong&gt;Data security&lt;/strong&gt; protects the &lt;strong&gt;confidentiality, integrity and availability&lt;/strong&gt; of data against unauthorised access, change or loss. &lt;strong&gt;Privacy engineering&lt;/strong&gt; makes sure personal data is collected and used &lt;strong&gt;only for legitimate, stated purposes&lt;/strong&gt;, minimised, and handled according to people&amp;rsquo;s rights.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Event-Driven Architecture</title>
				<link>https://samirsahoo.github.io/data-security/streaming/event-driven-architecture/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://samirsahoo.github.io/data-security/streaming/event-driven-architecture/</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;p&gt;In an &lt;strong&gt;event-driven architecture (EDA)&lt;/strong&gt;, services announce &lt;strong&gt;facts that happened&lt;/strong&gt; (&amp;ldquo;PaymentAuthorised&amp;rdquo;) instead of telling other services what to do. Interested services &lt;strong&gt;react&lt;/strong&gt; to those events in their own time. The producer does not know, or need to know, who is listening.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Transactional Outbox, CDC and Idempotent Consumers</title>
				<link>https://samirsahoo.github.io/data-security/distributed/outbox-cdc-idempotency/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://samirsahoo.github.io/data-security/distributed/outbox-cdc-idempotency/</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;Transactional outbox:&lt;/strong&gt; write the business change &lt;strong&gt;and&lt;/strong&gt; the event to the &lt;strong&gt;same database in one transaction&lt;/strong&gt;, then publish the event from the database to the broker.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Change data capture (CDC):&lt;/strong&gt; read a database&amp;rsquo;s transaction log and stream every change as events.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Idempotent consumer:&lt;/strong&gt; a consumer that gives the same result whether a message arrives once or several times.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Together they give &lt;strong&gt;effectively-once&lt;/strong&gt; processing without distributed transactions.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Data, Distributed Systems &amp; Security Quick Reference</title>
				<link>https://samirsahoo.github.io/data-security/self-review/quick-reference/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://samirsahoo.github.io/data-security/self-review/quick-reference/</guid>
				<description>&lt;h2 id=&#34;kafka-production-defaults&#34;&gt;Kafka production defaults&lt;a class=&#34;heading-anchor&#34; href=&#34;#kafka-production-defaults&#34; aria-label=&#34;Link to this section&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;div class=&#34;table-wrap&#34; tabindex=&#34;0&#34; role=&#34;region&#34; aria-label=&#34;Table&#34;&gt;&#xA;&lt;table&gt;&#xA;  &lt;thead&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;th&gt;Setting&lt;/th&gt;&#xA;      &lt;th&gt;Value&lt;/th&gt;&#xA;    &lt;/tr&gt;&#xA;  &lt;/thead&gt;&#xA;  &lt;tbody&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;&lt;code&gt;replication.factor&lt;/code&gt;&lt;/td&gt;&#xA;      &lt;td&gt;3 (across 3 AZs, rack-aware)&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;&lt;code&gt;min.insync.replicas&lt;/code&gt;&lt;/td&gt;&#xA;      &lt;td&gt;2&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;&lt;code&gt;acks&lt;/code&gt;&lt;/td&gt;&#xA;      &lt;td&gt;&lt;code&gt;all&lt;/code&gt;&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;&lt;code&gt;enable.idempotence&lt;/code&gt;&lt;/td&gt;&#xA;      &lt;td&gt;&lt;code&gt;true&lt;/code&gt;&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;&lt;code&gt;unclean.leader.election.enable&lt;/code&gt;&lt;/td&gt;&#xA;      &lt;td&gt;&lt;code&gt;false&lt;/code&gt;&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;&lt;code&gt;compression.type&lt;/code&gt;&lt;/td&gt;&#xA;      &lt;td&gt;&lt;code&gt;zstd&lt;/code&gt; or &lt;code&gt;lz4&lt;/code&gt;&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;&lt;code&gt;linger.ms&lt;/code&gt; / &lt;code&gt;batch.size&lt;/code&gt;&lt;/td&gt;&#xA;      &lt;td&gt;5–20 ms / 64–256 KB&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;&lt;code&gt;enable.auto.commit&lt;/code&gt; (business consumers)&lt;/td&gt;&#xA;      &lt;td&gt;&lt;code&gt;false&lt;/code&gt;; commit after processing&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;&lt;code&gt;group.protocol&lt;/code&gt;&lt;/td&gt;&#xA;      &lt;td&gt;&lt;code&gt;consumer&lt;/code&gt; (KIP-848)&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;&lt;code&gt;isolation.level&lt;/code&gt; (downstream of transactions)&lt;/td&gt;&#xA;      &lt;td&gt;&lt;code&gt;read_committed&lt;/code&gt;&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;Controllers&lt;/td&gt;&#xA;      &lt;td&gt;3 dedicated KRaft controllers&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;  &lt;/tbody&gt;&#xA;&lt;/table&gt;&#xA;&lt;/div&gt;&#xA;&lt;h2 id=&#34;delivery-semantics&#34;&gt;Delivery semantics&lt;a class=&#34;heading-anchor&#34; href=&#34;#delivery-semantics&#34; aria-label=&#34;Link to this section&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;div class=&#34;table-wrap&#34; tabindex=&#34;0&#34; role=&#34;region&#34; aria-label=&#34;Table&#34;&gt;&#xA;&lt;table&gt;&#xA;  &lt;thead&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;th&gt;Need&lt;/th&gt;&#xA;      &lt;th&gt;Use&lt;/th&gt;&#xA;    &lt;/tr&gt;&#xA;  &lt;/thead&gt;&#xA;  &lt;tbody&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;Loss acceptable&lt;/td&gt;&#xA;      &lt;td&gt;At-most-once&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;Business events&lt;/td&gt;&#xA;      &lt;td&gt;&lt;strong&gt;At-least-once + idempotent consumer&lt;/strong&gt;&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;Kafka → process → Kafka&lt;/td&gt;&#xA;      &lt;td&gt;Exactly-once (transactions / &lt;code&gt;exactly_once_v2&lt;/code&gt;)&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;DB state + event&lt;/td&gt;&#xA;      &lt;td&gt;Transactional outbox + CDC&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;API retries&lt;/td&gt;&#xA;      &lt;td&gt;Idempotency-Key&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;  &lt;/tbody&gt;&#xA;&lt;/table&gt;&#xA;&lt;/div&gt;&#xA;&lt;h2 id=&#34;which-pattern&#34;&gt;Which pattern?&lt;a class=&#34;heading-anchor&#34; href=&#34;#which-pattern&#34; aria-label=&#34;Link to this section&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;div class=&#34;table-wrap&#34; tabindex=&#34;0&#34; role=&#34;region&#34; aria-label=&#34;Table&#34;&gt;&#xA;&lt;table&gt;&#xA;  &lt;thead&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;th&gt;Problem&lt;/th&gt;&#xA;      &lt;th&gt;Pattern&lt;/th&gt;&#xA;    &lt;/tr&gt;&#xA;  &lt;/thead&gt;&#xA;  &lt;tbody&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;State change must emit an event reliably&lt;/td&gt;&#xA;      &lt;td&gt;Outbox + CDC&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;Duplicates&lt;/td&gt;&#xA;      &lt;td&gt;Idempotent consumer / inbox&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;Multi-service business transaction&lt;/td&gt;&#xA;      &lt;td&gt;Saga (orchestrated for long flows)&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;Reserve then commit&lt;/td&gt;&#xA;      &lt;td&gt;TCC / authorise–capture&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;Different read and write shapes&lt;/td&gt;&#xA;      &lt;td&gt;CQRS&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;Full history and audit&lt;/td&gt;&#xA;      &lt;td&gt;Event sourcing&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;Queue of independent jobs&lt;/td&gt;&#xA;      &lt;td&gt;Kafka share group&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;Ordered stream per entity&lt;/td&gt;&#xA;      &lt;td&gt;Consumer group, keyed by entity&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;Real-time aggregates and alerts&lt;/td&gt;&#xA;      &lt;td&gt;Flink / Kafka Streams with event time&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;  &lt;/tbody&gt;&#xA;&lt;/table&gt;&#xA;&lt;/div&gt;&#xA;&lt;h2 id=&#34;consistency-cheat-sheet&#34;&gt;Consistency cheat sheet&lt;a class=&#34;heading-anchor&#34; href=&#34;#consistency-cheat-sheet&#34; aria-label=&#34;Link to this section&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;div class=&#34;table-wrap&#34; tabindex=&#34;0&#34; role=&#34;region&#34; aria-label=&#34;Table&#34;&gt;&#xA;&lt;table&gt;&#xA;  &lt;thead&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;th&gt;Term&lt;/th&gt;&#xA;      &lt;th&gt;One-liner&lt;/th&gt;&#xA;    &lt;/tr&gt;&#xA;  &lt;/thead&gt;&#xA;  &lt;tbody&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;Linearizable&lt;/td&gt;&#xA;      &lt;td&gt;Behaves like one copy, in real-time order&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;Causal&lt;/td&gt;&#xA;      &lt;td&gt;Causes are seen before effects&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;Read-your-writes&lt;/td&gt;&#xA;      &lt;td&gt;You see your own updates&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;Eventual&lt;/td&gt;&#xA;      &lt;td&gt;Replicas converge when writes stop&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;CAP&lt;/td&gt;&#xA;      &lt;td&gt;Under a partition: C or A&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;PACELC&lt;/td&gt;&#xA;      &lt;td&gt;Else: latency or consistency&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;Quorum&lt;/td&gt;&#xA;      &lt;td&gt;R + W &amp;gt; N&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;Raft&lt;/td&gt;&#xA;      &lt;td&gt;Majority commit; 3 or 5 nodes&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;  &lt;/tbody&gt;&#xA;&lt;/table&gt;&#xA;&lt;/div&gt;&#xA;&lt;h2 id=&#34;table-formats-and-catalogs&#34;&gt;Table formats and catalogs&lt;a class=&#34;heading-anchor&#34; href=&#34;#table-formats-and-catalogs&#34; aria-label=&#34;Link to this section&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;div class=&#34;table-wrap&#34; tabindex=&#34;0&#34; role=&#34;region&#34; aria-label=&#34;Table&#34;&gt;&#xA;&lt;table&gt;&#xA;  &lt;thead&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;th&gt;&lt;/th&gt;&#xA;      &lt;th&gt;Iceberg&lt;/th&gt;&#xA;      &lt;th&gt;Delta&lt;/th&gt;&#xA;      &lt;th&gt;Hudi&lt;/th&gt;&#xA;    &lt;/tr&gt;&#xA;  &lt;/thead&gt;&#xA;  &lt;tbody&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;Strength&lt;/td&gt;&#xA;      &lt;td&gt;Engine-neutral, REST catalog&lt;/td&gt;&#xA;      &lt;td&gt;Spark/Databricks&lt;/td&gt;&#xA;      &lt;td&gt;Upserts, incremental&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;Catalogs&lt;/td&gt;&#xA;      &lt;td&gt;Polaris, Unity, Glue/S3 Tables, Nessie&lt;/td&gt;&#xA;      &lt;td&gt;Unity&lt;/td&gt;&#xA;      &lt;td&gt;Hive/Glue&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;  &lt;/tbody&gt;&#xA;&lt;/table&gt;&#xA;&lt;/div&gt;&#xA;&lt;p&gt;Iceberg v3: deletion vectors · row lineage · VARIANT · geo types · ns timestamps · defaults.&lt;/p&gt;</description>
			</item>
			<item>
				<title>System Design: A Governed Data Platform for a Bank</title>
				<link>https://samirsahoo.github.io/data-security/data-platforms/case-study-regulated-data-platform/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://samirsahoo.github.io/data-security/data-platforms/case-study-regulated-data-platform/</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;A bank operating in the EU and India wants one data platform for regulatory reporting, risk, fraud analytics, customer insights and GenAI. Today it has three warehouses, a Hadoop lake and hundreds of spreadsheet reports with conflicting numbers. Regulators have criticised its risk data aggregation.&amp;rdquo;&lt;/em&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;</description>
			</item>
			<item>
				<title>FinTech Regulations for Architects</title>
				<link>https://samirsahoo.github.io/data-security/security/fintech-regulations/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://samirsahoo.github.io/data-security/security/fintech-regulations/</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;p&gt;FinTech regulations set &lt;strong&gt;legally binding requirements&lt;/strong&gt; for how financial services protect money, data and customers, and how they stay operational. For architects, every regulation turns into &lt;strong&gt;non-functional requirements&lt;/strong&gt;: security controls, data handling, resilience, auditability and reporting timelines.&lt;/p&gt;</description>
			</item>
			<item>
				<title>The Saga Pattern</title>
				<link>https://samirsahoo.github.io/data-security/distributed/saga-pattern/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://samirsahoo.github.io/data-security/distributed/saga-pattern/</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;p&gt;A &lt;strong&gt;saga&lt;/strong&gt; is a sequence of &lt;strong&gt;local transactions&lt;/strong&gt;, one per service. If a step fails, the saga runs &lt;strong&gt;compensating transactions&lt;/strong&gt; to semantically undo the steps that already succeeded. It replaces one big distributed transaction with steps that are each atomic, plus an explicit undo plan.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Schemas, Event Contracts and Evolution</title>
				<link>https://samirsahoo.github.io/data-security/streaming/schemas-and-event-contracts/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://samirsahoo.github.io/data-security/streaming/schemas-and-event-contracts/</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;p&gt;An &lt;strong&gt;event contract&lt;/strong&gt; is the agreed shape and meaning of an event: field names, types, required fields, semantics and service levels. A &lt;strong&gt;schema registry&lt;/strong&gt; stores every version of that shape and checks that new versions do not break existing producers or consumers.&lt;/p&gt;</description>
			</item>
			<item>
				<title>System Design: A Secure, Compliant Payments Platform</title>
				<link>https://samirsahoo.github.io/data-security/security/case-study-secure-payments-platform/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://samirsahoo.github.io/data-security/security/case-study-secure-payments-platform/</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;A digital bank operating in the EU and India is launching card and account-to-account payments, an open-banking API for partners, and a GenAI assistant that answers customer questions and can initiate small transfers. Design the security architecture so that it is PCI DSS, DORA, PSD2/PSD3, GDPR/DPDP and RBI compliant, and can withstand a determined attacker.&amp;rdquo;&lt;/em&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;</description>
			</item>
			<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>Stream Processing with Flink and Kafka Streams</title>
				<link>https://samirsahoo.github.io/data-security/streaming/stream-processing/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://samirsahoo.github.io/data-security/streaming/stream-processing/</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;p&gt;&lt;strong&gt;Stream processing&lt;/strong&gt; computes results &lt;strong&gt;continuously&lt;/strong&gt; as events arrive: filtering, enriching, aggregating, joining and detecting patterns. Batch processing instead waits for a complete dataset. The result is another stream, a table or an action, available in milliseconds to seconds.&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>
			<item>
				<title>System Design: Event-Driven Real-Time Payments</title>
				<link>https://samirsahoo.github.io/data-security/streaming/case-study-real-time-payments/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://samirsahoo.github.io/data-security/streaming/case-study-real-time-payments/</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;Design the core of a bank&amp;rsquo;s instant payments service. Customers send money from mobile and web; payments must settle in under 10 seconds, end to end, 24×7. Each payment must be fraud-checked, posted to the ledger exactly once, notified to both parties and reconciled with the scheme daily.&amp;rdquo;&lt;/em&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;</description>
			</item>
			<item>
				<title>About this handbook</title>
				<link>https://samirsahoo.github.io/data-security/about/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://samirsahoo.github.io/data-security/about/</guid>
				<description>&lt;h2 id=&#34;purpose&#34;&gt;Purpose&lt;a class=&#34;heading-anchor&#34; href=&#34;#purpose&#34; aria-label=&#34;Link to this section&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;p&gt;The &lt;strong&gt;Data, Distributed Systems &amp;amp; Cybersecurity Knowledge Hub&lt;/strong&gt; explains event streaming, distributed data consistency, data platforms and security architecture simply, with diagrams and flows. It is written for architects, senior engineers, data engineers and security engineers, especially those working in financial services. It is a companion to the &lt;a href=&#34;https://samirsahoo.github.io/design-patterns-hub/&#34; rel=&#34;noopener&#34;&gt;Java &amp;amp; Software Architecture Knowledge Hub&lt;/a&gt;, the &lt;a href=&#34;https://samirsahoo.github.io/enterprise-ai/&#34; rel=&#34;noopener&#34;&gt;Enterprise AI &amp;amp; Agentic AI Knowledge Hub&lt;/a&gt; and the &lt;a href=&#34;https://samirsahoo.github.io/cloud-native/&#34; rel=&#34;noopener&#34;&gt;Cloud Native &amp;amp; Platform Engineering Knowledge Hub&lt;/a&gt;.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Glossary</title>
				<link>https://samirsahoo.github.io/data-security/glossary/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://samirsahoo.github.io/data-security/glossary/</guid>
				<description>&lt;p&gt;Definitions are deliberately short. Follow the links for the full explanations.&lt;/p&gt;&#xA;&lt;h3 id=&#34;ac&#34;&gt;A–C&lt;a class=&#34;heading-anchor&#34; href=&#34;#ac&#34; aria-label=&#34;Link to this section&#34;&gt;#&lt;/a&gt;&lt;/h3&gt;&#xA;&lt;dl&gt;&#xA;&lt;dt&gt;&lt;strong&gt;ABAC (attribute-based access control)&lt;/strong&gt;&lt;/dt&gt;&#xA;&lt;dd&gt;Access decisions from attributes of the user, the data and the context. See &lt;a href=&#34;https://samirsahoo.github.io/data-security/data-platforms/data-security-and-privacy/&#34;&gt;Data security&lt;/a&gt;.&lt;/dd&gt;&#xA;&lt;dt&gt;&lt;strong&gt;At-least-once delivery&lt;/strong&gt;&lt;/dt&gt;&#xA;&lt;dd&gt;Messages are never lost but may be duplicated. See &lt;a href=&#34;https://samirsahoo.github.io/data-security/streaming/kafka-producers-and-consumers/&#34;&gt;Producers and consumers&lt;/a&gt;.&lt;/dd&gt;&#xA;&lt;dt&gt;&lt;strong&gt;BCBS 239&lt;/strong&gt;&lt;/dt&gt;&#xA;&lt;dd&gt;Basel principles for risk data aggregation and reporting. See &lt;a href=&#34;https://samirsahoo.github.io/data-security/data-platforms/data-governance/&#34;&gt;Data governance&lt;/a&gt;.&lt;/dd&gt;&#xA;&lt;dt&gt;&lt;strong&gt;BOLA&lt;/strong&gt;&lt;/dt&gt;&#xA;&lt;dd&gt;Broken object-level authorisation, the top API security risk. See &lt;a href=&#34;https://samirsahoo.github.io/data-security/security/security-architecture/&#34;&gt;Security architecture&lt;/a&gt;.&lt;/dd&gt;&#xA;&lt;dt&gt;&lt;strong&gt;CAP theorem&lt;/strong&gt;&lt;/dt&gt;&#xA;&lt;dd&gt;Under a network partition, choose consistency or availability. See &lt;a href=&#34;https://samirsahoo.github.io/data-security/distributed/consistency-and-consensus/&#34;&gt;Consistency&lt;/a&gt;.&lt;/dd&gt;&#xA;&lt;dt&gt;&lt;strong&gt;CDC (change data capture)&lt;/strong&gt;&lt;/dt&gt;&#xA;&lt;dd&gt;Streaming database changes from the transaction log. See &lt;a href=&#34;https://samirsahoo.github.io/data-security/distributed/outbox-cdc-idempotency/&#34;&gt;Outbox and CDC&lt;/a&gt;.&lt;/dd&gt;&#xA;&lt;dt&gt;&lt;strong&gt;CDE (cardholder data environment)&lt;/strong&gt;&lt;/dt&gt;&#xA;&lt;dd&gt;Systems that store, process or transmit card data, and so fall in PCI DSS scope. See &lt;a href=&#34;https://samirsahoo.github.io/data-security/security/fintech-regulations/&#34;&gt;FinTech regulations&lt;/a&gt;.&lt;/dd&gt;&#xA;&lt;dt&gt;&lt;strong&gt;Compensating transaction&lt;/strong&gt;&lt;/dt&gt;&#xA;&lt;dd&gt;A business action that semantically undoes an earlier saga step. See &lt;a href=&#34;https://samirsahoo.github.io/data-security/distributed/saga-pattern/&#34;&gt;Saga&lt;/a&gt;.&lt;/dd&gt;&#xA;&lt;dt&gt;&lt;strong&gt;Consumer group&lt;/strong&gt;&lt;/dt&gt;&#xA;&lt;dd&gt;Kafka consumers sharing partitions, one owner per partition. See &lt;a href=&#34;https://samirsahoo.github.io/data-security/streaming/kafka-architecture/&#34;&gt;Kafka architecture&lt;/a&gt;.&lt;/dd&gt;&#xA;&lt;dt&gt;&lt;strong&gt;CQRS&lt;/strong&gt;&lt;/dt&gt;&#xA;&lt;dd&gt;Separate models for commands (writes) and queries (reads). See &lt;a href=&#34;https://samirsahoo.github.io/data-security/distributed/cqrs-and-event-sourcing/&#34;&gt;CQRS and event sourcing&lt;/a&gt;.&lt;/dd&gt;&#xA;&lt;dt&gt;&lt;strong&gt;Crypto-shredding&lt;/strong&gt;&lt;/dt&gt;&#xA;&lt;dd&gt;Making data unreadable by deleting its encryption key. See &lt;a href=&#34;https://samirsahoo.github.io/data-security/data-platforms/data-security-and-privacy/&#34;&gt;Data security&lt;/a&gt;.&lt;/dd&gt;&#xA;&lt;/dl&gt;&#xA;&lt;h3 id=&#34;di&#34;&gt;D–I&lt;a class=&#34;heading-anchor&#34; href=&#34;#di&#34; aria-label=&#34;Link to this section&#34;&gt;#&lt;/a&gt;&lt;/h3&gt;&#xA;&lt;dl&gt;&#xA;&lt;dt&gt;&lt;strong&gt;Data contract&lt;/strong&gt;&lt;/dt&gt;&#xA;&lt;dd&gt;A producer–consumer agreement covering schema, semantics, quality, SLOs and ownership. See &lt;a href=&#34;https://samirsahoo.github.io/data-security/streaming/schemas-and-event-contracts/&#34;&gt;Schemas and contracts&lt;/a&gt;.&lt;/dd&gt;&#xA;&lt;dt&gt;&lt;strong&gt;Data mesh&lt;/strong&gt;&lt;/dt&gt;&#xA;&lt;dd&gt;Domain-owned data products on a self-serve platform with federated governance. See &lt;a href=&#34;https://samirsahoo.github.io/data-security/data-platforms/data-platform-architecture/&#34;&gt;Data platforms&lt;/a&gt;.&lt;/dd&gt;&#xA;&lt;dt&gt;&lt;strong&gt;DORA&lt;/strong&gt;&lt;/dt&gt;&#xA;&lt;dd&gt;The EU Digital Operational Resilience Act for financial entities, applicable since January 2025. See &lt;a href=&#34;https://samirsahoo.github.io/data-security/security/fintech-regulations/&#34;&gt;FinTech regulations&lt;/a&gt;.&lt;/dd&gt;&#xA;&lt;dt&gt;&lt;strong&gt;DPDP Act&lt;/strong&gt;&lt;/dt&gt;&#xA;&lt;dd&gt;India&amp;rsquo;s Digital Personal Data Protection Act 2023, with Rules notified in 2025. See &lt;a href=&#34;https://samirsahoo.github.io/data-security/security/fintech-regulations/&#34;&gt;FinTech regulations&lt;/a&gt;.&lt;/dd&gt;&#xA;&lt;dt&gt;&lt;strong&gt;Envelope encryption&lt;/strong&gt;&lt;/dt&gt;&#xA;&lt;dd&gt;Data encrypted with a data key, and the data key encrypted with a master key in a KMS or HSM. See &lt;a href=&#34;https://samirsahoo.github.io/data-security/data-platforms/data-security-and-privacy/&#34;&gt;Data security&lt;/a&gt;.&lt;/dd&gt;&#xA;&lt;dt&gt;&lt;strong&gt;Event sourcing&lt;/strong&gt;&lt;/dt&gt;&#xA;&lt;dd&gt;Storing state as an append-only sequence of events. See &lt;a href=&#34;https://samirsahoo.github.io/data-security/distributed/cqrs-and-event-sourcing/&#34;&gt;CQRS and event sourcing&lt;/a&gt;.&lt;/dd&gt;&#xA;&lt;dt&gt;&lt;strong&gt;Excessive agency&lt;/strong&gt;&lt;/dt&gt;&#xA;&lt;dd&gt;An AI system with more tools, permissions or autonomy than it needs. See &lt;a href=&#34;https://samirsahoo.github.io/data-security/security/ai-security/&#34;&gt;AI security&lt;/a&gt;.&lt;/dd&gt;&#xA;&lt;dt&gt;&lt;strong&gt;FAPI 2.0&lt;/strong&gt;&lt;/dt&gt;&#xA;&lt;dd&gt;OpenID Foundation security profile for financial-grade APIs. See &lt;a href=&#34;https://samirsahoo.github.io/data-security/security/security-architecture/&#34;&gt;Security architecture&lt;/a&gt;.&lt;/dd&gt;&#xA;&lt;dt&gt;&lt;strong&gt;Iceberg&lt;/strong&gt;&lt;/dt&gt;&#xA;&lt;dd&gt;An open table format adding ACID, schema evolution and time travel to files. See &lt;a href=&#34;https://samirsahoo.github.io/data-security/data-platforms/data-platform-architecture/&#34;&gt;Data platforms&lt;/a&gt;.&lt;/dd&gt;&#xA;&lt;dt&gt;&lt;strong&gt;Idempotency&lt;/strong&gt;&lt;/dt&gt;&#xA;&lt;dd&gt;An operation that has the same effect whether applied once or many times. See &lt;a href=&#34;https://samirsahoo.github.io/data-security/distributed/outbox-cdc-idempotency/&#34;&gt;Outbox and idempotency&lt;/a&gt;.&lt;/dd&gt;&#xA;&lt;dt&gt;&lt;strong&gt;ISR (in-sync replicas)&lt;/strong&gt;&lt;/dt&gt;&#xA;&lt;dd&gt;Kafka replicas caught up with the partition leader. See &lt;a href=&#34;https://samirsahoo.github.io/data-security/streaming/kafka-architecture/&#34;&gt;Kafka architecture&lt;/a&gt;.&lt;/dd&gt;&#xA;&lt;/dl&gt;&#xA;&lt;h3 id=&#34;kp&#34;&gt;K–P&lt;a class=&#34;heading-anchor&#34; href=&#34;#kp&#34; aria-label=&#34;Link to this section&#34;&gt;#&lt;/a&gt;&lt;/h3&gt;&#xA;&lt;dl&gt;&#xA;&lt;dt&gt;&lt;strong&gt;KRaft&lt;/strong&gt;&lt;/dt&gt;&#xA;&lt;dd&gt;Kafka&amp;rsquo;s built-in Raft metadata quorum, replacing ZooKeeper since 4.0. See &lt;a href=&#34;https://samirsahoo.github.io/data-security/streaming/kafka-architecture/&#34;&gt;Kafka architecture&lt;/a&gt;.&lt;/dd&gt;&#xA;&lt;dt&gt;&lt;strong&gt;Lakehouse&lt;/strong&gt;&lt;/dt&gt;&#xA;&lt;dd&gt;Open table formats on object storage, queried by many engines under one catalog. See &lt;a href=&#34;https://samirsahoo.github.io/data-security/data-platforms/data-platform-architecture/&#34;&gt;Data platforms&lt;/a&gt;.&lt;/dd&gt;&#xA;&lt;dt&gt;&lt;strong&gt;Lineage&lt;/strong&gt;&lt;/dt&gt;&#xA;&lt;dd&gt;The record of where data came from and how it was transformed. See &lt;a href=&#34;https://samirsahoo.github.io/data-security/data-platforms/data-governance/&#34;&gt;Data governance&lt;/a&gt;.&lt;/dd&gt;&#xA;&lt;dt&gt;&lt;strong&gt;LINDDUN&lt;/strong&gt;&lt;/dt&gt;&#xA;&lt;dd&gt;A privacy threat-modelling method. See &lt;a href=&#34;https://samirsahoo.github.io/data-security/security/threat-modelling/&#34;&gt;Threat modelling&lt;/a&gt;.&lt;/dd&gt;&#xA;&lt;dt&gt;&lt;strong&gt;Linearizability&lt;/strong&gt;&lt;/dt&gt;&#xA;&lt;dd&gt;The strongest single-object consistency: behaves like one copy in real-time order. See &lt;a href=&#34;https://samirsahoo.github.io/data-security/distributed/consistency-and-consensus/&#34;&gt;Consistency&lt;/a&gt;.&lt;/dd&gt;&#xA;&lt;dt&gt;&lt;strong&gt;Medallion architecture&lt;/strong&gt;&lt;/dt&gt;&#xA;&lt;dd&gt;Bronze (raw), silver (conformed) and gold (product) data layers. See &lt;a href=&#34;https://samirsahoo.github.io/data-security/data-platforms/data-platform-architecture/&#34;&gt;Data platforms&lt;/a&gt;.&lt;/dd&gt;&#xA;&lt;dt&gt;&lt;strong&gt;MITRE ATLAS&lt;/strong&gt;&lt;/dt&gt;&#xA;&lt;dd&gt;A knowledge base of adversarial techniques against AI systems. See &lt;a href=&#34;https://samirsahoo.github.io/data-security/security/ai-security/&#34;&gt;AI security&lt;/a&gt;.&lt;/dd&gt;&#xA;&lt;dt&gt;&lt;strong&gt;Outbox pattern&lt;/strong&gt;&lt;/dt&gt;&#xA;&lt;dd&gt;Writing state and event in one local transaction, and relaying the event later. See &lt;a href=&#34;https://samirsahoo.github.io/data-security/distributed/outbox-cdc-idempotency/&#34;&gt;Outbox&lt;/a&gt;.&lt;/dd&gt;&#xA;&lt;dt&gt;&lt;strong&gt;PACELC&lt;/strong&gt;&lt;/dt&gt;&#xA;&lt;dd&gt;Partition: availability or consistency; else: latency or consistency. See &lt;a href=&#34;https://samirsahoo.github.io/data-security/distributed/consistency-and-consensus/&#34;&gt;Consistency&lt;/a&gt;.&lt;/dd&gt;&#xA;&lt;dt&gt;&lt;strong&gt;PCI DSS&lt;/strong&gt;&lt;/dt&gt;&#xA;&lt;dd&gt;The security standard for cardholder data; v4.0.1 is current. See &lt;a href=&#34;https://samirsahoo.github.io/data-security/security/fintech-regulations/&#34;&gt;FinTech regulations&lt;/a&gt;.&lt;/dd&gt;&#xA;&lt;dt&gt;&lt;strong&gt;Post-quantum cryptography (PQC)&lt;/strong&gt;&lt;/dt&gt;&#xA;&lt;dd&gt;Algorithms resistant to quantum attacks (ML-KEM, ML-DSA, SLH-DSA). See &lt;a href=&#34;https://samirsahoo.github.io/data-security/security/security-architecture/&#34;&gt;Security architecture&lt;/a&gt;.&lt;/dd&gt;&#xA;&lt;dt&gt;&lt;strong&gt;Prompt injection&lt;/strong&gt;&lt;/dt&gt;&#xA;&lt;dd&gt;Instructions in input or content that manipulate an LLM. See &lt;a href=&#34;https://samirsahoo.github.io/data-security/security/ai-security/&#34;&gt;AI security&lt;/a&gt;.&lt;/dd&gt;&#xA;&lt;/dl&gt;&#xA;&lt;h3 id=&#34;rz&#34;&gt;R–Z&lt;a class=&#34;heading-anchor&#34; href=&#34;#rz&#34; aria-label=&#34;Link to this section&#34;&gt;#&lt;/a&gt;&lt;/h3&gt;&#xA;&lt;dl&gt;&#xA;&lt;dt&gt;&lt;strong&gt;Raft&lt;/strong&gt;&lt;/dt&gt;&#xA;&lt;dd&gt;A consensus protocol using leader election and majority log replication. See &lt;a href=&#34;https://samirsahoo.github.io/data-security/distributed/consistency-and-consensus/&#34;&gt;Consistency&lt;/a&gt;.&lt;/dd&gt;&#xA;&lt;dt&gt;&lt;strong&gt;Saga&lt;/strong&gt;&lt;/dt&gt;&#xA;&lt;dd&gt;A sequence of local transactions with compensations. See &lt;a href=&#34;https://samirsahoo.github.io/data-security/distributed/saga-pattern/&#34;&gt;Saga&lt;/a&gt;.&lt;/dd&gt;&#xA;&lt;dt&gt;&lt;strong&gt;SBOM&lt;/strong&gt;&lt;/dt&gt;&#xA;&lt;dd&gt;A software bill of materials: an inventory of components. See &lt;a href=&#34;https://samirsahoo.github.io/data-security/security/security-architecture/&#34;&gt;Security architecture&lt;/a&gt;.&lt;/dd&gt;&#xA;&lt;dt&gt;&lt;strong&gt;SCA (strong customer authentication)&lt;/strong&gt;&lt;/dt&gt;&#xA;&lt;dd&gt;Two of knowledge, possession and inherence, required by PSD2. See &lt;a href=&#34;https://samirsahoo.github.io/data-security/security/fintech-regulations/&#34;&gt;FinTech regulations&lt;/a&gt;.&lt;/dd&gt;&#xA;&lt;dt&gt;&lt;strong&gt;Schema registry&lt;/strong&gt;&lt;/dt&gt;&#xA;&lt;dd&gt;A service that stores schema versions and enforces compatibility. See &lt;a href=&#34;https://samirsahoo.github.io/data-security/streaming/schemas-and-event-contracts/&#34;&gt;Schemas and contracts&lt;/a&gt;.&lt;/dd&gt;&#xA;&lt;dt&gt;&lt;strong&gt;Share group&lt;/strong&gt;&lt;/dt&gt;&#xA;&lt;dd&gt;Queue-style Kafka consumption with per-record acknowledgement (KIP-932). See &lt;a href=&#34;https://samirsahoo.github.io/data-security/streaming/kafka-architecture/&#34;&gt;Kafka architecture&lt;/a&gt;.&lt;/dd&gt;&#xA;&lt;dt&gt;&lt;strong&gt;SLSA&lt;/strong&gt;&lt;/dt&gt;&#xA;&lt;dd&gt;Supply-chain Levels for Software Artifacts: build integrity and provenance. See &lt;a href=&#34;https://samirsahoo.github.io/data-security/security/security-architecture/&#34;&gt;Security architecture&lt;/a&gt;.&lt;/dd&gt;&#xA;&lt;dt&gt;&lt;strong&gt;STRIDE&lt;/strong&gt;&lt;/dt&gt;&#xA;&lt;dd&gt;Spoofing, Tampering, Repudiation, Information disclosure, Denial of service, Elevation of privilege. See &lt;a href=&#34;https://samirsahoo.github.io/data-security/security/threat-modelling/&#34;&gt;Threat modelling&lt;/a&gt;.&lt;/dd&gt;&#xA;&lt;dt&gt;&lt;strong&gt;TCC (Try–Confirm–Cancel)&lt;/strong&gt;&lt;/dt&gt;&#xA;&lt;dd&gt;Reserve resources, then confirm or cancel them. See &lt;a href=&#34;https://samirsahoo.github.io/data-security/distributed/distributed-transactions/&#34;&gt;Distributed transactions&lt;/a&gt;.&lt;/dd&gt;&#xA;&lt;dt&gt;&lt;strong&gt;Tokenisation&lt;/strong&gt;&lt;/dt&gt;&#xA;&lt;dd&gt;Replacing sensitive values with random tokens mapped in a secure vault. See &lt;a href=&#34;https://samirsahoo.github.io/data-security/data-platforms/data-security-and-privacy/&#34;&gt;Data security&lt;/a&gt;.&lt;/dd&gt;&#xA;&lt;dt&gt;&lt;strong&gt;Watermark&lt;/strong&gt;&lt;/dt&gt;&#xA;&lt;dd&gt;A stream processor&amp;rsquo;s estimate of event-time progress, used to close windows. See &lt;a href=&#34;https://samirsahoo.github.io/data-security/streaming/stream-processing/&#34;&gt;Stream processing&lt;/a&gt;.&lt;/dd&gt;&#xA;&lt;dt&gt;&lt;strong&gt;Zero trust&lt;/strong&gt;&lt;/dt&gt;&#xA;&lt;dd&gt;No implicit trust from network location; verify every request. See &lt;a href=&#34;https://samirsahoo.github.io/data-security/security/security-architecture/&#34;&gt;Security architecture&lt;/a&gt;.&lt;/dd&gt;&#xA;&lt;/dl&gt;</description>
			</item>
			<item>
				<title>Search</title>
				<link>https://samirsahoo.github.io/data-security/search/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://samirsahoo.github.io/data-security/search/</guid>
				<description></description>
			</item>
	</channel>
</rss>
