<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Concurrency on Mayukh Datta</title>
    <link>http://localhost:63790/tags/concurrency/</link>
    <description>Recent content in Concurrency on Mayukh Datta</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <copyright>© 2026 Mayukh Datta</copyright>
    <lastBuildDate>Fri, 12 Dec 2025 00:00:00 +0000</lastBuildDate><atom:link href="http://localhost:63790/tags/concurrency/index.xml" rel="self" type="application/rss+xml" />
    
    <item>
      <title>The Art of Balance - What Concurrency Taught Me About Life</title>
      <link>http://localhost:63790/2025/12/the-art-of-balance-what-concurrency-taught-me-about-life/</link>
      <pubDate>Fri, 12 Dec 2025 00:00:00 +0000</pubDate>
      
      <guid>http://localhost:63790/2025/12/the-art-of-balance-what-concurrency-taught-me-about-life/</guid>
      <description>&lt;p&gt;While debugging a tricky multi-threading issue last week, I had an unexpected realization about life itself.&lt;/p&gt;
&lt;p&gt;Let me explain through three scenarios:&lt;/p&gt;


&lt;h2 class=&#34;relative group&#34;&gt;Race Condition: When Everyone Acts Without Coordination 
    &lt;div id=&#34;race-condition-when-everyone-acts-without-coordination&#34; class=&#34;anchor&#34;&gt;&lt;/div&gt;
    
    &lt;span
        class=&#34;absolute top-0 w-6 transition-opacity opacity-0 ltr:-left-6 rtl:-right-6 not-prose group-hover:opacity-100&#34;&gt;
        &lt;a class=&#34;group-hover:text-primary-300 dark:group-hover:text-neutral-700&#34;
            style=&#34;text-decoration-line: none !important;&#34; href=&#34;#race-condition-when-everyone-acts-without-coordination&#34; aria-label=&#34;Anchor&#34;&gt;#&lt;/a&gt;
    &lt;/span&gt;        
    
&lt;/h2&gt;
&lt;p&gt;Imagine two chefs cooking the same dish, each adding salt without telling the other. The result? An inedible meal. Nobody wins.&lt;/p&gt;
&lt;p&gt;In code, this happens when multiple threads/processes access shared data simultaneously, and the final result depends on the unpredictable timing/order of execution. The outcome is unpredictable chaos.&lt;/p&gt;</description>
      <media:content xmlns:media="http://search.yahoo.com/mrss/" url="http://localhost:63790/2025/12/the-art-of-balance-what-concurrency-taught-me-about-life/feature.jpg" />
    </item>
    
  </channel>
</rss>
