<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Ravi Dawar on Medium]]></title>
        <description><![CDATA[Stories by Ravi Dawar on Medium]]></description>
        <link>https://medium.com/@ravidawar?source=rss-d69ffa1c9be8------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*LORgnlAmu1g1p-7B.</url>
            <title>Stories by Ravi Dawar on Medium</title>
            <link>https://medium.com/@ravidawar?source=rss-d69ffa1c9be8------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 04:54:56 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ravidawar/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Why Your Fancy Data Dashboards Are Worthless — And What to Build Instead]]></title>
            <link>https://medium.com/@ravidawar/why-your-fancy-data-dashboards-are-worthless-and-what-to-build-instead-c5fb8e3e340f?source=rss-d69ffa1c9be8------2</link>
            <guid isPermaLink="false">https://medium.com/p/c5fb8e3e340f</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[business]]></category>
            <category><![CDATA[analytics]]></category>
            <category><![CDATA[leadership]]></category>
            <category><![CDATA[productivity]]></category>
            <dc:creator><![CDATA[Ravi Dawar]]></dc:creator>
            <pubDate>Sat, 22 Feb 2025 21:24:44 GMT</pubDate>
            <atom:updated>2025-02-22T21:24:44.854Z</atom:updated>
            <content:encoded><![CDATA[<h3>Why Your Fancy Data Dashboards Are Worthless — And What to Build Instead</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*CJME_xk-xbE3etGT" /><figcaption>Photo by <a href="https://unsplash.com/@bchild311?utm_source=medium&amp;utm_medium=referral">Benjamin Child</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3><strong>Introduction: The Silent Crisis in Data-Driven Organizations</strong></h3><p>In a dimly lit conference room at a Fortune 500 company, a data analyst presents her findings from a month-long analysis. The executives nod politely, ask a few questions, and then… nothing happens. The insights gather dust, joining countless other analyses in the graveyard of unused data. This scene plays out daily across organizations worldwide, highlighting a crucial misconception in modern business: that more data and better analytics tools will automatically lead to better outcomes.</p><p>A 2023 Gartner study reveals a staggering disconnect: <strong>67% of executives admit they don’t trust their data teams to drive business outcomes</strong>. Yet, those same teams are drowning in requests. Analysts burn cycles answering questions like, “Why did sales dip last Tuesday?” or “What’s our TikTok engagement by cat meme category?” Meanwhile, executives shrug at dashboards full of “insights” that never translate to action.</p><p><strong>The problem isn’t a lack of data, tools, or talent. It’s a mismatch in mindset.</strong></p><p>For decades, we’ve treated data teams like insight factories — answering ad-hoc questions, chasing trends, and delivering dashboards that collect dust. However, the most successful organizations, from Amazon to Toyota, approach data differently: <strong>not as a tool for exploration, but as an assembly line for process control</strong>.</p><p>This isn’t a new idea. In the 1940s, statistician W. Edwards Deming transformed manufacturing by teaching companies to distinguish meaningful signals from noise. His methods helped Japan’s postwar industries dominate global markets. Today, Amazon uses his principles in its famed <a href="https://medium.com/@ravidawar/working-backwards-key-learnings-7113d7ea51b">Weekly Business Review (WBR)</a>, where teams review 500+ metrics in 60 minutes to diagnose operational health — not to answer “why,” but to ask “what must we <em>do</em>?”</p><p>The lesson? Data’s highest value isn’t in answering questions — it’s in creating organizations that <em>learn</em>.</p><p>In this article, we’ll explore how to bridge the gap between data and execution, using lessons from Amazon’s playbook, Ford’s turnaround, and a hospital that cut patient wait times by 50%. The tools already exist. The real work is rewiring how we think.</p><h3><strong>Real-Life Stories: Where Data Meets Operational Discipline</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*IByfG4C28Gqdqpur" /><figcaption>Photo by <a href="https://unsplash.com/@h4x0r3?utm_source=medium&amp;utm_medium=referral">Thao LEE</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h4>A. Amazon’s Weekly Business Review (WBR): A Blueprint for Rigor</h4><p>At Amazon, meetings don’t start with PowerPoints. They start with silence…</p><p>For 30 minutes, executives pore over a six-page memo detailing 500+ metrics, from “percent of orders delivered in one click” to “fulfillment center humidity levels.” This is the Weekly Business Review (WBR) — a ritual forged in Amazon’s early days and scaled to its trillion-dollar empire.</p><p><strong>The power of metrics lies in their intentional design, not their mere existence</strong>. By structuring reviews around a 60% focus on <em>controllable inputs</em> (e.g., warehouse pick rates) and 40% on <em>lagging outputs</em> (e.g., revenue), Amazon engineers a culture of agency, accountability, and alignment. Here’s why this approach works:</p><h4>1. Shifts Focus from “What Happened?” to “What Can We Control?”</h4><ul><li><strong>Controllable inputs</strong> (e.g., inventory accuracy, delivery speed) are levers teams can directly pull. By prioritizing these, Amazon forces teams to <strong>own their processes</strong> rather than blame external factors.</li><li><strong>Lagging outputs</strong> (e.g., quarterly revenue) are outcomes of those inputs. Tracking them ensures alignment with business goals but avoids myopic “results-at-all-costs” thinking.</li></ul><p><strong>Example</strong>: If customer satisfaction (a lagging output) dips, Amazon’s WBR doesn’t stop at asking “Why?” — it drills into inputs like “return processing time” or “call center resolution rates.” Teams fix the <em>process</em>, not just the symptom.</p><h4>2. Balances Proactive and Reactive Management</h4><ul><li><strong>60% Inputs</strong>: Focus on <em>leading indicators</em> (predictive metrics) to <strong>prevent fires</strong>.</li></ul><p><strong>Example</strong>: A rise in warehouse humidity (controllable) can be addressed before it damages inventory (lagging).</p><ul><li><strong>40% Outputs</strong>: Monitor <em>lagging indicators</em> to <strong>validate strategy</strong>.</li></ul><p><strong>Example</strong>: If Prime membership growth slows, leaders check if input metrics like “one-click sign-up success rates” are slipping.</p><p>This balance prevents teams from chasing vanity metrics or ignoring root causes.</p><h4>3. Creates a “Causal Chain” Across the Organization</h4><p>By linking inputs to outputs, Amazon builds a <strong>shared understanding of how the business works</strong>. Teams see how their work impacts downstream outcomes:</p><ul><li>Fulfillment centers know faster pick rates → shorter delivery times → higher customer retention.</li><li>Marketing teams tie ad spend efficiency (input) to long-term brand equity (output).</li></ul><p>This clarity eliminates silos and aligns priorities.</p><h4>4. Forces Accountability Without Micromanagement</h4><ul><li><strong>Input metrics empower teams</strong>: They’re granular enough for frontline employees to act on (e.g., a warehouse worker optimizing pick paths).</li><li><strong>Output metrics keep leaders honest</strong>: They ensure input efforts translate to business value.</li></ul><p>As Colin Bryar notes in <a href="https://www.goodreads.com/book/show/53138083-working-backwards"><em>Working Backwards</em></a>, this design makes it “impossible to hide.” If a metric owner can’t explain why an input moved, they lose credibility — or the metric. This pressure breeds a “shared causal model” of the business: Everyone, from engineers to CFOs, understands how turning specific knobs (input metrics) drives outcomes.</p><h4>B. Ford’s Turnaround: Data as a Political Weapon</h4><p>In 2006, Ford wasn’t just struggling — it was suffocating under the weight of its own bureaucracy. Departments operated like feudal kingdoms, hoarding data to shield themselves from blame. Executives spun rosy narratives in boardrooms while the company bled $12.7 billion, its worst loss in 103 years. The auto industry’s impending collapse loomed, and Ford’s survival hinged on a radical cultural reset. Enter Alan Mulally, a Boeing veteran with a counterintuitive mantra: <em>“Data isn’t for defending your turf — it’s for exposing what’s broken.”</em></p><p>Mulally’s first act? Replace PowerPoint theatrics with a disarmingly simple ritual: the <strong>Business Plan Review (BPR)</strong>. Every Thursday, executives gathered with a single slide showing their department’s status — green (on track), yellow (risk), or red (off track). The rules were non-negotiable:</p><ul><li><strong>No jargon</strong>: Metrics had to be standardized (e.g., “cash reserves,” “inventory turnover”) and comparable across teams.</li><li><strong>No heroes</strong>: Celebrating “green” was banned; only reds and yellows were discussed.</li><li><strong>No silos</strong>: Risks required cross-functional solutions, not lone-wolf fixes.</li></ul><p>At first, the slides glowed green. Then, during Ford’s darkest hour, Americas President Mark Fields flagged a supply chain breakdown in red. Instead of reprimanding him, Mulally clapped. “<em>Now we’re being honest!</em>” he declared. The dam broke. Executives began admitting failures: faulty transmissions, dealer conflicts, even flawed financial forecasts. Risks once buried in email threads now glared from the boardroom screen.</p><p>The BPR’s genius wasn’t the data itself — it was how Mulally weaponized it to <strong>rewire Ford’s DNA</strong>:</p><ol><li><strong>Psychological Safety</strong>: By rewarding transparency (Fields kept his job and later became CEO), Mulally made admitting risks safer than hiding them.</li><li><strong>Collective Accountability</strong>: A red metric in one department became everyone’s problem. When European sales cratered, manufacturing and marketing teams co-built a recovery plan in real time.</li><li><strong>Speed Over Perfection</strong>: Data wasn’t polished — it was raw and actionable. A supplier defect rate spiking to 8%? Fix it first, apologize later.</li></ol><p>The result? While GM and Chrysler collapsed into government bailouts, Ford became the <strong>only U.S. automaker to survive 2008 without bankruptcy</strong>. By 2010, it reported a profit of $6.6 billion, marking a nearly $20 billion turnaround in four years.</p><h4>C. The Dark Side: When Metrics Go Rogue</h4><p>Not all metrics empower. Some corrupt — a lesson Wells Fargo learned the hard way, and one that embodies <a href="https://www.reddit.com/r/explainlikeimfive/comments/1bp7apj/comment/kwtxx69/?utm_source=share&amp;utm_medium=web3x&amp;utm_name=web3xcss&amp;utm_term=1&amp;utm_content=share_button"><strong>Goodhart’s Law</strong></a>: <em>“When a measure becomes a target, it ceases to be a good measure.”</em></p><p>In the 2010s, Wells Fargo leadership touted its “8 accounts per customer” metric as a north star for cross-selling success. Branch employees were incentivized to hit this target, with bonuses and job security tied to the number. But without context, the metric mutated into a <a href="https://youtu.be/l9LVMP7UmGM?si=VCQiSywBygeUOHjI">monster</a>.</p><p><strong>Why It Failed</strong>:</p><ul><li><strong>Goodhart’s Law in Action</strong>: Once “8 accounts” became a target, employees stopped seeing customers as people and treated them as quotas. Over 3.5 million fake accounts were opened, often without consent.</li><li><strong>Missing Guardrails</strong>: Wells Fargo tracked the output (accounts) but ignored <strong>inputs</strong> (ethical sales practices) and <strong>noise</strong> (regional economic trends). A customer in a recession-hit area might need one checking account, not eight — but employees faced punishment for missing targets, not for fraud.</li><li><strong>No Variation Analysis</strong>: The bank treated all dips in accounts as “problems to fix,” rather than distinguishing natural fluctuations (e.g., seasonal trends) from systemic issues.</li></ul><p>As Harvard Business School case studies later revealed, the scandal wasn’t just about greed — it was a <strong>systemic failure of metric design</strong>. Leaders prioritized a single output, divorced from reality, and created perverse incentives.</p><h3><strong>Practical Advice: Building Your Data “Assembly Line”</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*PY5XZTUEUw05rAlj" /><figcaption>Photo by <a href="https://unsplash.com/@austriannationallibrary?utm_source=medium&amp;utm_medium=referral">Austrian National Library</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>The difference between a data-driven company and a data-drowned one? The former treats data like an assembly line — a systematic process where raw inputs become refined actions. Here’s how to engineer yours:</p><h4>Step 1: Map Your Process, Not Your Dashboard</h4><p>Most teams start with dashboards. <em>Don’t</em>. Start by mapping the <strong>causal chain</strong> of your business:</p><ol><li>Identify 3–5 controllable input metrics that directly drive outputs. <em>Example</em>: A SaaS company might track “time to first value” (input) instead of just “churn rate” (output).</li><li>Distinguish between noise and signals by plotting daily or weekly metrics over time. If customer support response time typically ranges from 2 to 4 hours, there’s no need to worry unless it suddenly increases to 8 hours.</li></ol><p><strong>Why this works</strong>:</p><ul><li>Focuses effort on <em>levers you can pull</em>.</li><li>Prevents “dashboard fatigue” by prioritizing metrics that matter.</li></ul><h4>Step 2: Institutionalize the WBR Cadence</h4><p>Amazon’s Weekly Business Review (WBR) isn’t magic — it’s a habit. Borrow its blueprint:</p><p>Weekly 60-minute reviews: No slides. Use a standardized template with:</p><ul><li>Input metrics (60% of focus)</li><li>Output metrics (40%)</li><li>Red/yellow flags (e.g., “warehouse error rate up 15%”)</li><li>“No surprises” rule: Metric owners must pre-send explanations for anomalies.</li></ul><p><strong>Pro tip</strong>: Start small. Pilot with one team (e.g., customer success) before scaling.</p><p><strong>Case in point</strong>:</p><ol><li><strong>Airbnb</strong> famously revamped its customer support metrics to focus on <em>resolution time</em> (input) rather than just satisfaction scores (output), cutting disputes significantly.</li><li><strong>Stripe</strong> uses WBR-like rituals to track inputs like “API latency” (controllable) alongside outputs like “developer adoption” (lagging).</li></ol><h4>Step 3: Equip Teams with SPC Literacy</h4><p><a href="https://www.spotfire.com/glossary/what-is-statistical-process-control#:~:text=Statistical%20process%20control%20(SPC)%20monitors,monitored%20to%20control%20that%20process.">Statistical Process Control (SPC)</a> isn’t just for manufacturing. It’s a mindset:</p><ul><li><strong>Train teams to ask</strong>: <em>“Is this variation normal?”</em></li><li><strong>Rule of thumb</strong>: 80% of fluctuations are noise. Use control charts to ignore them.</li><li><strong>Workshop example</strong>: Teach teams to calculate the <em>mean</em> and <em>control limits</em> of a metric (e.g., daily website traffic). If values stay within bounds, don’t waste cycles.</li></ul><h4><strong>Step 4: Embed Data in Operations, Not Just Strategy</strong></h4><p>Data shouldn’t live in boardrooms — it should pulse through daily workflows. Here’s how real companies operationalized this:</p><h4>Example 1: Virginia Mason Medical Center’s ER Revolution</h4><p>Seattle’s Virginia Mason Medical Center faced ER wait times averaging 4+ hours. By applying <strong>statistical process control (SPC)</strong> to operations, they:</p><ul><li><strong>Mapped inputs</strong>: Tracked “time from door to doctor” (triage efficiency) and “bed turnover rate” (post-treatment cleanup speed).</li><li><strong>Monitored variation</strong>: Used <a href="https://sixsigmastudyguide.com/xmr-charts/">XMR charts</a> to flag outliers (e.g., a 3-hour wait spike due to a sudden flu outbreak).</li><li><strong>Acted in real time</strong>: Redeployed nurses during predictable surges (e.g., Friday nights) and streamlined discharge protocols.</li></ul><p><strong>Result</strong>: Wait times dropped <strong>50%</strong> (from 4 hours to 2), with no added staff or budget.</p><h4>Example 2: UPS’s Route Optimization Mastery</h4><p>UPS doesn’t just track “fuel costs” (output) — they treat delivery routes as a <strong>controlled process</strong>:</p><ul><li><strong>Input metric</strong>: “Route optimization score” (calculated using ORION, their AI-driven routing system).</li><li><strong>SPC in action</strong>: Monitored daily score variation to identify drivers deviating from optimal paths (e.g., due to traffic or habits).</li><li><strong>Real-time fixes</strong>: Retrained drivers showing consistent outliers and updated routes dynamically.</li></ul><p><strong>Result</strong>: Saved <strong>10 million gallons of fuel annually</strong> (equivalent to $40M/year) and reduced emissions by 100,000 metric tons.</p><p>These companies didn’t buy fancier tools — they <strong>designed systems where data drives daily decisions</strong>. Whether it’s a nurse adjusting triage flow or a UPS driver optimizing a left turn, the lesson is clear:</p><p><strong>Operational excellence = Inputs (controlled) + Variation (managed) + Action (immediate)</strong>.</p><h3><strong>Sustaining the Mindset — From Chaos to Control</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*t5jjy6YpA7BU4BXb" /><figcaption>Photo by <a href="https://unsplash.com/@impatrickt?utm_source=medium&amp;utm_medium=referral">Patrick Tomasso</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>The journey from data chaos to operational clarity isn’t about tools — it’s about rewiring your organization’s DNA. The examples of Amazon, Ford, and Virginia Mason Medical Center prove that the most powerful data strategy is one that transforms <em>how</em> teams think, not just <em>what</em> they measure.</p><h4>Lessons from the Frontlines</h4><ol><li><strong>Amazon’s WBR: The Power of a Shared Causal Model</strong><br>Amazon’s Weekly Business Review didn’t just streamline meetings — it created a universal language. By focusing 60% of metrics on controllable inputs (like warehouse pick rates), teams stopped debating “why sales dropped” and started fixing “how to speed up deliveries.” This mirrors Ford’s turnaround, where Alan Mulally’s Business Plan Review forced executives to replace spin with transparency. The lesson? <strong>Data’s superpower is alignment, not analysis.</strong></li><li><strong>Virginia Mason &amp; UPS: Data as a Daily Habit</strong><br>Virginia Mason didn’t reduce ER wait times by buying dashboards — they empowered nurses to act on real-time process data. Similarly, UPS drivers don’t just follow GPS routes; they’re part of a feedback loop where “route optimization scores” (inputs) directly cut fuel costs (outputs). These organizations thrive because they treat data like oxygen: invisible, essential, and flowing through every decision.</li><li><strong>The Wells Fargo Warning: Guardrails Matter</strong><br>Goodhart’s Law isn’t theoretical — it’s a $3 billion cautionary tale. Wells Fargo’s “8 accounts per customer” metric became a target, then a weapon. The antidote? Pair outputs with ethical inputs (e.g., customer satisfaction) and variation analysis to separate fraud from noise.</li></ol><h3>How to Start Tomorrow</h3><ol><li><strong>Run a “Metric Audit”</strong>:<br>List your team’s top 5 metrics. If more than 60% are lagging outputs (like revenue), replace one with a controllable input (e.g., “customer onboarding time”).</li><li><strong>Pilot a WBR Lite</strong>:<br>Borrow Amazon’s template: Host a 30-minute weekly review with one team, focusing on <em>one input</em> (e.g., “lead response time”) and <em>one output</em> (e.g., “deal close rate”). No slides — just data and dialogue.</li><li><strong>Celebrate “Process Wins”</strong>:<br>Reward teams for improving inputs, even if outputs lag. At Ford, fixing a red metric became a badge of honor. At Virginia Mason, nurses celebrated faster triage times before wait times dropped.</li></ol><h3>The Final Word</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*N_oLICC21j5a10tf" /><figcaption>Photo by <a href="https://unsplash.com/@kidcircus?utm_source=medium&amp;utm_medium=referral">Kid Circus</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>The future of data isn’t in dashboards — it’s in dismantling the “insight factory” mindset. As Colin Bryar of Amazon warns:</p><blockquote>“If your data isn’t changing how people act daily, you’re just paying for expensive hindsight.”</blockquote><p><em>Your conference room doesn’t need more reports or nods of approval. It needs a system where data isn’t presented — it’s acted on. I will stop here. Time for you to build the machine.</em></p><p><strong>Further Reading</strong>:</p><ul><li><em>Working Backwards</em> (Bryar &amp; Carr) for Amazon’s WBR playbook.</li><li><em>American Icon</em> (Hoffman) on Ford’s data-driven turnaround.</li><li><em>The Lean Hospital</em> (Grout) for Virginia Mason’s SPC journey.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c5fb8e3e340f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Implementing a Data Catalog Successfully: People, Process, and Technology Considerations]]></title>
            <link>https://medium.com/@ravidawar/implementing-a-data-catalog-successfully-people-process-and-technology-considerations-158b3699e75e?source=rss-d69ffa1c9be8------2</link>
            <guid isPermaLink="false">https://medium.com/p/158b3699e75e</guid>
            <category><![CDATA[data-analysis]]></category>
            <category><![CDATA[data-visualization]]></category>
            <category><![CDATA[data-governance]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[data]]></category>
            <dc:creator><![CDATA[Ravi Dawar]]></dc:creator>
            <pubDate>Thu, 19 Sep 2024 21:14:12 GMT</pubDate>
            <atom:updated>2024-09-19T21:14:12.750Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*mRJz00z7-ja83rUx" /><figcaption>Photo by <a href="https://unsplash.com/@raddfilms?utm_source=medium&amp;utm_medium=referral">Redd F</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3>Prologue</h3><p>Welcome to this three-part series on <strong>Implementing a Data Catalog Successfully</strong>, where I’ll walk you through the essential steps to ensure your data catalog delivers lasting value. We’ll be diving into the critical pillars of <strong>People, Process, and Technology</strong>, providing actionable advice and real-world examples along the way.</p><p>In <strong>Part 1</strong>, we’ll focus on foundational elements: understanding your organization’s <strong>data maturity</strong>, defining <strong>business-driven use cases</strong>, and fostering a <strong>culture of data stewardship</strong>. These steps are critical for setting a solid foundation for any successful data catalog implementation.</p><p>In <strong>Part 2</strong>, we’ll shift to the <strong>processes and technologies</strong> needed to maintain and scale your data catalog. You’ll learn how to <strong>standardize governance models</strong>, overcome <strong>integration challenges</strong>, and ensure that your catalog can <strong>scale strategically</strong> as your organization’s data needs evolve.</p><p>Finally, in <strong>Part 3</strong>, we’ll cover how to <strong>empower your users</strong> through ongoing training and support, building a self-sustaining culture of data governance. We’ll also explore ways to continuously <strong>monitor and refine governance standards</strong> and implement a <strong>robust access control framework</strong> to ensure security.</p><p>Today, we’re kicking off with <strong>Part 1</strong>, where we’ll examine how to assess your data maturity, define use cases, and build a culture of data stewardship. Stay tuned for <strong>Part 2</strong> and <strong>Part 3</strong> as we dive deeper into the processes, technologies, and user empowerment strategies that will lead to a successful data catalog implementation. 🙏</p><h3><strong>Introduction</strong></h3><p>Organizations, both large and small, are now collecting and generating more data than ever before. With the sheer volume of information, comes the challenge of effectively organizing, managing, and leveraging it. This is where a <strong>data catalog</strong> becomes essential.</p><p>A data catalog is a centralized repository that allows organizations to inventory, organize, and understand their data assets. It provides an overview of where data lives, how it flows, and who owns it. More importantly, it makes data discoverable, accessible, and usable across the organization by offering insights into its context, lineage, and metadata. With the rise of analytics, self-service reporting, and data governance regulations, a well-implemented data catalog can be a game-changer for organizations seeking to unlock the full potential of their data.</p><p>However, the success of a data catalog implementation isn’t solely about technology. It requires the alignment of three key pillars: <strong>People, Process, and Technology</strong>. Each plays a critical role in ensuring that the catalog delivers lasting value and scales with the organization.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/697/1*Pk98Ciulf7es8-IQmTr3QQ.png" /><figcaption>Image: Author</figcaption></figure><blockquote>👩 <strong>People </strong>: Data ownership and governance are foundational to any data catalog. Without clear roles and responsibilities, the catalog will fail to provide trustworthy and high-quality data. People, particularly data stewards and end users, need to be engaged and empowered to manage and use the catalog effectively.</blockquote><blockquote>🔌 <strong>Process</strong>: Implementing a data catalog isn’t a one-time project; it requires ongoing processes for data governance, metadata management, and data quality control. Standardized workflows for cataloging, updating, and reviewing data are essential to maintain its relevance and accuracy.</blockquote><blockquote>💻 <strong>Technology</strong>: The technology behind the data catalog must be scalable and flexible enough to integrate with an organization’s existing data architecture. Choosing the right tool is critical, but even more important is ensuring that the technology fits within the broader organizational context and is capable of evolving as data demands grow.</blockquote><p>Equally important is <strong>aligning the implementation of the data catalog with the organization’s data maturity</strong>. Data maturity refers to how well an organization manages, governs, and utilizes its data. An organization with low data maturity might lack data governance practices or have siloed data with minimal visibility. In contrast, an organization with high data maturity likely has sophisticated governance frameworks, strong collaboration between business and IT, and well-defined data management processes.</p><p>When implementing or replacing a data catalog, it’s crucial to assess the organization’s current maturity and set realistic expectations for the catalog’s capabilities. Attempting to implement an overly complex solution in an immature environment can lead to frustration and failure. Conversely, a mature organization can capitalize on advanced features like automated lineage and data enrichment to unlock deeper insights and innovation.</p><p>In this blog post, I’ll provide practical advice for successfully implementing a data catalog, whether you’re starting from scratch or replacing an existing solution. We’ll discuss how to address the challenges associated with people, processes, and technology and how to ensure the solution evolves alongside the organization’s data maturity. With a focus on actionable insights and real-world examples, this guide will help your organization take the right steps toward a successful data catalog implementation.</p><h3><strong>Assess Organizational Data Maturity</strong></h3><p>Before embarking on the journey of implementing a data catalog, it’s crucial to understand where your organization stands in terms of <strong>data maturity</strong>. Just as no two companies are alike, every organization’s data capabilities vary based on its practices, infrastructure, and people. Knowing your organization’s current data maturity will help you tailor the implementation to your actual needs and prevent common pitfalls associated with taking on too much, too soon.</p><p>Data maturity reflects how effectively an organization manages and uses its data. By understanding your organization’s maturity level, you can implement a data catalog in a way that aligns with both short-term capabilities and long-term goals.</p><p><strong>The IBM Data Governance Maturity Model</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kpcwD97g1nMUBHYlesAoEA.png" /><figcaption>Image: Courtsey of IBM</figcaption></figure><p>The <strong>IBM Data Governance Maturity Model</strong> provides a helpful framework to assess where your organization stands. Here’s a breakdown of each level:</p><p>1️⃣ <strong>Level 1: Initial</strong></p><p>At this stage, there is little to no awareness of the importance of data within the organization. There are no defined standards for managing data, and data governance is either ad hoc or nonexistent.</p><p><strong>Example</strong>: A startup in its early stages may not have formal data governance policies or practices, relying on individual teams to handle data without a unified strategy.</p><p>2️⃣ <strong>Level 2: Managed</strong></p><p>The importance of data is realized within the organization, and some initial steps are taken to manage it. However, governance practices are still in the early stages, and there may be inconsistent approaches to data management across departments.</p><p><strong>Example</strong>: A mid-sized company may recognize the value of data for decision-making but still lacks formal governance frameworks, leading to data silos and inconsistencies.</p><p>3️⃣ <strong>Level 3: Defined</strong></p><p>Data regulation and management guidelines are better defined and integrated with company processes. Governance is no longer a side activity but is incorporated into daily operations, and roles and responsibilities for managing data are established.</p><p><strong>Example</strong>: An organization in this stage may have a formal data governance committee and assigned data stewards but is still refining its processes to improve data quality and accessibility.</p><p>4️⃣ <strong>Level 4: Quantitatively Managed</strong></p><p>Measurable quality goals are set for each project, data process, and maintenance activity. The organization uses metrics to track the success of data governance efforts and has mechanisms in place to continuously improve data quality.</p><p><strong>Example</strong>: A large enterprise may have formalized its data quality goals and implemented monitoring systems to track and report data quality issues, with active involvement from all relevant stakeholders.</p><p>5️⃣ <strong>Level 5: Optimizing</strong></p><p>Data governance becomes an enterprise-wide effort that is fully embedded into the organization’s culture. The organization continually improves its data processes and governance frameworks, using data governance to drive productivity, efficiency, and competitive advantage.</p><p><strong>Example</strong>: A global financial institution operating at this level would use advanced data governance practices to optimize regulatory compliance, improve operational efficiencies, and drive innovation through data-driven insights.</p><h4>📋 Take Action<strong>: Conduct a Data Maturity Assessment</strong></h4><p><strong>Assess Your Current State</strong></p><p>Begin by conducting a comprehensive assessment of your organization’s data maturity, using the IBM model as a guide. Look at factors such as:</p><ul><li><strong>Data literacy</strong>: Do employees understand the value of data and how to use it effectively?</li><li><strong>Data governance</strong>: Are there formal governance frameworks in place? How is data managed, classified, and secured?</li><li><strong>Data silos</strong>: Is data isolated within specific departments or systems, or is it shared and accessible across the organization?</li><li><strong>Data quality</strong>: Are there processes to ensure data accuracy, consistency, and completeness?</li></ul><p><strong>Tailor the Data Catalog Implementation</strong></p><ul><li><strong>Level 1 &amp; 2 (Initial/Managed)</strong>: Focus on establishing basic governance practices and cataloging key operational data. The priority should be to improve data discoverability and consistency across the organization. <strong>Example</strong>: A manufacturing company just beginning its data governance journey may start by cataloging essential supply chain data, creating a glossary for key business terms, and defining ownership for critical data assets.</li><li><strong>Level 3 (Defined)</strong>: Refine governance practices, expand the catalog to include more comprehensive metadata, and enable self-service analytics. <strong>Example</strong>: A retail company may expand its data catalog to include sales, customer, and marketing data, while ensuring that business users can easily discover and use the data for reporting and decision-making.</li><li><strong>Level 4 &amp; 5 (Quantitatively Managed/Optimizing)</strong>: Focus on metadata enrichment, automated lineage, and using the data catalog to drive continuous improvements in data quality and governance. <strong>Example</strong>: A global financial institution may use its data catalog to manage and document data lineage for regulatory reporting, while also implementing AI-powered metadata enrichment to streamline data discovery and governance processes.</li></ul><p>🏁 By aligning the data catalog implementation with your organization’s data maturity, you ensure that your efforts are achievable, scalable, and aligned with your broader business goals.</p><h3><strong>Define Use Cases Aligned with Business and Organizational Goals</strong></h3><p>One of the most important steps in successfully implementing a data catalog is defining clear, <a href="https://medium.com/@ravidawar/flushing-out-the-competition-how-pipedream-unclogged-its-data-woes-670df6a00d6f">business-driven</a> use cases that align with your organization’s goals and data maturity. Without a clear understanding of why the catalog is being implemented and what specific problems it aims to solve, the initiative can quickly lose focus, resulting in missed opportunities or even failure.</p><p>Use cases are crucial because they provide a roadmap for how the data catalog will be used, who will use it, and what business value it will generate. By focusing on tangible, high-priority needs, the catalog can immediately start delivering benefits while setting the stage for future scalability.</p><h4>📋 <strong>Take Action: Prioritize Key Use Cases</strong></h4><p><strong>Identify Business Drivers and Pain Points</strong>: Start by understanding the organization&#39;s current data needs. Is there a pressing regulatory compliance requirement? Is the business struggling with operational inefficiencies due to poor data visibility? Or is there a need to empower teams with self-service analytics?</p><p><strong>Common Use Cases</strong>:</p><ul><li><strong>Regulatory Compliance</strong>: In heavily regulated industries like finance or healthcare, complying with regulations such as GDPR, HIPAA, or BCBS 239 is critical. A data catalog can streamline the discovery, documentation, and auditing of data related to these regulations.</li><li><strong>Operational Efficiency</strong>: If multiple teams are spending hours searching for data or struggling to reconcile different reports, a data catalog can help by centralizing metadata and ensuring data consistency across departments.</li><li><strong>Self-Service Analytics</strong>: For organizations aiming to empower business users with data, a catalog that enhances data discovery and provides context (such as lineage and definitions) is invaluable.</li><li><strong>Data Quality &amp; Governance</strong>: Organizations with data quality issues can benefit from using a data catalog to track ownership, lineage, and data quality metrics, ensuring that only trusted data is used for critical decisions.</li></ul><p><strong>Focus on Achievable Objectives</strong>: While it’s tempting to solve every data-related problem at once, it’s more effective to start with focused, high-impact use cases. Attempting to catalog all data assets across all departments can be overwhelming and lead to slow progress.</p><ul><li><strong>Prioritize for Impact</strong>: Identify the highest-priority use cases, such as those that address regulatory pressures or operational inefficiencies, and start there. Over time, you can expand the catalog to other areas as needed.</li><li><strong>Create Measurable Goals</strong>: Set specific, measurable outcomes for each use case. For example, if your goal is to improve data discovery, set a target for reducing the time it takes analysts to find relevant data assets.</li></ul><p><strong>Tailor Use Cases to Data Maturity</strong>: As discussed earlier, aligning your use cases with your organization’s data maturity ensures that the implementation is realistic and delivers immediate value. For less mature organizations, simple use cases like cataloging key operational data and establishing data ownership may be the best starting point. More advanced organizations might focus on automating metadata enrichment and creating end-to-end data lineage.</p><h4>💵 <strong>Example: BCBS 239 Compliance Use Case</strong></h4><p>Let’s take a closer look at a specific use case: <strong>BCBS 239 Compliance</strong>. For financial institutions, complying with BCBS 239, which sets standards for risk data aggregation and reporting, is critical to ensuring accurate and timely risk management. A company aiming for BCBS 239 compliance might start by cataloging key risk data across multiple systems and documenting its journey through the organization’s IT landscape.</p><figure><img alt="https://slksoftware.com/blog/understanding-bcbs-239-and-us-banks-adoption-strategies/" src="https://cdn-images-1.medium.com/max/1024/1*3SvgPW5y8BO3jL982L0Aog.png" /><figcaption>Image: Courtsey of SilkSoftware</figcaption></figure><p><strong>Steps for BCBS 239 Compliance Use Case</strong>:</p><ul><li><strong>Identify Key Risk Data</strong>: Use the data catalog to locate and classify all BCBS 239-relevant data, such as risk indicators, exposure metrics, and financial reports. This might include transactional data, market risk data, and customer credit information.</li><li><strong>Document Data Lineage</strong>: For each key risk data element, trace its journey across systems, documenting how it is collected, processed, aggregated, and reported. This step is crucial for ensuring transparency and accuracy in regulatory reporting.</li><li><strong>Assign Data Ownership</strong>: Clearly define data owners responsible for ensuring the quality and accuracy of the risk data. Assigning ownership ensures that the institution can meet BCBS 239 requirements for accountability and data governance.</li><li><strong>Enable Auditing</strong>: The data catalog can be used to create audit trails for all key risk data. This enables the organization to quickly identify and resolve discrepancies in risk reports, and it provides regulators with the transparency they require for audits.</li></ul><p>By focusing on this single use case, the financial institution immediately addresses a critical regulatory need while laying the foundation for future improvements in data governance, operational risk management, and reporting capabilities.</p><h4>✂️ <strong>Avoiding Scope Creep</strong></h4><p>Another key aspect of defining use cases is ensuring that the scope of the implementation doesn’t grow out of control. While it’s important to be ambitious, trying to address too many problems at once can dilute your focus and slow progress.</p><ul><li><strong>Start with a Few Use Cases</strong>: Rather than attempting to implement a “complete” catalog solution right away, start with a few high-priority use cases. Once these are successfully implemented, expand the catalog to cover additional data domains or departments.</li><li><strong>Iterative Approach</strong>: Use an iterative or phased approach where each phase delivers value by addressing specific use cases. Over time, these small wins build momentum and demonstrate the value of the data catalog to stakeholders.</li></ul><p>🏁 Defining clear, business-aligned use cases is essential for a successful data catalog implementation. By prioritizing the organization’s key data needs — whether regulatory compliance, operational efficiency, or analytics — you can ensure that the catalog delivers tangible business value from the start. Additionally, focusing on achievable objectives helps avoid scope creep and ensures that the implementation remains on track.</p><p>👉 Align your use cases with your organization’s data maturity, and remember that a phased approach will allow you to scale the catalog over time, delivering value at each stage of implementation.</p><h3><strong>Foster a Culture of People Stewardship</strong></h3><p>Implementing a data catalog is more than just a technical exercise — it requires the active participation and collaboration of multiple roles across the organization. While data stewards play a central role in managing and governing the data catalog, there are other critical stakeholders whose involvement is essential for the project&#39;s success. This includes P<strong>roject/Program Managers</strong>, D<strong>ata Product Owners</strong>, and D<strong>ata engineers</strong>, all of whom must work together to ensure that the catalog meets the organization’s goals and is integrated into daily workflows.</p><p>Each of these roles brings a unique perspective and set of responsibilities to the table, contributing to a comprehensive approach that ensures both the business and technical aspects of the catalog are addressed effectively.</p><h4>📋 <strong>Take Action: Assign Key Roles and Responsibilities Early</strong></h4><p><strong>Data Stewards and Owners</strong></p><p>Data stewards are the custodians of specific data assets or domains. However, it’s also important to identify <strong>data product owners,</strong> who are individuals responsible for overseeing entire data products or identifying valuable data sets within the organization. These owners have a higher-level responsibility to ensure that the data serves the organization’s needs and aligns with strategic goals.</p><blockquote>👴 <strong>Data Product Owners</strong> oversee the lifecycle of critical data products and ensure that they are well-documented, properly governed, and accessible to those who need them. They collaborate closely with data stewards to maintain the catalog’s accuracy.</blockquote><blockquote>👩 <strong>Data Stewards</strong> ensure that the day-to-day management of data aligns with the organization’s data governance policies, monitor data quality, and provide input on updates or changes to the catalog.</blockquote><p><strong>Project Managers</strong></p><p>A dedicated <strong>project manager</strong> is essential to keep the data catalog implementation on track, managing timelines, milestones, and coordination between the various teams involved.</p><ul><li>The project manager acts as the <strong>bridge</strong> between business and IT, ensuring that all stakeholders are aligned on the project’s goals and deliverables.</li><li>They are also responsible for identifying risks, resolving issues, and making sure that resources are allocated effectively throughout the implementation process.</li></ul><blockquote>☎️ <strong>Communication</strong> is a key responsibility: the project manager ensures that all teams — data stewards, engineers, product owners, and business stakeholders — are updated regularly on progress, next steps, and any blockers.</blockquote><p><strong>Data Engineers and IT Teams</strong></p><p>The <strong>data engineering team</strong> is crucial for the technical success of a data catalog. They are responsible for integrating the data catalog with various data sources, implementing connectors, ensuring seamless data ingestion, and building the technical infrastructure needed to support the catalog’s scalability and performance.</p><p><strong>Data Engineers</strong> also ensure that metadata from different systems (e.g., databases, APIs, cloud platforms) flows into the catalog in a structured and efficient manner. No solution on the planet will meet all of an organization’s needs, so data engineers make sure they can fill in those gaps with custom solutions utilizing APIs/SDKs. Furthermore, They work with data stewards to ensure the technical metadata is aligned with business requirements.</p><blockquote>🖥 <strong>IT Teams</strong> may be involved in setting up SSO, access controls, configuring security policies, and ensuring the catalog complies with organizational standards and external regulations.</blockquote><blockquote>🤝 <strong>Collaboration with Data Stewards</strong>: Engineers work closely with data stewards to ensure that the catalog reflects both the technical and business metadata in a meaningful way, bridging the gap between raw data and its real-world applications.</blockquote><p><strong>Collaborate with Cross-Functional Teams</strong></p><p>Successful catalog implementations thrive on collaboration. While each role has specific responsibilities, cross-functional collaboration is key to making sure that the catalog serves both business and technical needs.</p><blockquote>⚔️ Regular cross-functional meetings between data stewards, engineers, and project managers ensure that all aspects of the catalog — technical implementation, business use cases, governance — are progressing in parallel.</blockquote><blockquote>🖼 <strong>Governance Framework</strong>: A governance framework should clearly define how these roles interact, with processes for data catalog updates, issue resolution, and long-term maintenance.</blockquote><p><strong>Promote Data Stewardship Across the Organization</strong></p><p>While assigning roles is essential, it’s also important to embed <strong>data stewardship as a broader cultural value</strong>. Everyone within the organization, from business analysts to engineers, should understand the importance of accurate and well-governed data. Promoting stewardship practices across teams helps ensure that the catalog remains a living, valuable tool, rather than becoming outdated or irrelevant.</p><ul><li><strong>Education and Awareness</strong>: Promote an understanding of the importance of data governance at all levels. Business users should know why data quality matters, while technical users should understand how business needs inform the data catalog’s structure and priorities.</li><li><strong>Incentivize Participation</strong>: Recognize and reward individuals who contribute to the catalog’s upkeep, whether through maintaining high data quality or proposing improvements that enhance the catalog’s usefulness.</li></ul><p><strong>Example: Building a Team for a Global Data Catalog Implementation</strong></p><p>Consider a global financial bank implementing a data catalog as part of its efforts to comply with BCBS 239. The success of the project hinges on the participation of several key roles:</p><blockquote><strong>Project Manager</strong>: Oversees the entire project, ensuring that timelines are met and that all teams are aligned on the catalog’s goals, particularly focusing on regulatory requirements. They work with legal and compliance teams to ensure that BCBS 239 requirements are integrated into the catalog.</blockquote><blockquote><strong>Data Product Owners</strong>: Take ownership of risk-related data products, ensuring that the catalog reflects the institution’s critical risk data. They are responsible for working with the data stewards and engineers to make sure that this data is accurately cataloged and traceable.</blockquote><blockquote><strong>Data Stewards</strong>: Assigned to specific regions or business units, data stewards ensure that data quality and compliance with local regulations are maintained. For example, a steward in the EU might focus on GDPR compliance, while a US-based steward ensures alignment with local regulatory requirements.</blockquote><blockquote><strong>Data Engineers</strong>: The engineering team ensures that all risk data sources (e.g., market data, transactional data) are integrated into the catalog, that metadata is structured properly, and that data lineage is traceable for regulatory audits. They also configure security controls to ensure that sensitive financial data is protected.</blockquote><p>By building a cohesive team that includes project managers, product owners, engineers, and stewards, this bank can ensure that its data catalog meets the strict regulatory requirements of BCBS 239 while also enhancing operational efficiency and data quality across the organization.</p><p>🏁 Fostering a culture of data stewardship is critical, but it must involve all key stakeholders, including project managers, data product owners, and the data engineering team. Each role plays a vital part in ensuring that the data catalog is implemented successfully and becomes a valuable tool for the organization.</p><p>👉 Clear roles, cross-functional collaboration, and continuous education are key to embedding this culture throughout the organization, ensuring long-term success.</p><p>I hope you found the first part of this series insightful and helpful as you begin or continue your journey to implement a successful data catalog. I’d love to hear your thoughts and feedback in the comments below — what challenges have you faced with data cataloging, and what insights resonated with you most? Stay tuned for <strong>Part 2</strong>, where we’ll dive into the processes and technologies that can help you scale your catalog effectively, and <strong>Part 3</strong>, where we’ll explore how to empower users and maintain long-term success. See you in the next installment! 🙏</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=158b3699e75e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Flushing Out the Competition: How PipeDream Unclogged Its Data Woes]]></title>
            <link>https://medium.com/@ravidawar/flushing-out-the-competition-how-pipedream-unclogged-its-data-woes-670df6a00d6f?source=rss-d69ffa1c9be8------2</link>
            <guid isPermaLink="false">https://medium.com/p/670df6a00d6f</guid>
            <dc:creator><![CDATA[Ravi Dawar]]></dc:creator>
            <pubDate>Fri, 06 Sep 2024 23:56:58 GMT</pubDate>
            <atom:updated>2024-09-06T23:56:58.494Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*BQYX3tP5b0de6gUq" /><figcaption>Image: Author</figcaption></figure><p>As a Sales Engineer, I spend my days talking to customers about their data challenges. From data silos to inconsistent metrics, I’ve heard it all. After thousands of these conversations, certain themes begin to emerge. This story is based on my experiences working with companies struggling to modernize their data governance. While the characters and company in this story — PipeDream Plumbing Co. — are fictional, the challenges they face are all too real for many organizations today.</p><blockquote><strong>Disclaimer</strong>: This story is real, but the names have been changed out of respect for the living and dead, and to protect the innocent… and not-so-innocent.</blockquote><p>In today’s highly competitive environment, businesses in every industry are feeling the pressure to make smarter, faster decisions. But for many organizations, like PipeDream Plumbing Co., legacy systems, siloed data, and inconsistent metrics are holding them back. In this blog, I attempt to narrate this story from the perspective of PipeDream Plumbing Co., which faced these challenges head-on, transforming their approach to data governance. Through a journey of overcoming resistance, aligning teams, and adopting a data-first culture with the help of a Data Governance solution, PipeDream was able to regain its competitive edge and chart a course toward long-term success.</p><p>So, grab your cup of joe ☕️, find a comfy spot by the window 🌞, and settle in as we dive into the journey 🎢 of how PipeDream Plumbing Co. turned their data chaos into a competitive advantage.</p><h3><strong>The Boardroom Crisis</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*-3Y_exPK4u-eeXob" /><figcaption>Image: Author</figcaption></figure><p>PipeDream Plumbing Co., a mid-sized company specializing in the production and distribution of plumbing products — everything from pipes and valves to fixtures for residential and commercial buildings — had been a strong player in the industry for decades. Their reputation for quality and reliability had earned them long-standing relationships with large-scale contractors, wholesalers, and retailers. However, the landscape was changing rapidly. New competitors, driven by advanced data analytics and more agile supply chain strategies, were disrupting the market. These companies were able to forecast demand more accurately, optimize inventory, and pivot quickly to meet customer needs. PipeDream Plumbing Co., in contrast, was struggling to adapt.</p><p>The competition’s ability to leverage data for smarter decisions was allowing them to launch new product lines faster, offer customized pricing based on real-time data, and streamline their operations, reducing costs significantly. PipeDream Plumbing Co., with its legacy systems and siloed departments, couldn’t respond as quickly to market shifts. This agility gap was directly impacting PipeDream Plumbing Co.’s market share. Over the past 18 months, they had lost several key contracts to competitors who were able to undercut them on price and delivery times.</p><p>Financially, the shrinking market share was hitting PipeDream Plumbing Co. hard. Revenue had dipped by 12% in the last fiscal year, with projections showing an even steeper decline if they didn’t turn things around. This decline meant not just lower sales but also tighter margins, as they were forced to offer discounts to retain their existing customers. Operating costs, especially in the supply chain, were rising due to inefficiencies in managing inventory and fulfilling orders. If they continued down this path, it wouldn’t be long before their profitability would be at serious risk.</p><p>For the board of directors, this was a major cause for concern. PipeDream Plumbing Co. had always prided itself on being a reliable, well-established player in the plumbing products market. But now, that stability was in question. The board realized that the company’s inability to compete with more data-driven, agile competitors was putting its long-term survival at risk. If PipeDream Plumbing Co. couldn’t modernize its approach to data and decision-making, they feared they would continue losing ground, jeopardizing not only the company’s market position but also its ability to remain independent. With potential acquisitions from bigger rivals looming, the board knew they needed to act fast. At a recent board meeting, the urgency of the situation hit a boiling point, with discussions revolving around how to turn the ship around before it was too late.</p><h3>Communicating the Problem to the C-Suite</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*tIX9sgrH6K3wye4J" /><figcaption>Image: Author</figcaption></figure><p>Following the heated board meeting, Sarah, PipeDream Plumbing Co.’s CEO, knew she had to act swiftly. She called an emergency meeting with her C-level team, bringing in David, the CFO; Michael, the CTO; and Priya, the CDO. As the executives took their seats, Sarah got straight to the point. “We lost another major contract last quarter — this time to a smaller competitor. This isn’t just about pricing or product quality anymore. We need to figure out what’s really going wrong here, and we can’t afford any more mistakes.”</p><p>Sarah was referring to a lucrative contract with Fix-It-All Depot, a national home improvement retailer that had slipped through their fingers. Fix-It-All Depot had cited PipeDream Plumbing Co.’s inability to provide timely, accurate data on delivery schedules and production lead times as a deciding factor. PipeDream Plumbing Co. had tried to give assurances, but the numbers they provided were inconsistent across departments — sales, production, and logistics all seemed to be working off different reports. Fix-It-All Depot, frustrated with delays and miscommunication, ultimately awarded the contract to LeakBeGone Solutions, a competitor that promised real-time visibility into every aspect of the supply chain.</p><p>Sarah knew the problem ran deeper than any one department. Turning to David, she asked him to give a financial snapshot of how these misalignments were impacting the bottom line. David explained, “Our revenue isn’t just dipping because of lost contracts; our internal inefficiencies are costing us millions. Every time we have conflicting data across departments, it slows decision-making, and that delay is killing us. We’ve got rising inventory costs because we’re overstocking items we don’t need while failing to order enough of the products that are actually in demand. This happens because our sales team is working off outdated forecasts, while our supply chain is using a completely different set of numbers.”</p><p>“On top of that, we’re seeing delayed shipments because our logistics team doesn’t have accurate data on production lead times. Without a clear picture of inventory and manufacturing schedules, they either promise delivery dates we can’t meet or delay shipments altogether, leading to unhappy customers.</p><p>And let’s not forget the production overruns — we’re wasting time and resources producing items that aren’t moving, while scrambling to ramp up production on high-demand products, all because we can’t get a handle on accurate demand forecasting.”</p><p>The CTO, Michael, agreed. “The systems we’re using are outdated and fragmented. Each department is operating in its own silo, using different metrics and platforms. Our sales team is pulling reports from one system, while the supply chain team is using another. There’s no unified view of the truth.”</p><p>The CDO, Priya, had been warning of these issues for some time. “We don’t have consistent data governance across the company,” she emphasized. “There are no standard definitions for key metrics like lead times, production costs, or even customer demand. One department’s ‘on-time delivery’ metric might mean something entirely different to another team. Without a unified data strategy, we’re operating blind.”</p><p>As the discussion deepened, the executives realized that the root of the problem wasn’t the employees or even the processes — it was the <strong>lack of cohesive data infrastructure</strong>. Data was trapped in silos, often contradictory, and difficult to access. Without proper data governance, quality checks were inconsistent, and key business metrics were being interpreted differently by different teams. This lack of alignment was leading to costly mistakes and missed opportunities.</p><p>Priya added, “If we don’t fix this, we’ll continue to hemorrhage contracts and credibility. The answer isn’t just better technology — it’s better governance. We need a single source of truth that everyone in the company can rely on. We can’t afford to have conflicting reports or incomplete data guiding major decisions.”</p><p>Sarah knew this was a turning point. “We’re not just competing on products and prices anymore,” she concluded. “We’re competing on how effectively we can use data to drive decisions. We need a solution that can unify our systems, streamline our data, and give us the clarity we’re missing. Otherwise, we’re going to keep losing to more agile competitors.”</p><p>The team’s task was clear: they needed a data governance overhaul, and it had to start with breaking down the silos that were holding PipeDream Plumbing Co. back.</p><h3><strong>Strategic Initiative: A Data-First Culture</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*k9oAab5x_TOySVWk" /><figcaption>Image: Author</figcaption></figure><p>With the gravity of the situation clear, it was David, the CFO, who spearheaded the move toward a solution. He had seen firsthand how data inconsistencies were not only leading to operational inefficiencies but were also impacting PipeDream Plumbing Co.’s financial stability. In a meeting with the leadership team, he laid out the plan. “We need to treat <strong>data like a product</strong>,” David began. “In the same way that we ensure every valve and fixture we produce meets quality standards, we need to establish rigorous standards for our data. That means ownership, accountability, and consistency across every department.”</p><p>David had always been a numbers man. He understood that in an industry as competitive as manufacturing and distribution, even a small inefficiency in data management could snowball into millions of dollars lost. “Right now, no one owns the data. Sales is defining customer lifetime value one way, while finance has another interpretation. These disconnects are creating chaos. We need to fix this by establishing a clear chain of ownership and responsibility for every metric and dataset in the company.”</p><p>Michael, the CTO, quickly aligned with this approach. He had long been advocating for the modernization of PipeDream Plumbing Co.’s technology infrastructure but knew that implementing cutting-edge analytics or AI initiatives would be pointless without trustworthy data to back them up. “We can’t move forward with advanced analytics or AI until we fix the foundation,” Michael emphasized. “Our systems can’t talk to each other, and the data flowing through them is unreliable. If we’re serious about catching up to our competitors, we need to start with the basics — data governance.”</p><p>Michael also recognized the potential for new technologies to unlock significant value for PipeDream Plumbing Co. Automated insights from AI and predictive analytics could transform how PipeDream Plumbing Co. forecasted demand, optimized its supply chain, and even priced products in real-time. But without trustworthy, clean, and consistent data, these advanced capabilities would remain out of reach.</p><p>The key player in making this transformation possible was Priya, the CDO. She had been working behind the scenes to formalize a data governance plan, but now the urgency of the situation had brought her work to the forefront. Priya outlined her vision: a robust data governance framework that would bring trust, consistency, and clarity to PipeDream Plumbing Co.’s data practices. “We need to define what good data looks like for our organization,” she began. “This starts with creating a company-wide <strong>data dictionary</strong> — a single source of truth for all key metrics and terms. Every team needs to understand the definitions and adhere to them.”</p><p>She explained how this governance framework would include <strong>data ownership</strong>, with designated data stewards in each department. These stewards would be responsible for maintaining the quality and accuracy of the data in their domain, ensuring that it met the company’s overall standards. “With clear data ownership,” Priya continued, “we can also implement regular quality checks and audits to ensure that the data remains reliable over time.”</p><p>Priya’s plan didn’t stop there. She emphasized the need for <strong>data lineage</strong> — the ability to trace how data flows through various systems across PipeDream Plumbing Co. This would give the leadership team complete visibility into where data was coming from, how it was being transformed, and who was using it. “Data lineage will allow us to pinpoint the exact source of any data issue,” she said, “which will significantly reduce the time spent troubleshooting and correcting errors.”</p><p>David, seeing the financial upside of this initiative, added, “By treating <strong>data as an asset </strong>— just like any physical product we manufacture — we can streamline our operations, reduce costs, and make better, faster decisions. It’s no longer just about plugging leaks; it’s about transforming the entire organization to be data-first.”</p><p>With the leadership team aligned, it became clear that this initiative wasn’t just about technology or process improvements — it was about shifting PipeDream Plumbing Co.’s entire culture toward one where <strong>data</strong> was the foundation of every decision. This data-first mindset would ensure that the company had the agility and insight to compete with its more modern, data-driven rivals.</p><p>The strategic initiative was clear: PipeDream Plumbing Co. was embarking on a journey to <strong>build a data-first culture</strong>, and data governance was the foundation on which this transformation would be built.</p><h3>Guardians of the Data</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*FTyB3nc_xxy5KFgc" /><figcaption>Image: Author</figcaption></figure><p>As PipeDream Plumbing Co.’s leadership team delved deeper into their strategic initiative, it became clear that policy changes and internal alignment would not be enough to fully address their data governance challenges. The scale of the problem required more than just process improvements — it demanded a comprehensive platform capable of transforming how data was managed and utilized across the organization.</p><p>David, the CFO, pointed out that the manual effort required to manage data consistency was overwhelming their teams. “We can’t rely on spreadsheets or ad-hoc solutions to maintain data quality across departments. We need something that scales,” he said during a meeting with the C-suite. Michael, the CTO, agreed. “Even if we implement governance policies, without the right technology, we’ll continue to struggle with siloed data and inconsistent metrics. We need a platform that not only unifies our data but also makes it discoverable and accessible to everyone who needs it.”</p><p>Priya, the CDO, had already been exploring potential solutions and knew that they needed more than just another data management tool. <strong>They needed a platform that could automate data governance</strong> while still giving teams the flexibility to work autonomously. After conducting extensive research, Priya found that <strong>DataGuardian</strong> stood out for several reasons:</p><p>1. <strong>Data Lineage &amp; Visibility</strong>: DataGuardian could provide the <strong>end-to-end visibility</strong> they desperately needed. PipeDream Plumbing Co.’s data flowed through multiple systems — sales, logistics, inventory management, and finance — all of which needed to be connected. DataGuardian’s ability to trace data lineage would give them insight into how data moved through their ecosystem, where bottlenecks occurred, and how different teams were using it. This visibility would also enable quick troubleshooting, allowing them to pinpoint the source of data quality issues in minutes, not days.</p><p>2. <strong>Faster Data Discovery</strong>: One of the biggest challenges PipeDream Plumbing Co. faced was the <strong>inability to quickly discover and access data</strong>. Teams across the organization were constantly wasting time searching for data, only to find that different departments had conflicting versions of the same reports. With DataGuardian, they could centralize their data, making it easily discoverable with a <strong>self-service model</strong>. Teams wouldn’t have to wait on IT or data engineers to retrieve data — they could find it themselves, confident that it was accurate and up to date.</p><p>3. <strong>Uniform Metrics &amp; Definitions</strong>: A consistent problem at PipeDream Plumbing Co. was the lack of a single source of truth for key business metrics. Each department had its own version of critical KPIs like lead time, customer lifetime value, and inventory turnover. DataGuardian’s ability to <strong>standardize metrics and definitions</strong> across the company would ensure that everyone, from the sales team to the finance department, was speaking the same language when it came to data. This alignment would reduce confusion, eliminate miscommunication, and foster trust in the numbers.</p><p>4. <strong>Scalability Across Teams</strong>: With over 15,000 employees across multiple locations, PipeDream Plumbing Co. needed a platform that could <strong>scale with their business</strong>. DataGuardian’s collaborative environment meant that it wasn’t just a tool for data engineers or analysts — it was designed for anyone in the organization who interacted with data. Priya noted that DataGuardian’s user-friendly interface would empower even non-technical employees to engage with data confidently, fostering a culture of data-driven decision-making across the entire company.</p><p>5. <strong>Governance Without Bottlenecks</strong>: Priya understood that governance frameworks often slowed down decision-making because of the heavy reliance on centralized teams to approve and distribute data. DataGuardian’s decentralized governance model allowed individual departments to <strong>take ownership of their data</strong>, while still adhering to company-wide standards. This meant that PipeDream Plumbing Co. could implement governance at scale without creating bottlenecks, ensuring that data remained accessible while still being governed effectively.</p><p>Recognizing the potential, Priya presented her findings to the rest of the C-suite. “DataGuardian can give us the structure we need to operationalize our data governance strategy,” she explained. “It’s not just about creating rules; it’s about creating an environment where teams can access and trust data in real time.”</p><p>The C-level team, already feeling the pressure from the board and seeing how far ahead their competitors were, knew this was the kind of investment that could change the course of the company. PipeDream Plumbing Co.<strong> couldn’t afford to keep operating in silos</strong> — they needed to be able to move quickly, respond to market changes, and make informed decisions based on reliable data. “The time we’re losing by not having this visibility is costing us more than just money,” Sarah, the CEO, reflected. “It’s costing us opportunities, trust with our customers, and our ability to compete.”</p><p>Implementing DataGuardian became a key part of PipeDream Plumbing Co.’s data-first strategy. <strong>It wasn’t just about solving today’s problems; it was about future-proofing the company’s ability to adapt</strong>. With DataGuardian, PipeDream Plumbing Co. would not only fix the immediate issues of data inconsistency and siloed operations but also create a scalable, flexible foundation that would allow them to leverage data as a true strategic asset moving forward.</p><h3><strong>6 Months Later</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*PRLCPVEBMZj6bsTM" /><figcaption>Image: Author</figcaption></figure><p>Six months after implementing DataGuardian and launching their data governance initiative, PipeDream Plumbing Co. Manufacturing had undergone a significant transformation, though it wasn’t without its challenges. The early days of the rollout were tough. Initially, many employees, particularly within the sales and operations teams, resisted the changes. They were used to working with their own data systems and processes, and the idea of centralizing everything under one platform seemed cumbersome. Concerns were raised about the time it would take to transition, and some managers worried that the governance framework would slow down their teams rather than speed things up.</p><p>The first hurdle was <strong>cultural resistance</strong>. Employees, long accustomed to working in silos, viewed data governance as an added layer of bureaucracy rather than an enabler of efficiency. Priya, the CDO, anticipated this and spent the first few weeks running a series of workshops designed to <strong>demystify data governance</strong>. She framed the new framework not as a control mechanism but as a tool to make everyone’s work easier. In these workshops, she focused on showing employees how the self-service capabilities of DataGuardian would enable them to <strong>find and trust data faster</strong> without needing to wait for approvals or back-and-forth emails.</p><p>The <strong>second challenge</strong> came in the form of the <strong>technology transition</strong>. While DataGuardian was easy to implement from a technical standpoint, getting the data from legacy systems integrated into one cohesive platform was a time-consuming process. There were compatibility issues with some of the older ERP systems, and data lineage mapping required more time than anticipated due to the complexity of PipeDream Plumbing Co.’s multi-system environment. Michael, the CTO, led the effort to streamline the integration, partnering with a team of external consultants who helped accelerate the process. The <strong>pain points of unifying disparate data sources</strong> were tackled by setting clear milestones and breaking the project into manageable phases, ensuring that no team’s workflow was disrupted for too long.</p><p>The <strong>third hurdle</strong> was <strong>process-related</strong>. The governance framework required clear <strong>data ownership</strong> across departments, but many leaders were hesitant to take on the role of data stewards. It became apparent that ownership came with new responsibilities, including maintaining data quality and conducting regular audits. David, the CFO, helped solve this issue by demonstrating the financial upside of data stewardship — by owning their data, departments would reduce errors, make quicker decisions, and ultimately <strong>drive revenue growth</strong>. To incentivize this shift, PipeDream Plumbing Co.’s leadership tied data ownership to performance metrics, showing managers that their teams’ success depended on adopting this new approach.</p><p>Despite the initial hurdles, the <strong>benefits</strong> of the governance program began to materialize. The <strong>self-service model</strong> empowered employees across departments to access data faster, without having to rely on IT or data engineers. Sales teams were no longer held back by inconsistent reports or conflicting metrics — they now had a <strong>single source of truth</strong> that allowed them to pull accurate, real-time data on inventory levels, delivery timelines, and customer demand. In parallel, the supply chain team used DataGuardian’s <strong>data lineage features</strong> to track and optimize the flow of products, reducing delays and cutting unnecessary costs.</p><p>By the end of the six-month period, the board’s concerns about <strong>market share and financial performance</strong> had been significantly alleviated. PipeDream Plumbing Co.’s <strong>revenue</strong>, which had been declining, showed signs of recovery — <strong>rising by 8%</strong> compared to the previous quarter. The company was not only winning back contracts but also gaining new ones. The streamlined data processes allowed PipeDream Plumbing Co. to <strong>respond faster to customer inquiries</strong>, offer competitive pricing based on real-time insights, and provide accurate delivery timelines — something their competitors still struggled with.</p><p>The <strong>competition</strong> that once seemed insurmountable was now on the defensive. PipeDream Plumbing Co.’s ability to leverage <strong>data as a strategic asset</strong> allowed them to <strong>differentiate</strong> in areas where speed and reliability mattered most. They no longer just competed on product quality but also on <strong>agility and customer experience</strong>, areas where they were previously falling short.</p><p>The <strong>board</strong>, once anxious about the company’s future, now saw the results they had been hoping for. The inefficiencies they had been so frustrated by — conflicting data reports, slow decision-making, and the financial fallout from losing key contracts — were being systematically addressed. The governance framework, powered by DataGuardian, had provided PipeDream Plumbing Co. with a <strong>clear path to data-driven decision-making</strong>, allowing them to compete with more agile, tech-savvy rivals and restore their market position.</p><p>Six months in, PipeDream Plumbing Co. had not only <strong>stopped the bleeding</strong> but had set itself up for long-term success by building a <strong>data-first culture</strong> that could adapt to the ever-changing landscape of the manufacturing and distribution industry.</p><p>Please provide your feedback in the comment section. Your feedback is highly appreciated as it motivates me to write more. Also, I will correct any spelling, grammar, or punctuation errors, so please feel free to point them out.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=670df6a00d6f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[From Bits to Bytes: The Sorcery of Serialization and Deserialization]]></title>
            <link>https://medium.com/@ravidawar/from-bits-to-bytes-the-sorcery-of-serialization-and-deserialization-ebf044c6d2be?source=rss-d69ffa1c9be8------2</link>
            <guid isPermaLink="false">https://medium.com/p/ebf044c6d2be</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[data-engineering]]></category>
            <category><![CDATA[data]]></category>
            <category><![CDATA[data-visualization]]></category>
            <category><![CDATA[big-data]]></category>
            <dc:creator><![CDATA[Ravi Dawar]]></dc:creator>
            <pubDate>Mon, 30 Oct 2023 02:52:59 GMT</pubDate>
            <atom:updated>2023-10-30T02:52:59.474Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZFry-9yEzEnL51PT8TLClw.png" /><figcaption>Image: Author Generated using DALL-E</figcaption></figure><h3>Introduction</h3><p>In the rapidly evolving field of data engineering, the efficient transfer and storage of information is paramount to the success of any data-driven endeavor. Whether you’re a seasoned data engineer or a passionate data enthusiast, understanding the intricacies of data serialization and deserialization is a fundamental skill that can elevate your proficiency in managing and manipulating data.</p><p>This blog post aims to unravel the mysteries of Serialization and Deserialization, often called “ser” and “deser” in data engineering. We’ll journey from the basics to the advanced, exploring how these concepts are pivotal in shaping the modern data ecosystem. Whether you’re just starting your data journey or seeking to deepen your knowledge, this guide will equip you with the insights and practical knowledge needed to harness the power of serialization and deserialization effectively.</p><p><strong>Why Serialization and Deserialization Matter</strong></p><p>Imagine a world without serialization and deserialization. In this alternate reality, data would remain trapped in its original form, inaccessible for sharing, analysis, or storage. Serialization empowers us to transform complex data structures into portable formats, while deserialization acts as the key to unlocking and reconstructing that data when needed.</p><p>The importance of serialization and deserialization extends to a multitude of applications, from web APIs transmitting JSON data to big data processing systems handling binary AVRO files. As data engineers, these concepts enable us to bridge the gap between diverse data sources, maintain data integrity, and optimize data storage and transmission.</p><p>In the upcoming sections, we’ll dive into the core principles of serialization and deserialization. We’ll explore how JSON and AVRO, two widely used serialization formats, work their magic. We’ll unravel the process of converting data into a format suitable for storage and transmission (serialization) and uncover the art of reconstructing it back into its original form (deserialization).</p><p>So, fasten your seatbelts as we embark on a journey to demystify the world of Serialization and Deserialization, unlocking the power of data manipulation and management. Whether you’re a data engineer shaping the architecture of data pipelines or a data enthusiast eager to delve deeper into the world of data, this guide is your gateway to mastering these essential concepts. Let’s get started!</p><h3>Understanding Serialization</h3><p>Serialization is the unsung hero of data handling in the world of computing. It’s the process of converting complex data structures into a format that can be easily transmitted, stored, or reconstructed later. This seemingly straightforward concept plays a pivotal role in data engineering, and here’s why it’s so essential.</p><p><strong>The Significance of Serialization</strong></p><p>Imagine you have a Python dictionary with intricate nested structures, a complex object in a programming language, or even a data stream from a sensor on an autonomous car. These data structures can be rich and diverse but are primarily designed for in-memory use within a single application or system.</p><p>Serialization becomes crucial when you need to share this data with other systems, save it to a file for future use, or transmit it across a network to a remote server. These scenarios require a standardized, portable representation of the data.</p><p><strong>Why Convert to a Different Format?</strong></p><p>Converting data into a different format is necessary for several reasons:</p><ol><li><strong>Portability</strong>: Different systems may use different data structures or programming languages. Serialization allows data to be independent of the source system, making it portable across diverse environments.</li><li><strong>Efficiency</strong>: Serialized data is often more compact than its in-memory counterpart, reducing storage space and network bandwidth requirements. This efficiency is especially crucial in large-scale data processing.</li><li><strong>Interoperability</strong>: Serialization enables different systems, possibly implemented in different programming languages, to communicate seamlessly. It serves as a universal language for data exchange.</li></ol><p><strong>Binary vs. Text-Based Serialization Formats</strong></p><p>Serialization can take two primary forms: binary and text-based.</p><ul><li><strong>Binary Serialization</strong>: In binary serialization, data is represented in a compact, machine-readable format composed of 0s and 1s. This format is highly efficient for both storage and transmission but is not human-readable. E.g., Lowercase n (n) in ASCII code is 110 (decimal system). The 8-bit binary representation for 110 is 01101110, so you can represent Lowercase n (n) in binary as 01101110.</li><li><strong>Text-Based Serialization</strong>: Text-based serialization, such as JSON and XML, represents data using characters, making it human-readable. While it’s less space-efficient than binary formats, it’s widely used for configuration files, web APIs, and scenarios where human inspection is necessary.</li></ul><p>Now that we’ve laid the foundation of serialization, let’s dive into JSON serialization and how it transforms complex data into a human-readable format.</p><h3>Serialization in JSON</h3><p>JSON (JavaScript Object Notation) is one of the most popular and versatile text-based serialization formats. It’s known for its simplicity, human-readable nature, and widespread adoption across various domains. In this section, we’ll explore JSON serialization in detail.</p><p><strong>JSON as a Text-Based Serialization Format</strong></p><p>JSON is a lightweight, text-based format used for data interchange. It’s both machine-readable and human-readable, making it an excellent choice for a wide range of applications. JSON represents data as key-value pairs, allowing for structured and easily interpretable data.</p><p><strong>Example of Serializing Data into JSON</strong></p><p>Let’s take a simple Python dictionary as an example:</p><pre>person_data = {<br>    &quot;name&quot;: &quot;Alice&quot;,<br>    &quot;age&quot;: 28,<br>    &quot;city&quot;: &quot;New York&quot;<br>}</pre><p>To serialize this data into JSON in Python, you can use the json module:</p><pre>import json<br><br>json_data = json.dumps(person_data)</pre><p>Now, json_data contains the following JSON representation:</p><pre>{<br>    &quot;name&quot;: &quot;Alice&quot;,<br>    &quot;age&quot;: 28,<br>    &quot;city&quot;: &quot;New York&quot;<br>}</pre><p><strong>JSON’s Flexibility and Human-Readable Nature</strong></p><p>JSON’s design emphasizes simplicity and readability. Its structure closely resembles that of JavaScript objects, consisting of key-value pairs and supporting various data types like strings, numbers, booleans, arrays, and nested objects. This flexibility makes JSON suitable for representing a wide range of data structures.</p><p>JSON’s human-readable format allows developers and data engineers to inspect data easily. This readability simplifies debugging, configuration file creation, and interaction with web APIs.</p><p><strong>Use Cases and Scenarios for JSON Serialization</strong></p><p>JSON is prevalent in various domains and use cases:</p><ol><li><strong>Web APIs</strong>: JSON is the de facto standard for data exchange in web services. Most modern web APIs communicate using JSON due to its simplicity and compatibility with web technologies.</li><li><strong>Configuration Files</strong>: Many software applications use JSON for configuration files. Its human-readable format makes it user-friendly for configuration purposes.</li><li><strong>Data Interchange</strong>: JSON is often used for transferring data between different systems, especially in scenarios where human readability and easy debugging are essential.</li><li><strong>Client-Server Communication</strong>: JSON plays a crucial role in client-server communication, enabling web clients (browsers or mobile apps) to interact with server-side APIs.</li><li><strong>NoSQL Databases</strong>: Many NoSQL databases, such as MongoDB, store data in JSON-like documents, making JSON serialization a natural choice for these databases.</li></ol><p>In the next section, we’ll delve into AVRO serialization — a binary format known for its efficiency and schema enforcement.</p><h3>Serialization in AVRO</h3><p>AVRO is a binary serialization format known for its efficiency, schema enforcement, and flexibility in handling complex data structures. In this section, we’ll explore AVRO serialization in depth.</p><p><strong>Introducing AVRO as a Binary Serialization Format</strong></p><p>AVRO is designed for high-performance data serialization. It stores data in a compact binary format, making it efficient for both storage and transmission. One of AVRO’s distinguishing features is schema enforcement, which ensures that data adheres to a predefined schema, providing strong data typing.</p><p><strong>Defining an AVRO Schema</strong></p><p>Before serializing data in AVRO, you need to define a schema that specifies the structure and data types of the serialized data. AVRO schemas are typically written in JSON or as JSON-like structures.</p><p>Here’s an example AVRO schema for a simple person data record:</p><pre>{<br>  &quot;type&quot;: &quot;record&quot;,<br>  &quot;name&quot;: &quot;Person&quot;,<br>  &quot;fields&quot;: [<br>    {&quot;name&quot;: &quot;name&quot;, &quot;type&quot;: &quot;string&quot;},<br>    {&quot;name&quot;: &quot;age&quot;, &quot;type&quot;: &quot;int&quot;},<br>    {&quot;name&quot;: &quot;city&quot;, &quot;type&quot;: &quot;string&quot;}<br>  ]<br>}</pre><p>In this schema, we define a record type named “Person” with three fields: “name” (a string), “age” (an integer), and “city” (a string).</p><p><strong>Serializing Data into AVRO</strong></p><p>Let’s serialize a person’s data using the AVRO schema:</p><pre>import json<br><br>from avro import schema, io<br>import avro.datafile<br><br>person_data = {<br>  &quot;type&quot;: &quot;record&quot;,<br>  &quot;name&quot;: &quot;Person&quot;,<br>  &quot;fields&quot;: [<br>    {&quot;name&quot;: &quot;name&quot;, &quot;type&quot;: &quot;string&quot;},<br>    {&quot;name&quot;: &quot;age&quot;, &quot;type&quot;: &quot;int&quot;},<br>    {&quot;name&quot;: &quot;city&quot;, &quot;type&quot;: &quot;string&quot;}<br>  ]<br>}<br><br>avro_schema_json = json.dumps(person_data)<br><br>avro_schema = schema.parse(avro_schema_json)  # Replace with the actual schema<br>datum_writer = io.DatumWriter(avro_schema)<br><br>person_data = {<br>    &quot;name&quot;: &quot;Alice&quot;,<br>    &quot;age&quot;: 28,<br>    &quot;city&quot;: &quot;New York&quot;<br>}<br><br>with open(&quot;person_data.avro&quot;, &quot;wb&quot;) as avro_file:<br>    avro_writer = avro.datafile.DataFileWriter(avro_file, datum_writer, avro_schema)<br>    avro_writer.append(person_data)<br>    avro_writer.close()</pre><p>In this code, we use the AVRO schema to serialize the person_data dictionary into an AVRO binary file.</p><p><strong>AVRO’s Advantages</strong></p><ol><li><strong>Efficiency</strong>: AVRO’s binary format is highly efficient, resulting in smaller data sizes compared to text-based formats like JSON. This efficiency is crucial in scenarios with large datasets.</li><li><strong>Schema Evolution</strong>: AVRO supports schema evolution, allowing you to modify schemas without breaking compatibility with existing data. This means you can add, remove, or change fields in your schema over time as your data needs evolve. Schema evolution ensures that as your data structure evolves, you can still read older data written with a different schema version. This is essential in real-world scenarios where data schemas change frequently due to business requirements.</li><li><strong>Strong Typing</strong>: AVRO’s schema enforcement ensures strong typing, meaning that data is validated against its schema. For example, if a field is defined as an integer, AVRO ensures that only integers are allowed for that field. Strong typing minimizes data inconsistencies and prevents errors that could occur if data doesn’t match its expected types. It ensures that you’re working with data that meets specific requirements, improving data quality and reliability.</li></ol><p>In summary, AVRO serialization combines the efficiency of binary formats with the benefits of schema enforcement. It’s a powerful choice for scenarios where data size, schema control, and compatibility are critical. As we’ve explored JSON and AVRO serialization, the next section will delve into the world of deserialization, explaining how to reconstruct data from its serialized form.</p><h3>Understanding Deserialization</h3><p>Deserialization is the indispensable counterpart to serialization in the world of data processing. In this section, we’ll define deserialization and explore its critical role in reconstructing data from its serialized form. We’ll also emphasize the paramount importance of preserving data integrity during the deserialization process.</p><p><strong>Defining Deserialization</strong></p><p>Deserialization is the process of reconstructing data from its serialized format back into its original data structure or object. It’s the counterpart to serialization, and together, they form a crucial pair in data handling.</p><p>Imagine that you’ve serialized a complex data structure into a portable format, like JSON or AVRO, for storage, transmission, or sharing. When you or another system later need to use this data, deserialization is the process that brings it back to life, turning it from a sequence of bytes into a meaningful and usable structure.</p><p><strong>The Role of Deserialization:</strong></p><p>The role of deserialization is multifaceted:</p><ol><li><strong>Data Reconstruction</strong>: Deserialization’s primary purpose is to reconstruct data in a format that software applications can readily use. This process reverses the transformations applied during serialization.</li><li><strong>Preserving Data Integrity</strong>: Ensuring data remains intact and unchanged during deserialization is paramount. Any loss, alteration, or misinterpretation of data could lead to errors or incorrect results in downstream processes.</li></ol><p><strong>Emphasizing Data Integrity Preservation:</strong></p><p>Preserving data integrity during deserialization is a non-negotiable requirement. Any data that has been serialized and later deserialized must be identical to the original data, down to the last byte. This is particularly critical in scenarios where data accuracy and reliability are paramount, such as financial transactions, scientific research, or critical business operations.</p><p>Inadequate deserialization can introduce subtle or catastrophic errors into an application’s logic or data, potentially leading to security vulnerabilities or financial losses. For this reason, robust deserialization practices, error handling, and data validation mechanisms are essential.</p><p>In the upcoming sections, we’ll explore the specific techniques and considerations involved in deserialization for both JSON and AVRO, ensuring that data engineers can confidently bring their serialized data back to life while safeguarding data integrity.</p><h3>Deserialization in JSON</h3><p>Deserializing JSON data is a fundamental skill in data processing. In this section, we’ll explore how to transform JSON data from its serialized form into a structured data format, such as a Python dictionary. We’ll provide a practical example of JSON deserialization and discuss important considerations and challenges.</p><p><strong>Deserializing JSON Data</strong></p><p>To deserialize JSON data into a structured format, you need a programming language or library that supports JSON deserialization. Let’s take Python as an example:</p><pre>import json<br><br>person_data = {<br>    &quot;name&quot;: &quot;Alice&quot;,<br>    &quot;age&quot;: 28,<br>    &quot;city&quot;: &quot;New York&quot;<br>}<br><br># Serialize into JSON<br>json_data = json.dumps(person_data)<br><br># Deserialize JSON into a Python dictionary<br>person_dict = json.loads(json_data)<br></pre><p>In this example, we use Python’s json module to deserialize the JSON data into a Python dictionary. The json.loads() function parses the JSON string and creates a dictionary with the same key-value pairs.</p><p><strong>Considerations and Challenges in JSON Deserialization:</strong></p><p>While JSON deserialization is straightforward, there are considerations and challenges to keep in mind:</p><ol><li><strong>Data Validation</strong>: JSON does not inherently enforce data types. During deserialization, you should validate data to ensure it matches your expectations. For instance, a field such as age that should contain an integer may sometimes receive a string, which requires handling and validation.</li><li><strong>Handling Missing or Extra Fields</strong>: JSON deserialization can become tricky when dealing with optional or extra fields. You need to account for missing fields or handle additional fields that may appear in the JSON data.</li><li><strong>Error Handling</strong>: Be prepared to handle errors during deserialization, such as invalid JSON syntax or data that doesn’t conform to the expected structure. Robust error handling prevents crashes and ensures graceful degradation when things go wrong.</li><li><strong>Memory Usage</strong>: Deserializing large JSON datasets can consume significant memory. If memory usage is a concern, consider streaming or incremental parsing approaches to avoid loading the entire dataset into memory at once.</li><li><strong>Complex Data Structures</strong>: JSON can represent complex data structures, including nested objects and arrays. Deserializing such data requires careful navigation through the structure to extract the desired information.</li></ol><p>JSON deserialization is a crucial step in working with JSON data, whether you’re handling data from web APIs, configuration files, or other sources. By understanding the considerations and challenges involved, data engineers can effectively convert JSON data into usable formats while ensuring data integrity.</p><h3>Deserialization in AVRO</h3><p>Deserializing AVRO data is a process that combines binary efficiency with schema enforcement. In this section, we’ll describe the process of deserializing AVRO data using a schema. We’ll provide a step-by-step example of AVRO deserialization and highlight the benefits of schema-enforced deserialization.</p><p><strong>Deserializing AVRO Data Using a Schema:</strong></p><p>Deserializing AVRO data involves several steps, with the key element being the AVRO schema. The schema is necessary to correctly interpret the binary data and reconstruct it into its original structured form.</p><ol><li><strong>Schema Definition</strong>: First, you need the AVRO schema used during serialization. This schema specifies the structure and data types of the serialized data.</li><li><strong>AVRO Data File</strong>: You should have the AVRO data file generated during serialization.</li><li><strong>Deserialization</strong>: Using a programming language or library that supports AVRO, you deserialize the data using the schema.</li></ol><p><strong>Step-by-Step Example of AVRO Deserialization:</strong></p><p>Let’s walk through an example of deserializing AVRO data in Python using the AVRO library. In the AVRO serialization example above, we serialized a person’s data into an AVRO format and wrote it into a file called <em>persona_data.avro</em>. The schema we used in that example was <em>avro_schema</em>. We will use the same serialized file and the same schema to deserialize:</p><pre># Create a datum reader<br>datum_reader = io.DatumReader(avro_schema)<br><br># Open the AVRO data file<br>with open(&quot;person_data.avro&quot;, &quot;rb&quot;) as avro_file:<br>    avro_reader = avro.datafile.DataFileReader(avro_file, datum_reader)<br><br>    # Iterate through records (in this case, just one record)<br>    for person_data in avro_reader:<br>        # &#39;person_data&#39; now contains the deserialized data<br>        print(person_data)</pre><p>In this example, we load the AVRO schema, create a datum reader with the schema, and then open the AVRO data file. We iterate through the records, and each record (in this case, just one) is deserialized into the person_data variable.</p><p><strong>Benefits of Schema-Enforced Deserialization in AVRO:</strong></p><ol><li><strong>Data Integrity</strong>: AVRO’s schema enforcement ensures that the deserialized data adheres to the expected structure and data types. This prevents unexpected data issues during deserialization.</li><li><strong>Schema Evolution</strong>: Schema-enforced deserialization allows you to handle data written with different schema versions, making it possible to evolve your data structures over time without breaking compatibility.</li><li><strong>Strong Typing</strong>: AVRO’s schema guarantees that data is strongly typed, reducing the risk of data type-related errors during deserialization.</li><li><strong>Binary Efficiency</strong>: AVRO’s binary format remains efficient even during deserialization, as it doesn’t require extensive parsing of text-based data.</li><li><strong>Compatibility</strong>: AVRO’s schema is compatible with multiple programming languages, enabling seamless cross-platform data exchange.</li></ol><p>Deserialization in AVRO offers robust and efficient data reconstruction, making it suitable for scenarios where data integrity, schema control, and performance are critical. By following the schema-enforced deserialization process, data engineers can confidently work with AVRO data, even as it evolves over time.</p><h3>Advanced Concepts</h3><p>In this section, we’ll explore advanced topics related to serialization and deserialization, focusing on data validation, error handling, and schema evolution in both JSON and AVRO.</p><p><strong>Data Validation During Deserialization</strong>:</p><p>Data validation is a critical aspect of deserialization, ensuring that the data reconstructed from its serialized form meets your expectations. During deserialization:</p><ul><li>For JSON, consider implementing custom validation logic to check data types, required fields, and data integrity. Libraries like JSON Schema can assist in defining validation rules.</li><li>In AVRO, schema-enforcement inherently provides strong data validation. However, you may still need to handle edge cases or apply additional validation logic based on your specific use case.</li></ul><p><strong>Handling Errors and Exceptions:</strong></p><p>Error handling is essential to gracefully manage unexpected scenarios during deserialization:</p><ul><li>In JSON deserialization, handle exceptions that may arise due to malformed JSON syntax, missing fields, or data type mismatches. Robust error handling prevents application crashes and provides informative error messages.</li><li>In AVRO, handle exceptions related to schema mismatches, data type conflicts, or changes in schema versions. Proper error handling ensures that data remains consistent and errors are appropriately logged or reported.</li></ul><p><strong>Handling Schema Evolution and Backward Compatibility (AVRO):</strong></p><p>Schema evolution in AVRO allows you to modify schemas over time without breaking compatibility with existing data. To handle schema evolution and ensure backward compatibility:</p><ul><li>Use techniques such as adding optional fields, deprecating fields, and specifying default values in the schema to accommodate changes.</li><li>Define clear versioning and compatibility policies to manage schema changes systematically.</li><li>Maintain backward compatibility by ensuring that new schemas can read data serialized with older schema versions.</li><li>Implement data migration strategies when necessary to update older data to conform to new schema versions.</li></ul><p>Understanding these advanced concepts empowers data engineers to handle real-world scenarios where data validation, error handling, and schema evolution are crucial considerations. By applying these principles, you can maintain data integrity and ensure the smooth operation of your data processing pipelines.</p><h3>Use Cases and Best Practices</h3><p>In this section, we’ll explore real-world use cases for both JSON and AVRO serialization and deserialization. We’ll also share best practices and considerations for choosing the right format based on your specific use cases. Additionally, we’ll discuss performance considerations and optimization techniques.</p><h4><strong>Real-World Use Cases:</strong></h4><p><strong>JSON Serialization and Deserialization:</strong></p><ol><li><strong>Web APIs</strong>: JSON is the standard for data exchange in web services. It’s widely used for APIs that deliver data to web and mobile applications, providing a human-readable and lightweight format.</li><li><strong>Configuration Files</strong>: JSON is an excellent choice for storing configuration settings due to its readability, which makes it easy for developers and system administrators to work with. However, my favorite format is YAML (but that’s for another blog post 🙃).</li><li><strong>Data Interchange</strong>: When data needs to be shared between different systems, JSON is often preferred for its versatility and compatibility with web technologies.</li></ol><p><strong>AVRO Serialization and Deserialization:</strong></p><ol><li><strong>Big Data</strong>: AVRO is commonly used in big data ecosystems like Apache Hadoop and Apache Kafka. Its binary efficiency and schema enforcement make it ideal for handling large volumes of data.</li><li><strong>Data Warehousing</strong>: In data warehousing solutions, AVRO can be used to efficiently serialize and deserialize data, ensuring data integrity and enabling schema evolution.</li><li><strong>Message Queues</strong>: AVRO is a suitable choice for message queues and event streaming platforms, where performance and schema evolution are crucial considerations.</li></ol><p><strong>Best Practices and Considerations:</strong></p><ol><li><strong>Choose the Right Format</strong>: Consider your use case carefully. If you need human-readable data interchange, JSON is a good choice. If you require high performance, schema enforcement, and schema evolution, AVRO may be more suitable.</li><li><strong>Schema Management</strong>: For AVRO, establish clear schema management practices. Version your schemas, document changes, and define compatibility policies to handle schema evolution effectively.</li><li><strong>Data Validation</strong>: Regardless of the format, implement data validation during deserialization to ensure data integrity. Consider using validation libraries or custom logic.</li><li><strong>Error Handling</strong>: Develop robust error handling mechanisms to gracefully manage exceptions and errors during deserialization, providing informative feedback and preventing crashes.</li></ol><p><strong>Performance Considerations and Optimization Techniques:</strong></p><ol><li><strong>Compression</strong>: For both formats, consider using compression techniques like GZIP to reduce data size during transmission and storage, especially for large datasets.</li><li><strong>Batch Processing</strong>: When working with large volumes of data, consider batch processing to minimize the overhead of serialization and deserialization.</li><li><strong>Schema Evolution Strategies</strong>: In AVRO, carefully plan and test schema evolution strategies to ensure backward compatibility and smooth data transitions.</li><li><strong>Streaming</strong>: For real-time data processing, explore streaming solutions that can efficiently handle serialization and deserialization as data flows.</li></ol><p>By understanding these use cases, best practices, and performance considerations, data engineers can make informed decisions when choosing between JSON and AVRO for their data serialization and deserialization needs. Each format has its strengths, and selecting the right one can significantly impact the efficiency and reliability of your data processing workflows.</p><h3>Concluding Thoughts</h3><p>Serialization and deserialization are fundamental processes in the world of data handling, enabling the efficient storage, transmission, and reconstruction of data. In this post, we’ve explored the key concepts and practical aspects of serialization and deserialization, comparing two prominent formats: JSON and AVRO. We’ve learned how JSON provides human-readable, versatile serialization, while AVRO offers binary efficiency, schema enforcement, and schema evolution support.</p><p>From understanding the basics to delving into advanced concepts and use cases, we’ve equipped data engineers with the knowledge to make informed decisions when choosing the right format for their specific needs.</p><p>By embracing best practices and considering the nuances of each format, you can ensure data integrity, optimize performance, and unlock the full potential of your data processing workflows. Whether you’re working with intricate Python dictionaries, complex sensor data, or diverse data streams, mastering the art of serialization and deserialization is a critical step toward harnessing the power of data in the digital age.</p><p>Please provide your feedback in the comment section. Your feedback is highly appreciated as it motivates me to write more. Also, I will correct any spelling, grammar, or punctuation errors, so please feel free to point them out.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ebf044c6d2be" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Understanding Human Behavior: 14 Key Takeaways from Robert Cialdini’s “Influence”]]></title>
            <link>https://medium.com/@ravidawar/understanding-human-behavior-14-key-takeaways-from-robert-cialdinis-influence-f0ff2c488f9?source=rss-d69ffa1c9be8------2</link>
            <guid isPermaLink="false">https://medium.com/p/f0ff2c488f9</guid>
            <category><![CDATA[marketing]]></category>
            <category><![CDATA[books]]></category>
            <category><![CDATA[productivity]]></category>
            <category><![CDATA[finance]]></category>
            <category><![CDATA[sales]]></category>
            <dc:creator><![CDATA[Ravi Dawar]]></dc:creator>
            <pubDate>Mon, 02 Oct 2023 02:05:08 GMT</pubDate>
            <atom:updated>2023-10-02T02:05:08.204Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/851/1*mSvyb5GoNKUouQa5yOhKzg.jpeg" /></figure><blockquote>“The mind is like an iceberg; it floats with one-seventh of its bulk above water.” — Sigmund Freud</blockquote><p>The intricate dance of psychology and human behavior has always been a subject of profound fascination. Beneath the surface of our conscious actions lie layers of impulses, biases, and triggers, many of which we remain blissfully unaware of. As someone working in the field of sales, a domain where understanding human behavior is paramount, my curiosity naturally wandered into the psychological nuances that drive our decisions, leading me to delve into Robert Cialdini’s seminal work, “Influence.”</p><p>Robert Cialdini, a renowned psychologist and professor of marketing, has dedicated much of his academic life to understanding the mechanisms of persuasion. His insights are not just theoretical; they are drawn from extensive fieldwork, making them both relatable and applicable to our daily lives, especially in sales.</p><p>“Influence” is more than just a book; it’s a deep dive into the subtle art of persuasion and the psychological underpinnings that drive our decisions. From the tactics employed by salespeople to the inherent biases we all harbor, Cialdini paints a comprehensive picture of why we say “yes” when we do. Given my <strong>budding</strong> experience in sales, this book resonated deeply, prompting me to reflect on my interactions and strategies.</p><p>It’s no wonder then that luminaries like Charlie Munger, Warren Buffett’s long-time business partner and vice-chairman of Berkshire Hathaway, have sung praises of Cialdini’s work. Munger, with his keen interest in human misjudgment, has often cited “Influence” as a must-read for those wishing to understand the intricacies of human behavior.</p><p>In this blog, I aim to distill my 14 key takeaways from “Influence,” each accompanied by a practical example from the field of sales. These insights, I believe, are not just academic musings but invaluable tools that can help both seasoned sales professionals and newbies like myself navigate the complex web of human interactions with greater awareness and intention.</p><p>So, without much further ado, Here are 14 essential takeaways that have reshaped my understanding of human behavior.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QCbLjtbtbsRNp377ovi5hg.jpeg" /><figcaption>Image: Author, Arnarstapi, Iceland</figcaption></figure><h3>Automatic Behavior Patterns</h3><p>At the heart of human cognition lies the need for efficiency. In their quest to conserve energy, our brains often rely on pre-established patterns or stereotypes. These automatic behavior patterns are mental shortcuts, allowing us to quickly process vast amounts of information without becoming overwhelmed.</p><p>In Cialdini’s “Influence,” he discusses the double-edged sword of these patterns. On one hand, they help us navigate the world swiftly, making quick judgments and decisions. On the other, they can lead us astray, especially when these ingrained patterns are manipulated by those who understand their power.</p><p>Humans often rely on ingrained patterns of behavior and thought to navigate the complexities of daily life. One such pattern is associating high cost with high value. While stereotypes and shortcuts like “Expensive = Good” can be efficient, they can also lead to misconceptions or biases.</p><p>In the world of luxury goods, this perception is often leveraged to enhance the appeal of products. Consider luxury watch brands that host exclusive events in upscale venues, complete with champagne and high-end displays. The entire experience is curated to exude opulence. Surrounded by this environment, customers naturally associate the high price with superior quality, craftsmanship, and prestige. Even if two watches have similar functionalities, the one presented as a luxury item in such a lavish setting can command a much higher price due to the perceived value and status it offers.</p><p>Recognizing these automatic behavior patterns can empower consumers to make more informed decisions, discerning genuine quality from mere perceived value.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*R5Y0K3yXd6AXIKn3OUWG9Q.jpeg" /><figcaption>Image: Author, Reynisfjara Beach</figcaption></figure><h3>Reasoning Fallacy</h3><p>Humans have an innate desire to understand the “why” behind actions, decisions, or requests. This need for reason often drives our behavior, even when the reasons provided aren’t necessarily logical or substantial. Cialdini’s “Influence” highlights how the mere act of providing a reason, signified by the word “because,” can increase compliance, regardless of the actual rationale that follows.</p><p>This phenomenon underscores our psychological predisposition to favor actions that come with explanations, even if those explanations are superficial. It’s a testament to the power of justification and the lengths our minds will go to maintain a semblance of rationality.</p><p>Imagine a salesperson promoting a new skincare product. Instead of merely stating, “You should try this new moisturizer,” they might say, “You should try this new moisturizer because it’s been reformulated.” Even if the buyer doesn’t know what the reformulation entails or why it’s beneficial, the mere presence of the word “because” provides a veneer of reason, making the suggestion more persuasive.</p><p>Another classic example from Cialdini’s research involved people waiting in line to use a photocopier. When someone tried to cut in line by simply asking to go ahead, compliance was low. However, when they added a reason, “because I have some copies to make,” even though the reason was obvious and redundant, people were more likely to allow the person to cut in line.</p><p>By recognizing the power of “because” and the reasoning fallacy, both sellers and consumers can better navigate sales interactions, ensuring that decisions are based on genuine value rather than superficial justifications.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ijrc0xgzY2QJq1r9gfjCNg.jpeg" /><figcaption>Image: Author, One of the Many Mesmerizing Ontarian Lakes</figcaption></figure><h3>The Contrast Principle</h3><p>Human perception is not absolute but relative. The way we perceive something is often influenced by what we’ve seen or experienced just before it. This phenomenon, known as the contrast principle, affects how we gauge differences between two things presented consecutively. If the second item is significantly different from the first, we tend to exaggerate the difference in our minds.</p><p>Cialdini’s “Influence” delves into this flaw in our perception, illustrating how it can be manipulated, especially in situations where comparisons are involved. The contrast principle can make something appear better or worse than it actually is, simply based on what it’s being compared to.</p><p>Let’s consider a real estate agent showing properties to potential buyers. The agent might first show a house that’s slightly run-down or not well-maintained. After this, they take the buyers to a house that’s in decent shape but not necessarily outstanding. Compared to the first house, the second one appears far more appealing, even if it might be overpriced or have its own set of issues. The stark contrast between the two properties enhances the perceived value of the second house.</p><p>Another example in retail might involve a store displaying a high-end, expensive piece of clothing next to a more reasonably priced item. The cheaper item, by contrast, seems even more affordable and attractive to buyers, even if its standalone price might be considered high.</p><p>Understanding the contrast principle can empower consumers to make decisions based on an item’s intrinsic value rather than being swayed by clever juxtapositions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qFf2ruSbdvenZIaHS54SpA.jpeg" /><figcaption>Image: Author, Valley Of The Five Lakes, Jasper</figcaption></figure><h3>The Rule of Reciprocation</h3><p>One of the most potent social norms that govern human behavior is the rule of reciprocation. This unwritten rule suggests that when someone does something for us, we naturally feel obligated to return the favor. This sense of indebtedness, even for unsolicited favors, can be a powerful tool of persuasion, as Cialdini elaborates in “Influence.”</p><p>The rule of reciprocation is deeply ingrained in our psyche, stemming from societal norms and perhaps even evolutionary advantages. Those who reciprocate kindness or favors are often seen as trustworthy, fostering community and cooperation.</p><p>A classic example in the realm of sales and marketing is the giving of free samples. When a brand offers you a free sample, you might feel a subtle obligation to purchase something in return, even if there’s no explicit expectation. This tactic is prevalent in places like supermarkets or cosmetics stores.</p><p>Another example is when a salesperson offers a small concession or discount “just for you.” This gesture, though it might seem minor, can create a sense of indebtedness, making the customer more likely to make a purchase or agree to the terms of a deal.</p><p>By understanding the rule of reciprocation, consumers can recognize when they’re feeling undue pressure to reciprocate and make decisions based on genuine interest rather than a sense of obligation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lTAIRUoc0HRgAMpIDyWVGA.jpeg" /><figcaption>Image: Author, Somewhere in the Alaskan Wilderness</figcaption></figure><h3>Commitment and Consistency</h3><p>Humans have a deep-seated need for consistency in their beliefs, statements, and actions. Once we’ve committed to a particular stance or decision, there’s a strong psychological drive to remain consistent with that commitment. This desire for consistency is so potent that even when faced with evidence contradicting our stance, we might still cling to our original decision to avoid appearing inconsistent.</p><p>Cialdini’s “Influence” sheds light on this behavioral trait, emphasizing how recognizing and committing to a particular course of action can shape subsequent behaviors and decisions, sometimes to our detriment.</p><p>A common sales technique that leverages this principle is the “foot-in-the-door” tactic. A salesperson might first ask a potential customer for a small, easy-to-agree-to request. Once the customer agrees to this minor commitment, they’re more likely to agree to larger, related requests. Their initial commitment makes them want to act consistently with their previous decision.</p><p>For instance, if a gym offers a free one-week trial and you decide to take it, you’ve made a small commitment to fitness. After the trial, you might feel more inclined to sign up for a full membership, driven by the desire to remain consistent with your initial commitment to trying out the gym.</p><p>Another example is in the realm of investments. After purchasing a stock, an investor might feel an increased sense of confidence in its future prospects. This confidence isn’t always rooted in new or concrete information but rather stems from a desire to remain consistent with their initial decision to invest.</p><p>I’ve personally experienced this principle. Whenever I’m assigned either the long or short leg of an options trade, I’ve noticed a tendency in myself to rationalize the future prospects of the underlying asset in a way that aligns with my assignment. It’s as if my mind seeks to justify the position, ensuring that my beliefs are consistent with the trade I’ve been assigned against my will.</p><p>Being aware of the commitment and consistency principle can help consumers recognize when they’re making decisions based on genuine belief versus a mere desire to remain consistent.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*g0d94SPvQiGfyZATtDE_NQ.jpeg" /><figcaption>Image: Author, Matanuska Glacier</figcaption></figure><h3>The Power of Writing</h3><p>There’s something profoundly impactful about the act of writing. Translating thoughts into written words not only provides clarity but also solidifies our commitment to those thoughts. In “Influence,” Cialdini discusses how the act of writing can serve as a powerful tool for commitment, making our decisions and intentions more concrete and binding.</p><p>When we write something down, it becomes a tangible record of our thoughts or commitments, making it harder for us to change our minds or deny those intentions later on.</p><p>Salespeople often use written commitments to their advantage. For instance, after a sales pitch or presentation, a salesperson might ask potential clients to write down what they liked most about the product or service. This simple act of writing reinforces the positive aspects in the client’s mind and increases the likelihood of them making a purchase.</p><p>Another example is in the realm of goal-setting or self-improvement. Many self-help programs or workshops ask participants to write down their goals or intentions. This act of documenting goals not only provides clarity but also increases the individual’s commitment to achieving them.</p><p>In retail, customers might be asked to fill out wish lists or preference forms. Writing down their preferences or desired items can make customers more inclined to purchase those items in the future, as they’ve already expressed a written interest.</p><p>Recognizing the power of writing can help consumers make more deliberate decisions and understand the weight of their written commitments.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8yzmdPsCOvyiXPEbl0rzQQ.jpeg" /><figcaption>Image: Author, Tom’s Scenic Lookout, Barry’s Bay</figcaption></figure><h3>The Power of Public Statements</h3><p>When we vocalize our intentions or beliefs, especially in a public setting, the commitment to those statements intensifies. Public declarations, whether they’re shared with friends, family, or a broader audience, carry weight. They create a sense of accountability, as we naturally don’t want to appear inconsistent or unreliable in the eyes of others. Cialdini’s “Influence” emphasizes the heightened commitment that comes with making our intentions or decisions public.</p><p>Salespeople and marketers often leverage the power of public commitment. For instance, customers might be encouraged to share their purchase intentions or positive reviews on social media. Once a customer publicly declares their affinity for a product or brand, they’re more likely to follow through with a purchase or remain loyal to the brand, as they’ve already expressed their endorsement in a public forum.</p><p>Another example is in group settings or workshops. Participants might be asked to share their goals or intentions with the group. This public declaration increases their commitment to those goals, as they’ve now made a statement in front of peers and might feel a heightened sense of accountability.</p><p>Crowdfunding platforms are another testament to this principle. When individuals publicly back a project, they’re not only committing financially but also expressing their support in a public domain, making them more invested in the project’s success.</p><p>Understanding the influence of public statements can help consumers recognize the added weight of their public declarations and make more informed decisions in such contexts.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YUZLxjQRZn6Tn-w80umAYQ.jpeg" /><figcaption>Image: Author, Somewhere in the Ontarian Woods</figcaption></figure><h3>The Principle of Authority</h3><p>Humans have a natural inclination to trust and follow those perceived as authoritative figures or experts in a given field. This deference to authority is a cognitive shortcut, allowing us to make decisions based on the guidance of those deemed more knowledgeable. In “Influence,” Cialdini delves into how our respect for authority can be both a boon and a potential pitfall, especially when that authority is misused or misrepresented.</p><p>The endorsement of products by celebrities or experts is a classic example of leveraging the principle of authority. When a renowned dermatologist recommends a skincare product, or when a famous athlete endorses a particular brand of sportswear, consumers are more likely to trust and purchase those products based on the authority of the endorser.</p><p>Another common sales tactic is the use of titles or uniforms. A salesperson might introduce themselves with a title that suggests expertise, such as “Senior Product Specialist,” or wear a lab coat in a setting that sells health or tech products. These symbols of authority can enhance their credibility in the eyes of customers, making their recommendations more persuasive.</p><p>However, Cialdini also warns of the potential misuse of authority. It’s essential for consumers to discern genuine expertise from mere appearances. One way to do this is by looking for potential biases or incentives that might influence the “expert’s” recommendations.</p><p>By understanding the principle of authority, consumers can make more informed decisions, valuing genuine expertise while remaining wary of potential misrepresentations.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Gmexf1GFfBII24Krhyvcsw.jpeg" /><figcaption>Image: Author, Delicate Arch — Arches National Park, Utah</figcaption></figure><h3>Foolish Consistencies</h3><p>While consistency is often lauded as a virtue, blind adherence to it can be limiting. Ralph Waldo Emerson’s quote, highlighted by Cialdini in “Influence,” serves as a poignant reminder that unwavering consistency, especially in the face of new information or changing circumstances, can be detrimental. It’s essential to strike a balance between staying true to one’s commitments and being adaptable when the situation demands.</p><p>Salespeople might encounter customers who are loyal to a particular brand or product, even if there are better alternatives available. This loyalty, stemming from a desire for consistency, can sometimes work against the customer’s best interests. A skilled salesperson can navigate this by acknowledging the customer’s loyalty and then presenting new information or options that might better serve the customer’s needs.</p><p>For instance, a customer might be loyal to a particular brand of smartphone because they’ve always used it. A salesperson could acknowledge this loyalty and then introduce a newer model or a different brand that offers features better suited to the customer’s current needs. By framing it as an evolution or upgrade, the salesperson can help the customer break free from blind consistency while still feeling true to their preferences.</p><p>For consumers, it’s essential to recognize when loyalty or consistency might be holding them back. Being open to new information and willing to adapt can lead to better choices and outcomes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rFBAMiCx4EdMhrDUhtBSeA.jpeg" /><figcaption>Image: Author, Goblin Valley — Utah</figcaption></figure><h3>Social Proof</h3><p>Humans are inherently social creatures, often looking to others for cues on how to behave or what to believe. This tendency, known as social proof, is a powerful influencer of human behavior. In “Influence,” Cialdini discusses how we often rely on the actions and decisions of others, especially when faced with uncertainty or ambiguity. If many people are doing something or believe in something, we’re more likely to perceive it as correct or desirable.</p><p>The use of testimonials, reviews, and endorsements is a classic application of the social proof principle. When potential customers see positive reviews or testimonials from other users, they’re more likely to trust the product or service. This is why platforms like Amazon or TripAdvisor, which heavily feature user reviews, are so influential in shaping purchasing decisions.</p><p>Another example is the “best-seller” tag on products. When shoppers see that a particular item is a best-seller, they might perceive it as more valuable or reliable, thinking, “If so many people are buying it, it must be good.”</p><p>In physical stores, a long line or crowd often acts as social proof. For example, I once found myself buying a Japanese cheesecake from Uncle Tetsu here in Toronto simply because I saw a long line outside the shop as I was passing by, even though I had never heard of Japanese cheesecake before. Similarly, a crowded restaurant tends to draw in more customers, as the crowd suggests the restaurant’s popularity and, by extension, its quality.</p><p>For consumers, while social proof can be a helpful indicator, it’s essential to also rely on individual research and judgment. Just because something is popular doesn’t always mean it’s the best choice for every individual.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*URtSuB_INKyCjQHbniyscw.jpeg" /><figcaption>Image: Author, Capitol Reef National Park — Utah</figcaption></figure><h3>The Risk of Social Proof</h3><p>While social proof can be a valuable guide, it also comes with inherent risks. Cialdini emphasizes in “Influence” that the more people who believe an idea or partake in an action, the more “correct” it appears, even if it lacks logical or factual basis. This herd mentality can lead to widespread misconceptions, biases, or even harmful behaviors.</p><p>Practical Use in Sales: The rise of cryptocurrencies and their endorsements by celebrities is a prime example of the risk of social proof. Many people were lured into buying certain cryptocurrencies simply because well-known celebrities were supporting them. For instance, coins like Dogecoin received attention due to endorsements from figures like Elon Musk, while others like Centra Tech had the backing of celebrities like Floyd Mayweather and DJ Khaled. However, not all these endorsements were based on the coin’s intrinsic value, leading many to invest without proper research and understanding.</p><p>Similarly, in the realm of stocks, the meme stock frenzy, driven by social media platforms and forums, saw stocks like GameStop skyrocketing in value. I recall getting caught up in this mania, buying these stocks simply because it seemed like everyone else was doing it and partially due to FOMO. Unfortunately, without proper research and understanding, I ended up losing money when the bubble burst.</p><p>For consumers and investors, it’s essential to differentiate between genuine value and popularity driven by mere social proof. While it’s natural to be influenced by trends or popular opinion, it’s equally crucial to conduct one’s own research and make informed decisions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Gofwnm_X1J6xATaNuhHLKQ.jpeg" /><figcaption>Image: Author, Valley of the Five Lakes, Jasper</figcaption></figure><h3>Automatic Pilot</h3><p>In our fast-paced world, where information overload is a constant challenge, we often rely on automatic responses or “automatic pilot” modes to navigate daily decisions. While these shortcuts can be efficient, Cialdini warns in “Influence” that they should not be trusted blindly. Over-reliance on automatic responses can lead to oversight and errors in judgment.</p><p>One area where the “automatic pilot” mode is evident is in subscription services. Many businesses offer products or services on a subscription basis, with automatic renewals. Consumers might sign up initially, and then, due to the convenience of automatic billing, they continue with the service without actively reassessing its value or considering alternatives.</p><p>Another example is the use of default options in product configurations or software setups. Companies might set particular features or add-ons as the default choice, knowing that many consumers will stick with the default due to the ease of the automatic choice, even if it’s not the best or most cost-effective option for them.</p><p>For consumers, it’s essential to periodically step out of “automatic pilot” mode, especially when it comes to financial commitments or significant decisions. Taking the time to review, reassess, and make conscious choices can lead to better outcomes and greater satisfaction.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Z-vDCG7TXFB8LwSrMU4R6g.jpeg" /><figcaption>Image: Author, Niagra on the Lake</figcaption></figure><h3>Scarcity</h3><p>The principle of scarcity is deeply rooted in the fundamental law of supply and demand. However, its influence extends beyond mere economics, reaching into the very core of human psychology. Cialdini’s “Influence” underscores how opportunities or items appear more valuable to us when their availability is limited. This fear of missing out (FOMO) can compel individuals to act hastily, often without comprehensive consideration.</p><p>The explosion of interest in Non-Fungible Tokens (NFTs) is a testament to the power of scarcity. Digital artists and creators release a limited number of tokens associated with their artwork, making them unique and, by extension, valuable. The limited availability and the unique nature of each NFT drive demand, with some selling for astronomical prices.</p><p>The NFT trend has attracted many individuals who fear missing out (FOMO), even if they don&#39;t entirely understand the worth or technology behind it. This has resulted in cases where people have paid exorbitant amounts of money for NFTs, such as a picture of a <a href="https://www.cnbc.com/2021/08/23/people-are-paying-millions-of-dollars-for-digital-pictures-of-rocks.html">rock</a> worth $1.3 million. It begs the question, is it worth investing in a picture of a rock when you could potentially purchase a mansion in <a href="https://www.glhomes.com/lotus-palm/luxury-residences-boca?keyword=boca%20raton%20house%20prices&amp;utm_source=google&amp;utm_medium=cpc&amp;utm_campaign=lotuspalm_boca&amp;gad=1&amp;gclid=CjwKCAjwseSoBhBXEiwA9iZtxnfAlE4gHZzW-p7hKsVkR80aaUAkvNnkGY_6LbhQHJQ5SNFIMwc3wBoC7TUQAvD_BwE">Florida</a> for the same amount?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Q8FUGxG2PHifItpl" /><figcaption>Clipart of a rock sold for $1.3M</figcaption></figure><p>Similarly, the world of cryptocurrencies has seen coins like Dogecoin, initially started as a joke, surge in value. The limited supply of these coins, combined with viral social media trends and celebrity endorsements, has created a sense of scarcity, driving up demand and prices.</p><p>Traditional sales tactics, such as limited-time offers or flash sales, also employ the scarcity principle. For instance, retailers might advertise a product with phrases like “only a few left in stock” or provide a special discount available “for the next 24 hours only.” Such tactics instill a sense of urgency, prompting consumers to act before the opportunity slips away.</p><p>While scarcity can sometimes indicate genuine value, consumers should remain vigilant against artificial scarcity tactics. It’s crucial to discern between authentic limited availability and marketing ploys designed to evoke a false sense of urgency.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fHh2PZ-tOW9bxE4C2MQ-LQ.jpeg" /><figcaption>Image: Author, Crawford Lake, Ontario</figcaption></figure><h3>Shortcuts</h3><p>Our brains are wired to seek efficiency, often relying on mental shortcuts or heuristics to navigate the complexities of daily life. These shortcuts, while invaluable in many situations, can also lead us astray. Cialdini’s “Influence” underscores the importance of these biases and tendencies, emphasizing that while they serve a purpose, it’s crucial to occasionally pause and question them.</p><p>One common sales tactic that leverages our reliance on shortcuts is the use of brand reputation. Well-known brands often command higher prices, not necessarily because their products are superior, but because consumers recognize the brand and associate it with quality. This brand recognition acts as a mental shortcut, leading consumers to trust the product without delving into detailed comparisons.</p><p>Another example is the use of social proof, as discussed earlier. Seeing many positive reviews or an analyst’s (or an agency&#39;s) endorsement can act as a shortcut, leading consumers to trust a product or service without further research.</p><p>While these shortcuts can be helpful, they can also lead to oversight or missed opportunities. For consumers, it’s essential to strike a balance between relying on these mental shortcuts and taking the time to make informed, deliberate decisions, especially in significant or unfamiliar situations.</p><h3>Conclusion</h3><p>In conclusion, understanding these principles of influence and the underlying psychological triggers can empower individuals to navigate the world with greater awareness and intention. Whether you’re a consumer, a salesperson, or simply someone interested in human behavior, recognizing these patterns can lead to better decisions and more meaningful interactions.</p><p>I hope you enjoyed reading this blog as much as I enjoyed writing it. I would love to read your feedback in the comments section. Your engagement motivates me to write more.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f0ff2c488f9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Demystifying Federation in Data Mesh]]></title>
            <link>https://medium.com/@ravidawar/demystifying-federation-in-data-mesh-6b7ce5bccf0b?source=rss-d69ffa1c9be8------2</link>
            <guid isPermaLink="false">https://medium.com/p/6b7ce5bccf0b</guid>
            <category><![CDATA[data-governance]]></category>
            <category><![CDATA[data]]></category>
            <category><![CDATA[data-mesh]]></category>
            <category><![CDATA[data-analytics]]></category>
            <category><![CDATA[governance]]></category>
            <dc:creator><![CDATA[Ravi Dawar]]></dc:creator>
            <pubDate>Sat, 23 Sep 2023 20:53:54 GMT</pubDate>
            <atom:updated>2023-09-23T20:53:54.245Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*cX_MFkiTzYY-pnUg.jpg" /></figure><p>In the digital age, data has emerged as the lifeblood of organizations, driving decisions, innovations, and strategies. Yet, as data volumes surge and complexities mount, traditional data governance models are being pushed to their limits. Enter the Data Mesh paradigm — a transformative approach that promises to reshape the way organizations manage, process, and leverage their data. This article delves into the heart of this paradigm, exploring the principle of “federation” and its pivotal role in redefining data governance for the modern era.</p><h3>The Essence of Federation in Data Mesh</h3><p>Before discussing federation in Data Mesh, let&#39;s see how it&#39;s defined by Urban Dictionary:</p><blockquote><a href="https://www.urbandictionary.com/define.php?term=federation">federation</a></blockquote><blockquote>An organization formed by <a href="https://www.urbandictionary.com/define.php?term=merging"><strong>merging</strong></a> many groups or a <a href="https://www.urbandictionary.com/define.php?term=union"><strong>union</strong></a> of political organizations. Having many provinces or areas join but have <a href="https://www.urbandictionary.com/define.php?term=management"><strong>management</strong></a> of themselves</blockquote><blockquote><a href="https://www.urbandictionary.com/define.php?term=Russia"><strong><em>Russia</em></strong></a><em> is a federation</em></blockquote><blockquote><em>A federation would be like America, if all of </em><a href="https://www.urbandictionary.com/define.php?term=the%20states"><strong><em>the states</em></strong></a><em> </em><a href="https://www.urbandictionary.com/define.php?term=governed"><strong><em>governed</em></strong></a><em> themselves</em></blockquote><p>At its core, “federation” in the Data Mesh context signifies a departure from centralized data governance towards a distributed model. Instead of a monolithic system or a singular authority governing all data, the mantle of responsibility and authority is distributed across various teams or units.</p><h4>Federation: A Tangible Analogy</h4><p>Imagine a global corporation with branches across continents. Instead of one HR department dictating policies, each branch has its localized HR unit. While they operate independently, they align with the company’s overarching HR guidelines. This mirrors the Data Mesh approach, where domains maintain their autonomy but align with global data governance standards.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1021/1*O8a4qzf4K9CCL1AWEikrBQ.png" /></figure><h3>Why Centralization Falls Short</h3><p>The traditional centralized approach to data governance, while streamlined, has its pitfalls:</p><h4>Bottlenecks: A centralized model can lead to decision-making lags</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/0*xQPh9EVkNn3flaGF.jpg" /></figure><p>In a centralized data governance model, all data-related decisions, approvals, and changes must go through a central authority or team. This can create delays, especially in large organizations where numerous teams are vying for the attention of this central authority.</p><p>Imagine a global e-commerce company with a centralized data team responsible for all data-related tasks. The marketing team wants to launch a new campaign and needs specific data analytics to target the right audience. At the same time, the sales team needs data to forecast the next quarter’s sales. Both teams send their requests to the central data team. Due to the volume of requests, it takes weeks for the data team to process and fulfill them. By the time the marketing team gets their analytics, the optimal window for their campaign might have passed, leading to missed opportunities.</p><h4>Inflexibility: A one-size-fits-all approach often overlooks domain-specific needs</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/0*wErNm9SjIIQzM30v.jpg" /></figure><p>Centralized models often adopt standardized processes and tools for all teams and domains. While standardization has its merits, it can sometimes fail to address the unique needs and challenges of specific domains.</p><p>Consider a healthcare provider with various departments like cardiology, neurology, and pediatrics. If the central IT department provides the same data analytics tool for all departments, it might not cater to the specific needs of each. The cardiology department might need detailed ECG data analytics, while the pediatrics department might require growth chart analytics. A one-size-fits-all tool might not provide the depth and customization each department requires, leading to inefficiencies and suboptimal patient care.</p><h4>Vulnerability: Centralized systems can become single points of failure</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/0*trYq7JjD2HH6xud6.jpg" /></figure><p>When all data processes, storage, and governance are centralized, any issue or failure in the central system can have cascading effects throughout the organization.</p><p>Imagine a financial institution that stores all its customer data in a centralized database. If this database faces an outage or a security breach, all services relying on customer data, such as online banking, loan processing, and customer support, could be disrupted. This not only affects business operations but can also damage the institution’s reputation and customer trust.</p><h3>The Promise of the Federated Approach</h3><p>Embracing federation within Data Mesh addresses these challenges:</p><h4>Decentralization: By granting teams autonomy over their data, decisions are swift and tailored to domain-specific requirements</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ytg3P_hyMZsXlSoF.jpg" /></figure><p>In a federated approach, individual teams or domains have the autonomy to manage, process, and make decisions regarding their specific data sets. This decentralization allows for faster decision-making and ensures that solutions are tailored to the unique needs of each domain.</p><p>Consider a global tech company with various product lines, including smartphones, smart home devices, and cloud services. In a decentralized model, each product line has its own data team. The smartphone team can quickly analyze user feedback to roll out software updates, while the cloud services team can independently optimize server allocations based on usage data. This autonomy allows each team to swiftly address their specific challenges without waiting for approvals or getting entangled in company-wide data processes.</p><h4>Computational Governance: Embedding policies directly into the mesh’s nodes ensures uniform application and minimizes human oversight.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/525/0*Xqp3rVno9H_MZswx.jpg" /></figure><p>Computational governance involves automating data governance policies and embedding them directly into the data infrastructure. This ensures that data policies are consistently applied across all domains, reducing the need for manual checks and interventions.</p><p>Imagine a financial institution that needs to adhere to strict data privacy regulations. Instead of relying on manual audits and checks, the institution adopts computational governance tools (such as Immuta) that automatically enforce data encryption, anonymization, and access controls. When a new dataset is added to the mesh, these policies are instantly applied, ensuring compliance without human intervention. This not only saves time but also reduces the risk of human errors leading to regulatory breaches.</p><h4>Scalability: As organizations expand, the federated model scales seamlessly</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*5WoublpDn1wwQvE_.jpeg" /></figure><p>The federated model is designed to accommodate growth. As organizations add more data sources, teams, or domains, the federated architecture can easily integrate these additions without overhauling the entire system.</p><p>Consider an e-commerce platform that starts with a single product category but has ambitions to expand into multiple categories, regions, and even offer additional services like digital content streaming. In a federated data model, as the platform adds new product categories or enters new regions, new data nodes can be seamlessly integrated into the existing mesh. Each new category or region can have its dedicated data team, managing its data products, while still adhering to the overarching data governance policies of the platform. This ensures that the platform can scale its offerings without facing data bottlenecks or complexities.</p><h3>Practical Steps to Achieve Federation in Data Mesh</h3><p>Transitioning to a federated model requires a blend of organizational restructuring and technical adaptations:</p><h4>Organizational Overhaul:</h4><ul><li><strong>Domain Delineation</strong>: Start by defining and demarcating business domains. Understand their unique needs, challenges, and strengths. A large e-commerce company might identify domains like “User Experience,” “Inventory Management,” “Order Processing,” and “Customer Support.” Each domain has its unique data sets and challenges.</li><li><strong>Empowerment &amp; Autonomy</strong>: Grant domain teams the authority and tools to manage their data products. This autonomy fosters innovation and agility. The “Inventory Management” domain might be given the freedom to choose its data storage solution, be it a relational database or a NoSQL store, based on its specific requirements like volume, velocity, and variety of data.</li><li><strong>Designate Data Stewards</strong>: Appoint data product owners within domains. These stewards ensure data quality, reliability, and adherence to governance policies. In the “Customer Support” domain, a data product owner might be responsible for ensuring that customer interaction data is accurate, up-to-date, and compliant with privacy regulations.</li><li><strong>Skill Augmentation</strong>: Regularly equip teams with training in emerging data governance practices, quality assurance techniques, and other pertinent areas. Employees working in the &quot;Order Processing&quot; department may receive training in processing real-time data to effectively analyze streaming order data for insights and optimizations. They will also be trained to follow data compliance policies that apply to the company, such as GDPR, CCPA, etc.</li></ul><h4>Technical Blueprint:</h4><ul><li><strong>Uniform Tooling</strong>: Equip teams with standardized tools and platforms. This ensures consistency, even as teams operate with autonomy. The company might adopt Apache Airflow as a standardized tool for data orchestration and ETL processes across all domains, ensuring that data workflows are consistent and manageable.</li><li><strong>Automate Governance</strong>: Integrate state-of-the-art computational governance tools to embed policies directly into the data infrastructure. The “User Experience” domain might use tools like Great Expectations or Monte Carlo to embed automated data quality checks, ensuring that user interaction data meets predefined quality standards before it’s used in analytics.</li><li><strong>Prioritize Interoperability</strong>: Adopt and enforce data standards that ensure seamless integration of data products across domains. All domains might be required to expose their data products through RESTful APIs, ensuring that data can be easily accessed and integrated across the company, regardless of the underlying storage solution.</li><li><strong>Centralized Discovery</strong>: Implement a unified data catalog to facilitate the discovery of data products. While data ownership is decentralized, discovery remains centralized for ease of access. The company might use a tool like Atlan to create a centralized data catalog for all its data products and data contracts. While the “Order Processing” domain manages its data autonomously, its data products are listed in this central catalog, making it easy for other domains to discover and access them.</li><li><strong>Quality Assurance</strong>: Integrate cutting-edge automated monitoring tools to uphold and exceed data quality standards. The “Inventory Management” domain might integrate tools like Great Expectations to automatically test and validate the quality of inventory data, ensuring that stock levels, product details, and supplier information are accurate.</li><li><strong>Feedback Loops</strong>: Establish robust channels for teams to provide feedback. This iterative feedback ensures continuous refinement and adaptation. The “Customer Support” domain might set up a monthly feedback session with data consumers, gathering insights on data usability, gaps, and potential improvements. This feedback is then used to refine data products and governance policies.</li></ul><h3>Wrapping Up</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/974/0*BA_qMLL_P4ClCYKK.png" /></figure><p>In the vast landscape of data architecture, the emergence of the Data Mesh paradigm and the principle of federation offers a promising avenue for organizations to navigate their data challenges.</p><p>As we’ve explored, the centralized model, while historically prevalent, has inherent limitations that can stifle an organization’s agility, flexibility, and resilience. The federated approach of Data Mesh, on the other hand, provides a harmonious blend of autonomy and standardization, ensuring that data governance is both efficient and effective. By decentralizing ownership, automating governance, and ensuring scalability, organizations can harness the true potential of their data assets.</p><p>As we move forward in this data-driven era, embracing federation within Data Mesh is not just a strategic choice; it’s a visionary step towards building robust, adaptable, and future-ready data infrastructures.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6b7ce5bccf0b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Working Backwards: Key Learnings]]></title>
            <link>https://medium.com/swlh/working-backwards-key-learnings-7113d7ea51b?source=rss-d69ffa1c9be8------2</link>
            <guid isPermaLink="false">https://medium.com/p/7113d7ea51b</guid>
            <dc:creator><![CDATA[Ravi Dawar]]></dc:creator>
            <pubDate>Mon, 03 Apr 2023 11:55:58 GMT</pubDate>
            <atom:updated>2023-04-03T20:33:34.729Z</atom:updated>
            <content:encoded><![CDATA[<p>“Most of Amazon’s major products and initiatives since 2004 have one very Amazonian thing in common — they were created through a process called Working Backwards.”<br>― <strong>Colin Bryar, Working Backwards: Insights, Stories, and Secrets from Inside Amazon</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vFchDIBmZkeq0wNWiKPjSg.jpeg" /></figure><p>To quote the celebrated scientist and philosopher Albert Einstein, “If I had an hour to solve a problem, I’d spend 55 minutes thinking about the problem and 5 minutes thinking about solutions.” This quote resonates with me now more than ever since joining Atlan, an innovative company that epitomizes the problem-first solution-second approach. This philosophy is ingrained in Atlan’s DNA, and it was evident from my first few days of orientation. As I listened to colleagues toss this phrase around, I struggled to understand what it truly meant. It wasn’t until I experienced the ethos firsthand that I grasped its significance.</p><p>For instance, one day, I started a Slack thread requesting a new feature from the product team. However, I had neglected to explain the “why” behind it and the problem the feature would solve for our customers. Subsequently, I received a gentle reprimand from the team for not following the problem-first solution-second approach. This incident drove home the importance of understanding the problem and customer experience before proposing solutions.</p><p>At Atlan, we believe that this approach is integral to our growth and success. It ensures that resources are deployed to solve the right problems and that solutions are effective and valuable.</p><p>In fact, prioritizing the problem-first solution-second approach has been instrumental in helping us determine which features to focus on, given the multitude of requests that we receive from our customers. By taking the time to understand the problem, we can tailor solutions that effectively address our customers’ needs, leading to their satisfaction and retention. This is especially crucial in a hyper-competitive environment, as you must prioritize resources and ensure that the most significant problems are addressed first.</p><p>While reading “Working Backwards,” I couldn’t help but draw parallels between Amazon’s operating principles and how we operate at Atlan. For instance, Amazon’s philosophy of working backward aligns with our problem-first, solution-second approach. Similarly, Amazon’s approach to conducting meetings is similar to how we structure our own meetings, where the first 20 minutes are devoted to silence and reading the written problem statements.</p><p>Therefore, I am excited to write this blog post to share some of the key lessons I gleaned from “Working Backwards,” a book that offers insights into the inner workings of Amazon. If you are interested in understanding why putting the problem first and the solution second is critical to a company’s success, as well as many other key takeaways from this book, then please keep reading.</p><h4>Leadership Principles</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*sOujdpZ18eX1TSxe" /><figcaption>Photo by <a href="https://unsplash.com/@jeshoots?utm_source=medium&amp;utm_medium=referral">JESHOOTS.COM</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>As Amazon grew from a few hundred people to hundreds of thousands, it established its Leadership Principles to encapsulate its distinct company culture and guarantee that all employees, irrespective of their role or level within the organization, embody and adhere to that culture. These principles offer guidance for decision-making, hiring, and employee advancement, ensuring that Amazon maintains its customer-centric focus, entrepreneurial spirit, and bias for action despite its growth and diversification.</p><p>Leadership principles are essential for any company as they provide a framework for decision-making and behavior that aligns with the company’s vision and values. By formalizing these principles, companies can communicate them clearly and implement them consistently across the organization, even in the absence of the CEO. This promotes desirable behavior and creates enduring value for shareholders and stakeholders. Moreover, by incorporating these principles into core processes such as hiring, performance management, and career development, companies can ensure that they are not just theoretical concepts but actual practices embraced in all aspects of the organization. This enables quicker and more effective decision-making and fosters a culture of accountability and trust.</p><p>Overall, the leadership principles are a critical component of Amazon’s success and offer valuable lessons for leaders in any industry.</p><h4>Hiring</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*UAz2XORYGlKqXVqU" /><figcaption>Photo by <a href="https://unsplash.com/@wocintechchat?utm_source=medium&amp;utm_medium=referral">Christina @ wocintechchat.com</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Every bad hiring decision comes at a cost. In the best cases, it quickly becomes apparent that the new hire is not a good fit, and the person leaves shortly after joining. Even then, the short-term cost can be substantial: the position may go unstaffed for longer than you’d like, the interview team will have wasted their time, and good candidates may have been turned away in the interim. In the worst case, a bad hire stays with the company while making errors in judgment that bring a host of possible bad outcomes. Along the way, a bad hire is a weak link who can bring the entire team down to their standards, a long-term cost that lingers long after they leave the company.</p><p>The hiring process at Amazon.com is a critical and challenging task that requires significant resources and a well-defined process. Amazon’s hiring process is simple to understand, easily taught to new people, does not depend on scarce resources, and has a feedback loop for continual improvement. The feedback loop is essential for coaching interviewers and improving the hiring process continually.</p><p>One of the most intriguing aspects of the hiring process at Amazon.com is the 14 Leadership Principles. These principles are an excellent way to assess candidates and maintain the corporate culture. However, hiring is a complicated task that requires a good process, metrics, and a team of experts known as Bar Raisers. The Bar Raisers are voluntary experts who are trained to minimize personal biases and maximize data-based hiring decisions.</p><p>The Amazon Bar Raiser process seeks to eliminate individual biases by preparing behavior-based interview questions in advance, insisting on written transcripts of the interview, conducting debriefs, basing debriefs on the interview transcripts, and making assessments based on well-understood principles. Having a diverse group of people involved in the process reduces the chance of unconscious bias creeping in.</p><p>The Amazon hiring process has a flywheel effect. The longer it is used, the more dividends it pays. Ideally, the bar is set higher and higher, attracting the best candidates and ensuring the growth and expansion of Amazon across the globe. The Bar Raiser process reinforces a key Amazon leadership principle: Hire and Develop the Best.</p><p>In conclusion, the hiring process at Amazon.com is an intricate and challenging task that requires a well-defined process, metrics, and a team of experts. The Bar Raiser process seeks to minimize personal biases and maximize data-based hiring decisions. The 14 Leadership Principles are an excellent way to assess candidates and maintain the corporate culture.</p><h4>Organizational Structure</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*t1UGvl471qdltjSz" /><figcaption>Photo by <a href="https://unsplash.com/@kaleidico?utm_source=medium&amp;utm_medium=referral">Kaleidico</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><blockquote>“The best way to fail at inventing something is by making it somebody’s part-time job.”</blockquote><p>One of the key factors that enabled Amazon to maintain its innovation and agility despite exponential growth in its business is an innovative approach to organizational structure through a concept called “single-threaded leadership,” which entails a single individual leading a team focused on one initiative with minimal dependencies on other teams.</p><p>Amazon’s “two-pizza team” approach was Jeff Bezos’s initial solution to the problem of slowing innovation due to coordination challenges that came with the company’s growth. The solution was to create smaller teams that could operate autonomously, coordinating loosely only when necessary. These teams had clear ownership of specific features, allowing them to drive innovation with minimum reliance or impact on others. Two-pizza teams had another powerful benefit: they were better at course correction — detecting and fixing mistakes as they arose.</p><p>While it was initially believed that smaller teams were the key to success, the STL model extends the basic two-pizza team concept by creating “separable, single-threaded teams” being run by “single-threaded leaders” (STLs). Such teams have clear, unambiguous ownership of specific features or functionality and can drive innovations with minimal reliance or impact upon others. An STL’s focus is on one initiative. They work on only that initiative, with the appropriate skills, authority, and experience to manage a team whose sole focus is to get the job done.</p><p>The STL approach, which requires fewer organizational dependencies than conventional teams, has enabled Amazon to stay nimble and adapt quickly to change as they expand their business.</p><p>Instead of coordinating better, Amazon has eliminated communication, encouraging their builders to build while minimizing the dependencies on other teams. The book highlights the importance of having an unambiguous ownership structure of projects or initiatives, as it enables teams to operate autonomously with minimal reliance on others.</p><h4>Six-Page Narratives</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*60JrkfjED10B-FCr" /><figcaption>Photo by <a href="https://unsplash.com/fr/@noemimk?utm_source=medium&amp;utm_medium=referral">Noémi Macavei-Katócz</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><blockquote>“As analysis becomes more causal, multivariate, comparative, evidence-based, and resolution-intense, the bullet list becomes more damaging.“— Edward Tufte</blockquote><p>One of the key takeaways from the book is the importance of using six-page narratives as a communication tool at Amazon. Narratives are more information-dense than slides, allowing for efficient communication of complex ideas. Narratives remove the natural variance in speaking skills and graphic design expertise that play a significant role in the success of presentations. Anyone can read and edit the document, making it infinitely portable and scalable. Narratives also deliver much more information in a much shorter time, allowing for nonlinear, interconnected arguments to unfold naturally.</p><p>The six-page narrative meeting starts with the first third of the meeting spent on silent reading, followed by feedback from everyone in the room and then questions and discussions. The purpose of a meeting is to force presenters to think deeply about what they are presenting, enable the audience to understand the idea, and provide helpful feedback. Writing narratives is an iterative process that requires practice from writers and feedback from audience members over many cycles.</p><blockquote>“PowerPoint becomes ugly and inaccurate because our thoughts are foolish, but the slovenliness of PowerPoint makes it easier for us to have foolish thoughts.“ — Edward Tufte</blockquote><p>Narratives are designed to increase the quantity and quality of effective organizational communication by order of magnitude over traditional methods. Creating solid narratives requires hard work and some risk-taking. Good ones take many days to write. The team writing the narrative must circulate and review it many times and take the vulnerable step of saying to their management and peers, “Here’s our best effort. Tell us where we fell short.” This openness imposes duties and expectations upon the audience as well. They must objectively and thoroughly evaluate the idea and suggest ways to improve it.</p><p>In conclusion, using six-page narratives for effective communication is a crucial practice at Amazon. Creating such solid narratives requires hard work and some risk-taking, but they ultimately shape sharper, more complete analyses. The change from PowerPoint to narratives strengthens not just the pitch but the product and the company as well.</p><h4>Working Backwards</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*-QCW354bZVZ30_Jg" /><figcaption>Photo by <a href="https://unsplash.com/@cdd20?utm_source=medium&amp;utm_medium=referral">愚木混株 cdd20</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><blockquote>“Start with the customer and work backwards — harder than it sounds, but a clear path to innovating and delighting customers.”</blockquote><p>Amazon’s key to success lies in its Working Backwards process, which has been used to create most of the company’s major products and initiatives since 2004. The process starts by defining the customer problem and experience and working iteratively backwards until the team achieves clarity of thought around what to build. The PR/FAQ process is the principal tool for this approach, and it involves writing a press release and a frequently asked questions document before developing the product or service.</p><p>This approach might seem counterintuitive at first as, traditionally, companies work forward, coming up with a product that is great for the company and trying to shoehorn it into meeting unmet customer needs. However, this approach can lead to undesirable results. The Working Backwards process shifts the focus from an internal/company perspective to a customer perspective, where executives ask, “So what?” if the press release doesn’t describe a product that is meaningfully better than what is already out there.</p><p>The PR/FAQ format reinforces a detailed, data-oriented, and fact-based method of decision-making. It creates a framework for rapidly iterating and incorporating feedback, enabling the team to focus on the customer while enforcing due diligence on the business/product/tech development side. The format also has the benefits of being accessible to anyone in the organization, a complete record of the idea that can be easily passed along, reviewed, and edited, and enabling a richer narrative and higher information density than a presentation.</p><p>The PR/FAQ has three parts: the PR, which forces a perspective shift to the customer; the external FAQ, which continues to force a customer perspective; and the internal FAQ, which addresses the various risks and challenges from internal operations, technical, product, marketing, legal, business development, and financial points of view. Once an organization learns to use this valuable tool, it can be used to develop not only ideas and initiatives but also products and services.</p><h4>Metrics: Manage Your Inputs, Not Your Outputs</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*hxTrHh3cxsDu1oWi" /><figcaption>Photo by <a href="https://unsplash.com/@austindistel?utm_source=medium&amp;utm_medium=referral">Austin Distel</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><blockquote>“Before you can improve any system … you must understand how the inputs affect the outputs of the system. You must be able to change the inputs (and possibly the system) in order to achieve the desired results. This will require a sustained effort, constancy of purpose, and an environment where continual improvement is the operating philosophy.”— Donald Wheeler</blockquote><p>The subject of metrics is particularly close to my heart, as a significant portion of my professional career has been devoted to data and analytics. Throughout my career, I have assisted numerous organizations in leveraging data to identify, quantify, and scrutinize metrics for the purpose of empowering data-driven decision-making.</p><p>Amazon’s way of measuring metrics and using those to make effective business decisions is based on the Six Sigma DMAIC (Define-Measure-Analyze-Improve-Control) process. This framework helps Amazon in selecting and defining the metrics that it wants to measure, separating signals from noise in data, and identifying and addressing root causes.</p><p>Amazon’s focus is on controllable input metrics, which are the drivers that, when managed well, can lead to profitable growth. Input metrics track things like selection, price, or convenience — factors that Amazon can control through actions such as adding items to the catalog, lowering costs so prices can be lowered, or positioning inventory to facilitate faster delivery to customers. Output metrics, on the other hand, cannot be directly manipulated sustainably over the long term.</p><p>The Weekly Business Review meetings are essential for evaluating the metrics and using them to detect anomalies/bad trends in the operation of the business. Anecdotes and exception reporting are woven into the deck, which enables leaders to audit at scale in a very detailed way.</p><blockquote>“We focus on variances and don’t waste time on the expected.”</blockquote><p>Amazon places a high value on the time of attendees at weekly business review (WBR) meetings. Instead of discussing expected results, the company prioritizes variances in order to make these meetings more efficient. While team members may be inclined to discuss their successes, Amazon recognizes the importance of staying on track during these meetings. If things are operating normally, Amazon acknowledges it and moves on quickly. The focus of the meeting is to discuss exceptions and what is being done about them. The company believes that the current state does not require elaboration and aims to address only areas that require attention. By concentrating on variances, Amazon ensures that the WBR meetings are productive and effective for all participants.</p><p>Finally, the use of anecdotes and exception reporting is crucial in complementing the metrics. It provides a reality check that helps to expose flaws or oversights in the metrics. Amazon’s approach to metrics is unique and can be helpful for small and large businesses alike. By using the DMAIC framework and focusing on controllable input metrics, Amazon is able to make effective business decisions and achieve profitable growth.</p><h4>Long Term Thinking</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*nuDlyrYgnMEWFoEU" /><figcaption>Photo by <a href="https://unsplash.com/@sunriseking?utm_source=medium&amp;utm_medium=referral">Sunrise King</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><blockquote>AMAZON SVP (<em>aggressively skeptical)</em>: Exactly how much more money are you willing to invest in Kindle?</blockquote><blockquote>JEFF (<em>turns calmly to CFO, smiling, shrugging his shoulders</em>): How much money do we have?</blockquote><p>Amazon’s approach to long-term thinking is one of the key reasons for its success. This mindset requires a lot of patience, perseverance, and willingness to learn and improve over time. Jeff Bezos, the founder of Amazon, emphasized the importance of taking a long-term approach to invention and customer obsession. He believed that this approach enabled Amazon to do new things that they couldn’t have contemplated before.</p><p>Amazon’s long-term thinking is closely tied to its customer obsession. The company’s culture revolves around identifying a customer need and developing the conviction that the need is meaningful and durable. Amazon then works patiently for multiple years to deliver a solution to this need, constantly learning and improving along the way. This mindset is in stark contrast to many other companies that give up on initiatives if they don’t produce the desired returns within a few years.</p><p>At Amazon, patience is key. The company will stick with an initiative for five, six, or even seven years, constantly learning and improving until it gains momentum and acceptance. Amazon’s approach to long-term thinking leverages its existing abilities and allows it to do new things that other companies wouldn’t have the patience for. By deploying the practices to drive execution and using the Leadership Principles to guide the way, Amazon has been able to stay true to its long-term approach to invention and customer obsession, which has been a key driver of its success.</p><h4>Failure is a Feature, not a Bug</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*7aLNFkr-3bbiLMgh" /><figcaption>Photo by <a href="https://unsplash.com/@brett_jordan?utm_source=medium&amp;utm_medium=referral">Brett Jordan</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><blockquote>In an interview after the Fire Phone was withdrawn, Jeff Bezos was asked about its failure and answered, “If you think that’s a big failure, we’re working on much bigger failures right now — and I am not kidding.</blockquote><p>Another key takeaway from the book is that failure is a feature, not a bug. This means that failure is an inevitable part of the innovation process and should be embraced as a valuable learning opportunity rather than feared as something to be avoided at all costs. This is a perspective that Amazon has fully embraced, as evidenced by Jeff Bezos’ famous quote that “failure and invention are inseparable twins.”</p><p>For Amazon, failure is not only accepted but also celebrated, as it is seen as an important step towards eventual success. This mindset is particularly evident in the company’s less successful inventions, such as the Fire Phone, which are still viewed as valuable learning experiences. In fact, Jeff Bezos has stated that the company is currently working on “much bigger failures” than the Fire Phone.</p><p>This approach to failure is particularly important for large organizations that want to foster a culture of innovation. Often, these organizations may embrace the idea of the invention but are unwilling to suffer the string of failed experiments necessary to get there. By seeing failure as a feature, these organizations can create an environment where experimentation is encouraged and where failure is seen as a natural and necessary part of the innovation process. Ultimately, this can lead to more successful inventions that truly move the needle.</p><h4>Speed of Decision-Making Matters</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*35z4avVs_mp0yi19" /><figcaption>Photo by <a href="https://unsplash.com/es/@chrisliverani?utm_source=medium&amp;utm_medium=referral">Chris Liverani</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Yet another key takeaway from the book is the importance of speed in decision-making. As a company grows larger, it can become more difficult to maintain the same level of innovation, experimentation, and risk-taking that characterized its early days. Big companies often develop a decision-making process that is designed to manage one-way door decisions — those that are consequential and irreversible. This process tends to be slow, cumbersome, and risk-averse, and it can stifle innovation and impair idea generation.</p><p>Amazon, on the other hand, has always embraced a culture of experimentation and innovation, even as it has grown into one of the largest companies in the world. Jeff Bezos famously described this culture as a “Day 1” mindset characterized by continuous learning, risk-taking, and a willingness to embrace change. Amazon recognizes that not all decisions are equal — some are Type 1, one-way door decisions that require careful consideration and consultation, while others are Type 2, two-way door decisions that can be made quickly by high-judgment individuals or small groups.</p><p>Amazon’s approach to decision-making is focused on speed, nimbleness, and a risk-acceptance mentality. This allows the company to move quickly, experiment with new ideas, and adapt to changing circumstances. Amazon’s success is a testament to the power of this approach, and it serves as a valuable lesson for any company looking to innovate and stay ahead of the competition. By prioritizing speed in decision-making, companies can maintain a culture of experimentation and innovation, even as they grow and evolve over time.</p><p>In conclusion, Colin Bryer’s book, “Working Backwards,” offers a wealth of knowledge and insights into Amazon’s business model and how it has been able to innovate and succeed in a highly competitive market. Through its leadership principles, hiring strategies, organizational structure, ability to work backward, and long-term thinking, Amazon has set a high standard for other companies to follow.</p><p>While this blog post only touches on a few key lessons, it is clear that the book has much more to offer. Therefore, I highly recommend reading “Working Backwards” for anyone who is interested in learning from one of the world’s most successful companies.</p><p>Remember, knowledge is power, so stay curious and keep learning. If you found this post helpful, please consider giving it a clap and stay tuned for more content like this in the future.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7113d7ea51b" width="1" height="1" alt=""><hr><p><a href="https://medium.com/swlh/working-backwards-key-learnings-7113d7ea51b">Working Backwards: Key Learnings</a> was originally published in <a href="https://medium.com/swlh">The Startup</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Demystifying Data Governance: Understanding the Differences Between Business Glossary, Data…]]></title>
            <link>https://medium.com/analytics-vidhya/demystifying-data-governance-understanding-the-differences-between-business-glossary-data-78133ec1e373?source=rss-d69ffa1c9be8------2</link>
            <guid isPermaLink="false">https://medium.com/p/78133ec1e373</guid>
            <category><![CDATA[data-dictionary]]></category>
            <category><![CDATA[data-governance]]></category>
            <category><![CDATA[data]]></category>
            <category><![CDATA[metadata]]></category>
            <category><![CDATA[business-glossary]]></category>
            <dc:creator><![CDATA[Ravi Dawar]]></dc:creator>
            <pubDate>Tue, 21 Mar 2023 22:25:15 GMT</pubDate>
            <atom:updated>2023-03-21T22:25:15.272Z</atom:updated>
            <content:encoded><![CDATA[<h3>Demystifying Data Governance: Understanding the Differences Between Business Glossary, Data Dictionary, Taxonomy, and Ontology</h3><blockquote>Data is useful. High-quality, well-understood, auditable data is priceless — Ted Friedman, Gartner.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*dRzGFdbn-n16-Inx" /><figcaption>Photo by <a href="https://unsplash.com/@thoughtcatalog?utm_source=medium&amp;utm_medium=referral">Thought Catalog</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h4>The importance of Data Governance</h4><p>Data governance and management refer to the process of managing data assets within an organization to ensure their accuracy, consistency, security, and compliance with legal and regulatory requirements. It involves the development of policies, procedures, and standards for managing data, as well as allocating roles and responsibilities for overseeing data management practices.</p><p>Effective data governance and management are crucial for several reasons. Firstly, accurate and reliable data is essential for informed decision-making. Organizations must thoroughly understand their data assets to make strategic decisions, optimize operations, and gain a competitive advantage.</p><p>Secondly, data governance and management help organizations comply with legal and regulatory requirements. With increasing regulations (such as GDPR and CCPA) and laws governing data usage, organizations need to ensure that their data management practices comply with these regulations.</p><p>Thirdly, effective data governance and management promote data security and minimize the risk of data breaches. With cyber threats on the rise (<a href="https://www.beyondidentity.com/blog/10-statistics-show-cost-data-breach-companies">a breach can cost the affected business $4.1 million on average globally. A data breach in the US costs $9.44 million on average — the highest of any country in the world</a>), organizations must secure their data assets to prevent unauthorized access, data theft, and other security breaches.</p><h4>Where to begin?</h4><p>Now that we understand the significance of data governance and management, we can discuss where to begin. It is crucial to note that “good” data governance requires investing time and effort in anticipating future requirements, continually re-evaluating goals, and having the necessary people, processes, and tools to address issues as they arise.</p><p>However, it is possible to begin by ensuring that data definitions are adequately documented across the organization. This initial step provides a solid foundation for efficient data management and enables organizations to develop a consistent understanding of their data assets, thus leading to more informed decision-making.</p><p>As someone who engages with data teams across various industries daily, it’s striking how concepts like business glossaries, data dictionaries, taxonomies, and ontologies are used interchangeably. What’s even more perplexing is that many organizations don’t give this crucial process the attention it deserves. The lack of clarity on their definitions can lead to confusion and miscommunication in organizations. Therefore, this article aims to demystify the differences between these terminologies and provide clarity to those who use them.</p><p>By understanding the distinctions between these concepts, data teams can effectively manage data assets, develop data-driven insights, and support the decision-making process. So let’s dive in and explore the nuances between these critical data governance and management terms.</p><h4>Data Dictionary</h4><p>A Data Dictionary is an important document that contains structured data elements and their technical metadata extracted from a given Data Model. It can be seen as a narrative version of a data model, providing semantic names, definitions, and other structural characteristics such as the relationships between different elements (primary/foreign keys), allowable value constraints, and the data type and length of each field. It is a comprehensive guide to understanding the meaning, structure, and relationships between data elements in a database or dataset.</p><p>Data analysts, database administrators, and developers rely on a data dictionary to ensure data is used consistently and accurately across an organization.</p><p><em>While a Business Glossary provides a “business relevant” or “human readable” articulation of data, a data dictionary offers a “technology relevant” or “machine-readable” articulation of data.</em></p><p>For example, a customer dataset&#39;s data dictionary would include details such as the data type and length of each field (e.g., customer name, address, phone number), description of each field as well as any constraints or rules (e.g., the customer ID field is a primary key and must be unique).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tKyRYt01pAjfO9R8yi8sEA.png" /><figcaption>Data Dictionary — Powered by Atlan</figcaption></figure><p>👉 In essence, a data dictionary is an essential tool for anyone who needs to understand, manage, or work with data in any capacity.</p><h4>Business Glossary</h4><p>A business glossary is a valuable tool that defines terms and concepts specific to an industry or business domain. Its purpose is to provide a common language that enables effective communication among employees across different departments. For example, in the healthcare industry, a business glossary may define terms such as “Electronic Health Record” or “Health Information Exchange.”</p><p>One of the major issues in organizations is the use of the same name for different meanings, causing misunderstandings. Having an agreed-upon definition for a term helps reduce these problems. As a data practitioner myself, I have participated in numerous board meetings where I observed various teams reporting different figures for a fundamental metric such as “Gross Revenue.” This disparity arose because we lacked a comprehensive business glossary that could establish a clear definition of gross revenue and standardize its measurement.</p><p><em>Unlike a data dictionary, a business glossary is intentionally structure-agnostic and includes terms that are deemed important by the business. It is designed to be free of any content organization, making it quicker to produce and more widely accessible than most other Data Architecture deliverables.</em></p><p>For instance, a business glossary for a retail organization may include terms such as “sales funnel” or “customer acquisition cost.” The former describes the journey that a customer takes from initial awareness of a product or service to eventual purchase, while the latter formulates all the costs of winning a customer to purchase a product or service.</p><p>👉 In essence, a business glossary functions as the “FAQ” of a company, ensuring consistency in the definition and measurement of strategic metrics across the organization.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*W32DbuDpRO8_6FO2XMMnEA.png" /><figcaption>Business Glossary Experience — Powerd by Atlan</figcaption></figure><p>An effective business glossary should not only be constrained within the data catalog but also seamlessly integrate with external applications such as OLTP systems (e.g., Salesforce), OLAP systems (e.g., Snowflake, Databricks), business intelligence tools (e.g., Looker, PowerBI, Tableau), and collaboration applications (e.g., Slack, Teams). This feature is critical in reducing communication overhead in your organization by explicitly defining commonly used business terms across various departments, clarifying unknown data attributes (such as owners, certification, and classifications), and providing transparency into measurement formulas.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nOFMcWk-5kJk74_DaqjFYw.png" /><figcaption>Embedded Context on a Tableau Dashboard — Powered by Atlan</figcaption></figure><h4>Taxonomy</h4><p>A taxonomy is a hierarchical framework for organizing and classifying data or information. It groups related items or concepts together based on their characteristics and relationships, allowing for easier retrieval and analysis of data.</p><p>Biologists use taxonomy to organize and classify living organisms based on their characteristics and evolutionary relationships. In the study of human evolution, taxonomy is used to group similar species together by genus.</p><p>For example, the genus Homo includes several species that are closely related to modern humans, such as Homo erectus, Homo neanderthalensis, and Homo sapiens. Within the genus Homo, each species has its own unique set of characteristics and evolutionary history.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/724/1*Yx2XGvYYwy0jOfE8S0wV0g.png" /><figcaption>Sapiens: A Graphic History: The Birth of Humankind (Vol. 1)</figcaption></figure><p>The taxonomy of human evolution also includes other genera, such as Australopithecus and Paranthropus, which are not direct ancestors of modern humans but share common ancestors with our evolutionary lineage. These genera include several species of hominins that lived millions of years ago and represent important stages in the evolution of bipedalism, tool use, and brain development.</p><p>By using a taxonomy to organize and classify these different species and genera, scientists can better understand their evolutionary relationships and the characteristics that define each group. This information can help us to piece together the complex history of human evolution and shed light on the origins of our species.</p><p>A Data Taxonomy is a defined classification of terms, organized hierarchically into any number of levels of category and sub-category as required, and to serve a given purpose.</p><p>For example, a taxonomy for an online retailer might include categories such as “apparel,” “electronics,” and “home goods.” Within each category, there may be subcategories, such as “shoes,” “jewelry,” “computers,” “televisions,” “furniture,” and so on.</p><p>A taxonomy for a healthcare company might include categories such as patient data, clinical data, financial data, and administrative data. Within the patient data category, subcategories could include demographic data, medical history, and treatment plans.</p><p>👉 In essence, classifications of things are necessary for us to identify and retrieve specific items and to communicate our needs to others effectively. Without classification, we would have a disjointed list of unique and unrelated names rather than cohesive groups of similar items with shared characteristics.</p><p>For instance, imagine if we didn’t use a classification system for living organisms and instead assigned a distinct name to each individual human being, animal, or plant. In this scenario, we wouldn’t have a term like “Homo sapiens” to describe a particular species of humans, but instead, each person would be referred to by a unique and separate name, such as “John Doe,” or “Steve Smith” or “Superman.” As a result, we would have many repeated names, and the process of identifying and categorizing individuals would become unnecessarily complicated and challenging.</p><h4>Ontology</h4><p><em>Before delving into the concept of ontology, I would like to acknowledge that this is a complex topic and my understanding of it is constantly evolving. With that caveat in mind, let’s explore what ontology entails.</em></p><p>In simple terms, ontology is a way of organizing information by creating a framework of concepts, relationships, and rules that define a particular subject. This framework helps different systems to understand and communicate with each other more effectively. It is like a common language that helps different computers or programs to talk to each other. Ontology is also used to define the subjects, predicates, and objects that can exist in a knowledge graph.</p><p>Let’s say we want to create an ontology for a music streaming service. We might define the following concepts, attributes, relationships, and rules:</p><p>Concept: Song</p><ul><li>Attributes: Title, Artist, Album, Genre, Length</li><li>Relationships: Belongs to an Album, Belongs to an Artist, Has a Genre</li><li>Rules: A Song must have a unique Title within an Album, A Song must belong to an Artist, A Song can only have one Genre.</li></ul><p>Concept: Playlist</p><ul><li>Attributes: Name, Description, Creator</li><li>Relationships: Contains Songs, Created by a User</li><li>Rules: A Playlist must have a unique Name, A Playlist must contain at least one Song, A Playlist must be created by a User.</li></ul><p>Concept: User</p><ul><li>Attributes: Name, Email, Subscription Status</li><li>Relationships: Creates Playlists, Follows Other Users</li><li>Rules: A User must have a unique Email, A User must have a Subscription Status, A User can create multiple Playlists, A User can follow other Users.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1UFDyG5UbN2jPnQHiE_oOA.png" /><figcaption>Ontology Example for the Music Streaming Sase Above (image by author)</figcaption></figure><p>👉 By defining these concepts, attributes, relationships, and rules, we have created an ontology that can be used by different systems to understand and communicate with each other. For example, a music streaming service might use this ontology to allow users to create and share playlists, recommend similar songs or artists, or provide personalized music suggestions based on a user’s listening habits.</p><h4>Conclusion</h4><p>In conclusion, effective data governance and management are crucial for organizations to ensure accurate, reliable, and secure data, comply with legal and regulatory requirements, and minimize the risk of data breaches. Investing time and effort in anticipating future requirements, continually re-evaluating goals, and having the necessary people, processes, and tools to address issues as they arise is essential for “good” data governance.</p><p>Understanding the differences between critical data governance and management terms such as a data dictionary and a business glossary can help data teams manage data assets effectively, develop data-driven insights, and support the decision-making process.</p><p>To incorporate these concepts into their data catalogs, companies should first establish their business glossary, data dictionary, taxonomy, and ontology. This process entails partnering with various departments and stakeholders to ensure the accuracy and relevance of the definitions and classifications. Companies should then put in place a system to manage and update these definitions and classifications, such as a data catalog or metadata repository. Ultimately, employees should receive training on the use of these concepts and receive continuous support and guidance to ensure uniform and effective implementation across the organization.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=78133ec1e373" width="1" height="1" alt=""><hr><p><a href="https://medium.com/analytics-vidhya/demystifying-data-governance-understanding-the-differences-between-business-glossary-data-78133ec1e373">Demystifying Data Governance: Understanding the Differences Between Business Glossary, Data…</a> was originally published in <a href="https://medium.com/analytics-vidhya">Analytics Vidhya</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[In Loving Memory Of My Dad: Life, Death and Everything in Between]]></title>
            <link>https://medium.com/@ravidawar/in-loving-memory-of-my-dad-life-death-and-everything-in-between-999e885270d7?source=rss-d69ffa1c9be8------2</link>
            <guid isPermaLink="false">https://medium.com/p/999e885270d7</guid>
            <category><![CDATA[life-lessons]]></category>
            <category><![CDATA[life]]></category>
            <category><![CDATA[philosophy]]></category>
            <category><![CDATA[dads]]></category>
            <category><![CDATA[death]]></category>
            <dc:creator><![CDATA[Ravi Dawar]]></dc:creator>
            <pubDate>Tue, 06 Oct 2020 07:29:22 GMT</pubDate>
            <atom:updated>2020-10-07T04:44:24.629Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VYvW41noJI8a1_hw3PWMFg.jpeg" /></figure><blockquote>“ज़िन्दगी क्या है, अनासिर में ज़हूर-ए-तरतीब, मौत क्या है, इनीं अज़ा का परेशाँ होना।”</blockquote><blockquote>~Brij Narayan Chakbast</blockquote><p><em>Crude English translation:</em></p><blockquote>“What is life; a delicate balance of the five elements, What is death; a slight disturbance of this equilibrium.”</blockquote><p>My Dad passed away on Friday, Oct 2. My Mom was fortunate to be on his side when his hallowed soul abandoned his earthly body. My Mom tells us that he went peacefully in his sleep. He watched a cricket match, told her it was time to sleep, turned the tv off, lied down on the bed, took three deep breaths and that’s it. He was gone. Just like that. In peace!</p><p>My Dad was many things in life- a husband, a father, a brother, a father-in-law, and a friend- and he excelled in every single one of those roles. He worked hard to provide a stable foundation for my life and future.</p><h3>Life Lessons</h3><p>There are many things I learned from him that I utilize to this day. But I want to share these 5 life lessons that made him the man I will worship as long as I live.</p><h4>Hard Work</h4><blockquote>“Sucess is 99% hard work and 1% luck”</blockquote><p>My Dad handwrote this quote on the first page of all my school notebooks. He tried to inculcate the habit of hard work in us from an early age. My Dad taught us that you can not succeed in any life endeavor without actually making the effort to walk the distance. There is just no way around hard work.</p><p>Don’t get me wrong, luck is the prominent common ingredient when successful people tell their stories, however, they don&#39;t talk about hard work because that’s a given. Luck can only put you in the right place at the right time, without hard work you will not get far.</p><h4>Simplicity</h4><blockquote>“The secret of happiness, you see, is not found in seeking more, but in developing the capacity to enjoy less”</blockquote><p>My Dad lived a minimalist lifestyle. He was not a wealthy man, but he made us all feel loved and made our lives richer for it.<strong> </strong>He did not have a fancy house, fancy clothes, or a fancy Car. Heck! He didn&#39;t have a car until I grew old enough to drive one. When he bought one, he gave it to me.</p><p>He knew the luxuries are supposed to make life easier but he also knew material possessions make things complicated and he avoided complexity at all costs. Simplicity is what he favored. For him, life was all about doing with less, because he knew having more and doing more doesn’t lead to happiness. He found joy in the simple things and contentment in solitude.</p><h4>Family</h4><blockquote>“The most important thing in the world is family and love.”</blockquote><p>My Mom is grieving my Dad’s loss. During her sobbing and wailing, she raises rhetorical questions such as Who is now going to take care of me, Who is going to ask me if I took my medicine, Who is going to offer me my tea when I wake up.</p><p>My Dad was a dedicated family man. He was a devoted husband and father, never too busy to spend time with us and always ready to do anything for my mom.<strong> </strong>He believed Husband and wife have a sacred responsibility to love and care for each other and their children. His family was his life’s true joy and his proud accomplishment.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*jdu8A4FznaDrVu6k5au4TQ.jpeg" /></figure><h4>Respect</h4><blockquote>“Treat people the way you want to be treated. Talk to people the way you want to be talked to. Respect is earned, not given”</blockquote><p>I never witnessed my Dad disrespect anybody. He respected everybody, even those who didn’t deserve it. I find it hard to do this. I’m more of the belief that you deserve my civility, but my respect you must earn. Not my Dad. He respected everyone.</p><h4>Staying Strong</h4><blockquote>“The difference between a successful person and others is not a lack of strength, not a lack of knowledge, but rather a lack in will”</blockquote><p>My Dad was involved in two life-threatening accidents but he endured through those because he loved life. In one car accident (he was on the front passenger seat) the windshield glass shredded his face into a jigsaw puzzle but he assembled them back like a LEGO master so he could be there for us when we needed him. Life blew him punches and blows but he was the real-life Rocky Balboa who refused to be knocked out.</p><p>He lived later part of his life in pain because of a knee injury and a dislocated hip but these injuries did not stop him from getting up early every morning and going for a morning walk and exercising. He seized every single day.</p><p>My Dad was a teacher to me and these and other life lessons he taught will always stay with me. He never told me how to live, but he lived and let me watch so I would learn all the life lessons he had to teach me.</p><p>I will always remain grateful for everything I learned from him. I was lucky to have a father like him and I will value his lessons every day.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DLQyCPqss4FeKA2GFdsT9A.jpeg" /></figure><h4>Life is Short</h4><blockquote>“It takes the whole of life to learn how to live, and — what will perhaps make you wonder more — it takes the whole of life to learn how to die.”</blockquote><p>Even though my Dad left us peacefully in his sleep, the incident left me pondering over life…and death. One day he was there talking to us, the next day he was gone! No heads ups, nothing that could prepare us OR prepare HIM! If Life is fickle, a stochastic event, is there a meaning to it?</p><p>I really like <a href="https://twitter.com/naval?s=20">Naval’s</a> take on the meaning of life (emphasis mine):</p><blockquote>One is it’s personal. You have to find your meaning. Any piece of wisdom that anybody else gives you, whether it’s Buddha or you or me, is going to sound like nonsense. I think fundamentally you just have to find it for yourself, so the important part is not the answer, it’s the question. You just have to sit there and dig with the question. It might take you years or decades. When you find an answer you’re happy with, that will be fundamental to your life.</blockquote><blockquote>The second answer I would give is there is no meaning to life. There is no purpose to life. Osho said, “It’s like writing on water or building houses on sand.” The reality is you’ve been dead for the history of the universe, it’s 10 billion years or more. You will be dead for the next 70 billion years or so until the heat death of universe. Anything you do will fade. It will disappear, just like the human race will disappear and the planet will disappear. Get to Mars, even that group will disappear. No one is going to remember you past a certain number of generations, whether you’re an artist or a poet or a conqueror or a pauper or nothing. There’s no meaning.</blockquote><blockquote>The idea that you’re going to change something in the outside world and that is going to bring you the peace and everlasting joy and the happiness that you deserve, that is a fundamental delusion that we all suffer from. You have to create your own meaning, which is what it boils down to. You have to decide. Is this a play that I’m going to that I’m just watching? Is there a self-actualization dance that I’m doing? Is there a specific thing that I desire just for the heck of it? These are all meanings you are making up.</blockquote><blockquote><strong>Knowing how little you matter is very important for your own mental health and happiness</strong>.</blockquote><p>If Life is short and you have to create your own meaning, do you want to squander the precious time or make the most out of it? Your time is valuable, and it is the only thing that you cannot ever get back. Life is ̶s̶h̶o̶r̶t̶ long if you use your time deliberately and carefully. Life can be fulfilling if you invest your time in the right things, the right people and the right experiences.</p><blockquote>As it is with a play, so it is with life. What matters is not how long the acting lasts, but how good it is.</blockquote><blockquote>~ Seneca, Philosopher, Statesman, Dramatist</blockquote><p>Do you want to spend your time arguing over petty issues OR Do you want to invest that time in creating fond memories with people you care about?</p><p>Do you want to spend your time in activities that do not provide you with the skills and knowledge for a brighter future OR Do you want to be cognizant of your time and perhaps spend it in reading more, or learning a new skill?</p><p>Do you want to spend life pursuing other people’s fortunes OR Do you want to invest time in yourself to make a better you and create your own fortune?</p><p>Do you want to endure a 9–5 job you hate OR Do you want to find a new one you are really passionate about?</p><p>Do you want to keep living a life you find meaningless OR Do you want to start working on a serious transformation?</p><p>Most of the time, we are not actually living life but simply existing — allowing life to happen to us rather than taking the reigns to live the lives we want to live. The Choice is yours to make, however, I want to warn you: life is too short for drudgery.</p><p>You really don’t have as much time as you think you have. Because learning how to live your life, says Seneca, the Roman philosopher, takes a whole life, which means you have no more time to waste. it takes the whole of life to learn how to live, and — what will perhaps make you wonder more — it takes the whole of life to learn how to die.</p><p>How long are you planning on making excuses, thinking that you have an infinite basket of time left for your life?</p><p>Pink Floyd’s <a href="https://www.youtube.com/watch?v=JwYX52BP2Sk">Time</a> beautifully captures this cycle of life and death:</p><blockquote>You are young and life is long and there is time to kill today<br>And then one day you find ten years have got behind you<br>No one told you when to run, you missed the starting gun</blockquote><blockquote>And you run and you run to catch up with the sun but it’s sinking<br>Racing around to come up behind you again<br>The sun is the same in a relative way, but you’re older<br>Shorter of breath and one day closer to death</blockquote><h4>Final Words</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IORkyJda4bhXGRl9OcfxEw.jpeg" /></figure><p>The legacy my Dad left behind is one of the cheerful memories I will cherish whenever I miss him. He left artistic impressions on the minds of every person he touched in his life.</p><p>Unfortunately, the continents separated us. I will regret not being able to be there on his side when he passed away. I’m going to miss him so much. His caring attitude, his fascinating conversation, his laughter, his smile, his hugs, and even his asking the same question over and over because of his reduced hearing.</p><p>I love you forever and always, so much.</p><p><strong>Thank you for everything Dad. I love you and I’ll see you on the other side of the stars.</strong></p><p>If you are fortunate to have your parents still alive, please do me a favor. Go hug them tight if they are with you. Call them if they are distant. Tell them you love them. Do it every day. Every single day. Trust me. You will not harbor any regrets when they are gone.</p><p>I will leave this post with one of my Dad’s favorite songs:</p><blockquote>मुसाफ़िर हूँ मैं यारों<br>ना घर है ना ठिकाना<br>मुझे चलते जाना है, बस, चलते जाना<br>मुसाफ़िर…</blockquote><p>Crude English translation:</p><blockquote>“I am a traveller friends, a wanderer, I have to go on and on…”</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=999e885270d7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Machine Learning: Model Evaluation Simplified]]></title>
            <link>https://medium.com/@ravidawar/machine-learning-model-evaluation-simplified-9d23ba925884?source=rss-d69ffa1c9be8------2</link>
            <guid isPermaLink="false">https://medium.com/p/9d23ba925884</guid>
            <category><![CDATA[model-evaluation]]></category>
            <category><![CDATA[towards-data-science]]></category>
            <category><![CDATA[statistics]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Ravi Dawar]]></dc:creator>
            <pubDate>Mon, 21 Sep 2020 04:12:49 GMT</pubDate>
            <atom:updated>2020-09-24T17:01:29.424Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*j_BA_0ReT2tRUkEq" /><figcaption>Photo by <a href="https://unsplash.com/@benwhitephotography?utm_source=medium&amp;utm_medium=referral">Ben White</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>In this post, we will cover various ways to evaluate the performance of machine learning models. We will cover several metrics and the common pitfalls of each by using a simple example of a tumor classification. So, without further ado, let’s jump right into it.</p><p>Two common metrics to evaluate machine learning models are ‘Accuracy’ and R-squared. Accuracy is used to evaluate classification performance while R-squared is used to evaluate regression performance.</p><h4>Accuracy</h4><p><strong>Accuracy </strong>is the fraction of predictions our model got right. Formally, accuracy has the following definition:</p><blockquote>Accuracy=Number of correct predictions / Total number of predictions</blockquote><p>For binary classification, accuracy can also be calculated in terms of positives and negatives as follows:</p><blockquote>Accuracy= (TP+TN )/ (TP+TN+FP+FN)</blockquote><p>Where <em>TP</em> = True Positives, <em>TN</em> = True Negatives, <em>FP</em> = False Positives, and <em>FN</em> = False Negatives.</p><p>Let’s use an example of a model that evaluates tumors as either malignant or benign. The model evaluated 100 tumors and the following matrix summarizes the results:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/858/1*IdlaPImvcFt4FhN6eS8haw.png" /><figcaption>fig. 1: Confusion Matrix for the tumor classifier</figcaption></figure><p>We can calculate the accuracy of this model using the formula above as:</p><blockquote>Accuracy = (1 + 90) / (1 + 90 + 1 + 8) = 0.91</blockquote><p>Accuracy comes out to 0.91, or 91% (91 correct predictions out of 100 total examples). Is it great? Let’s come back to it later in the post.</p><h4>R-squared</h4><p><strong>R-squared</strong> is the percentage of the dependent variable variance that a linear model is able to explain. It is calculated as:</p><blockquote>R-squared = Variance explained by the model / Total Variance</blockquote><p>Given the nature of the formula, R-squared ranges from 0–100%.</p><ul><li>0% represents a model that does not explain any of the variation in the response variable around its mean. The mean of the dependent variable predicts the dependent variable as well as the regression model.</li><li>100% represents a model that explains all of the variation in the response variable around its mean.</li></ul><p>In plain English, R-squared evaluates the scatter of the data points around the fitted regression line. In the figure below, R-squared for the regression model on the left is 15%, and for the model on the right, it is 85%.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/643/1*TJpfSSED3NZc85cWv7VYXg.png" /><figcaption>fig. 2: Visual Representation of R-squared</figcaption></figure><p>However, a high or a low R-squared value doesn’t necessarily signify a good or a bad model respectively. Using R-squared to evaluate a model can be foolhardy if the model is biased. To understand what a ‘biased’ model is, let’s start with the basics.</p><p>There are two fundamental parts of a regression model:</p><blockquote>Dependent Variable = (Constant +Independent Variables) + Error</blockquote><p>Or:</p><blockquote>Dependent Variable = Deterministic + Stochastic</blockquote><p>The deterministic component is the portion of the variation in the dependent variable that the independent variables explain. In a regression model, all of the explanatory power should reside here.</p><p>The stochastic component on the other hand is the portion of the variation in the dependent variable that is unpredictable. This component shouldn’t have any explanatory power.</p><p>If you can use the error to make predictions about the response, your model has a ‘bias’ problem.</p><p>The theory here is that the deterministic component of a regression model does such a great job of explaining the dependent variable that it leaves only the intrinsically inexplicable portion of your study area for the error. If you can identify non-randomness in the error term, your independent variables are not explaining everything that they can.</p><p>It is easy to identify a ‘biased’ model by analyzing the <strong>residual plots</strong>.</p><p>A residual is a measure of how well a line fits an individual data point. Consider this simple data set with a line of fit drawn through it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/346/1*GmLOOFwlLw7t1IDXl_qckQ.png" /><figcaption>fig. 3: Depiction of Residuals</figcaption></figure><p>The vertical distance of each point from the line of fit is the residual of each point. For example, the residual of point (2, 8) is 4 and the residual of point (4, 3) is -2. The closer a data point’s residual is to 0, the better the fit. In this case, the line fits the point (4, 3) better than it fits the point (2, 8).</p><p>Residual plots display the residual values on the y-axis and fitted values, or another variable, on the x-axis. If there are patterns in the residuals, you need to adjust your model. But, don’t worry, this just means that you can improve the fit of the model by moving this predictability over to the deterministic side of things (i.e., your independent variables).</p><p>How do you determine whether the residuals are random in regression analysis? It’s pretty simple, just check that they are randomly scattered around zero for the entire range of fitted values. When the residuals center on zero, they indicate that the model’s predictions are correct on average rather than systematically too high or low. Regression also assumes that the residuals follow a normal distribution and that the degree of scattering is the same for all fitted values.</p><p>Observe the two residual plots below. In the first plot, the residuals are randomly distributed around the zero line. In the second plot, you can clearly observe the pattern.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/576/0*TyH1LEBMfiusYvKX" /><figcaption>fig. 4: Residuals (Random Distribution)</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/576/0*Xyy9LaWGXQWb5Nmr" /><figcaption>fig. 5: Residuals showing a pattern</figcaption></figure><p>The residual plot in fig. 5 indicates that the independent variables do not capture the entire deterministic component. Unfortunately, some of the explanatory information has leaked over to the supposedly random error. There are a variety of reasons why a model can have this problem. The possibilities include a missing:</p><ul><li>Independent variable.</li><li>Polynomial term to model a curve.</li><li>Interaction term.</li></ul><p>To fix the problem, you need to identify the missing information, variable, or higher-order term and include it in the model. After you correct the problem and refit the model, the residuals should look nice and random! It might require subject-area knowledge and research to do this. The solution is very particular to your research.</p><h4>Can we find something more accurate than Accuracy?</h4><p>Now, let’s get back to our classification model that classifies tumors as either malignant or benign. The model evaluated 100 tumors, 91 of which are benign and 9 are malignant. Of the 91 benign tumors, the model correctly identifies 90 as benign. That’s good. However, of the 9 malignant tumors, the model only correctly identifies 1 as malignant — a terrible outcome, as 8 out of 9 malignancies go undiagnosed!</p><p>Instead of using this model if you were to classify all tumors as benign, you would end up accurately classifying all 91 benign tumors as benign. What will be the accuracy of this ‘all benign’ model? 91%! In other words, our model is no better than one that has zero predictive ability to distinguish malignant tumors from benign tumors.</p><p>Thus, accuracy alone doesn’t tell the full story when you’re working with a <strong>class-imbalanced data set</strong>, like this one, where there is a significant disparity between the number of positive and negative labels. In reality, imbalanced data is the norm, and it is rare that the events of interest have equal or even similar frequency in the data. So what metric can we use for datasets like these?</p><p>In particular, we would like to have metrics that tell us how much better a model is than making “most frequent” predictions or random predictions. In general, before picking a machine learning metric, you should think about the high-level<strong> goal of what you are trying to achieve</strong> and<strong> the consequences of making mistakes</strong> (<em>false positives</em> and <em>false negatives</em>) in the real world.</p><p>For our tumor classification model, One possible mistake is that a healthy patient will be classified as positive, leading to additional testing. This leads to some costs (for the patient, for the system and perhaps some opportunity costs of not allocating the needed resources to the true positives patients) and an inconvenience for the patient (and possibly some mental distress). An incorrect positive prediction is called a <em>false positive</em>.</p><p>The other possible mistake is that a sick patient will be classified as negative, and will not receive further tests and treatment. The undiagnosed cancer might lead to serious health issues, and could even be fatal. A mistake of this kind — an incorrect negative prediction — is called a false negative.</p><blockquote>In statistics, a false positive is also known as <em>type I error</em>, and a false negative as<em> type II error</em>.</blockquote><p>So what do we want to achieve from the tumor classification model? From the consequences above, it is clear that we want to avoid false negatives as much as possible, while false positives can be viewed as more of a minor nuisance. Before we get to the other metrics we can use to evaluate our model, let’s talk about <em>Confusion Matrices</em> which are a convenient way to represent the results of classification models.</p><p>For a binary classification model like our tumor classification, a confusion matrix looks like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/483/1*ZbHGJSHFXKnVyn02r97oSA.png" /><figcaption>fig. 6: Confusion Matrix for a binary classifier</figcaption></figure><p>The rows in the matrix correspond to the true classes and the columns correspond to the predicted classes. Each entry counts how often a sample that belongs to the class corresponding to the row was classified as the class corresponding to the column.</p><p>The first metric we can use to summarize the results of a confusion matrix is <strong>Precision</strong>. Precision measures how many of the samples predicted as positive are actually positive. Precision is used as a performance metric when the goal is to limit the number of false positives. In our tumor classification example, Precision will measure how many of the tumors classified as malignant are actually malignant.</p><blockquote>Precision = TP / (TP + FP)</blockquote><p>For the tumor classifier, Precision = 1 / (1 + 1) = 50%; in other words when our model predicts a tumor, it is correct 50% of the time.</p><p>The second metric, we can use to summarize the results of a confusion matrix is <strong>Recall</strong>. Recall measures how many of the positive samples are captured by the positive predictions. Recall is used as a performance metric when we need to identify all the positive samples. In our tumor classification example, Recall will measure how many of the malignant tumors our model was able to accurately predict.</p><blockquote>Recall = TP / (TP + FN)</blockquote><p>For the tumor classifier, Recall = 1 / (1 + 8) = 11%; in other words our model correctly classifies only 11% of all malignant tumors. Wow! How does the 91% accuracy sound now?</p><p>Like everything else, there is a trade-off between optimizing recall and optimizing precision. E.g. you can create a model that predicts all samples as positive (malignant tumors), you will have a Recall of 100% (as there are no false negatives), however, the precision will be very low as the number of false positives will be really high. Similarly, you can create a model that only predicts a sample as positive if it is 100% sure about it. This will result in a model with very few or no false positives resulting in a high Precision, but recall will be really bad.</p><p>One metric that summarizes the two is the <strong>f-score</strong>. f-score is the harmonic mean of precision and recall:</p><blockquote>F = (2 . Precision . Recall) / (Precision + Recall)</blockquote><p>For the tumor classifier, F= (2. 0.5 . 0.11) / (0.5 + 0.11) = 18%; which doesn’t seem high indicating we don’t have a good classification model.</p><p>A disadvantage of the f-score, however, is that it is harder to interpret and explain than accuracy.</p><h4>Dealing with Uncertainty</h4><p>Often, we are not only interested in which class a classifier predicts for a certain test point, but also how certain it is that this is the right class. E.g. for our tumor classifier, we may be interested in knowing (and changing) the threshold our model uses to classify a sample (tumor) as positive (malignant). By default, a logistic regression classifier uses 50% as the threshold for classifying samples as positive. If we want to increase the true positives and are less worried about the false positives, we may want to play around with the threshold to get the desired results (high recall).</p><p>The figure below shows an example of a kernel SVM model trained on an imbalanced dataset (400 points in the negative class classified against 50 points in the positive class) shown on the left. The middlebox shows the decision boundary of the model using a default threshold of 0. The right box shows the decision boundary when we reduce the threshold to -0.8. The model classifies more points as positive when we reduce the threshold.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/685/1*udAZTrYv_Vt35x60ua1_Mg.png" /><figcaption>fig. 7: Impact of changing the threshold in a kernel SVM model</figcaption></figure><p>The decision to set the threshold depends on the business goal. E.g. in our tumor classifier, we want high Recall (we want to identify all the malignant tumors) and we are ok to risk Precision (classifying some benign tumors as malignant).</p><p>Once a particular goal is set — say, a particular recall or precision value for a class — a threshold can be set appropriately. It is always possible to set a threshold to fulfill a particular target, like 90% recall. The hard part is to develop a model that still has reasonable precision with this threshold — if you classify everything as positive, you will have 100% recall, but your model will be useless.</p><p>Setting a requirement on a classifier like 90% recall is often called setting the operating point. Often, when developing a new model, it is not entirely clear what the operating point will be. For this reason, and to understand a modeling problem better, it is instructive to look at all possible thresholds, or all possible trade-offs of precision and recalls at once. This is possible using a tool called the <strong>precision-recall curve</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/384/1*KoKUlAUBJqK9321K1X9VUQ.png" /><figcaption>fig. 8: Precision-recall curve</figcaption></figure><p>Each point along the curve in fig. 8 corresponds to a possible threshold of the model. The black circle marks the point that corresponds to a threshold of 0, the default threshold. The desired thresholds on the curve are in the upper right corner as those signify high precision and high recall for the same threshold.</p><p>The curve starts at the top-left corner, corresponding to a very low threshold, classifying everything as the positive class. Raising the threshold moves the curve toward higher precision, but also lower recall. Raising the threshold more and more, we get to a situation where most of the points classified as being positive are true positives, leading to a very high precision but lower recall. The more the model keeps recall high as precision goes up, the better. Looking at this particular curve a bit more, we can see that with this model it is possible to get a precision of up to around 0.5 with very high recall.</p><blockquote><strong>If we only looked at the f1-score to compare overall performance, we would have missed these subtleties. The f1-score only captures one point on the precision-recall curve, the one given by the default threshold.</strong></blockquote><p>Another curve that is commonly used to analyze the behavior of classifiers at different thresholds is called the <strong>receiver operating characteristics curve</strong>, or <strong>ROC curve</strong>. ROC curve plots false positive rate (FPR) against the true positive rate (TPR) at all possible thresholds for a given classifier.</p><blockquote>TPR = TP / (TP + FN); another name for Recall</blockquote><blockquote>FPR = FP / (FP + TN); fraction of false positives out of all negative samples</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/394/1*XNZOQpXsCeEWcoO5KX_SZw.png" /><figcaption>fig. 9: ROC curve</figcaption></figure><p>For the ROC curve, the ideal curve is close to the top left: you want a classifier that produces a high recall while keeping a low false-positive rate. Compared to the default threshold of 0, the curve shows that we can achieve a significantly higher recall (around 0.9) while only increasing the FPR slightly. The point closest to the top left might be a better operating point than the one chosen by default.</p><p>Sometimes, we want to compare two models using the Precision-recall curve or the ROC curve. One way to summarize the performance of two models using the ROC (or precision-recall) curve is to compute the integral or area under the curve (commonly referred to as <strong>AUC</strong>). This gives us one number to compare the two models with a higher number representing the better model.</p><h4>Conclusion</h4><p>In this post, I tried to summarize and simplify various model evaluation tools used in the field of machine learning. I hope you like this post and welcome any feedback and constructive criticism.</p><p>Stay Curious and Keep Learning!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9d23ba925884" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>