<?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 Hari Prasad on Medium]]></title>
        <description><![CDATA[Stories by Hari Prasad on Medium]]></description>
        <link>https://medium.com/@hariprasad-tech?source=rss-8161bc3be8a9------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*qdS2Do_Nc8OuK9tlVdxpYw.png</url>
            <title>Stories by Hari Prasad on Medium</title>
            <link>https://medium.com/@hariprasad-tech?source=rss-8161bc3be8a9------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 15:41:36 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@hariprasad-tech/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[ Azure Container Apps: Simplifying Microservices at Scale]]></title>
            <link>https://medium.com/redive/azure-container-apps-simplifying-microservices-at-scale-7528fcadcd1c?source=rss-8161bc3be8a9------2</link>
            <guid isPermaLink="false">https://medium.com/p/7528fcadcd1c</guid>
            <category><![CDATA[microservices]]></category>
            <category><![CDATA[udemy]]></category>
            <category><![CDATA[azure-container-apps]]></category>
            <category><![CDATA[azure]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <dc:creator><![CDATA[Hari Prasad]]></dc:creator>
            <pubDate>Sat, 20 Jun 2026 05:31:00 GMT</pubDate>
            <atom:updated>2026-06-20T05:31:00.861Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*SQlErWyvdsx9V90b" /><figcaption>Photo by <a href="https://unsplash.com/@growtika?utm_source=medium&amp;utm_medium=referral">Growtika</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>For many developers and architects, Kubernetes has been both a blessing and a burden. It unlocked the ability to run microservices at scale, but it also introduced steep learning curves, complex YAML configurations, and operational overhead that often slowed down innovation.</p><p>That’s where <strong>Azure Container Apps</strong> change the game.</p><p>Instead of managing clusters, you focus on your application logic. Azure takes care of replicas, revisions, autoscaling, and networking behind the scenes. It’s Kubernetes power — without Kubernetes pain.</p><h3>🌐 Why Container Apps Matter</h3><ul><li><strong>Effortless Scaling</strong> Define workload profiles and let Azure handle replicas and autoscaling rules. Whether traffic spikes or dips, your services stay responsive without manual intervention.</li><li><strong>Secure Connectivity</strong> Integrate with Virtual Networks and Private Endpoints to protect sensitive resources like Cosmos DB or SQL databases. Security is built into the fabric of Container Apps.</li><li><strong>Event‑Driven Microservices</strong> With <strong>Dapr sidecars</strong>, services can communicate resiliently, publish/subscribe to events, and handle retries without custom plumbing. This makes distributed systems more reliable and easier to build.</li><li><strong>Production‑Ready Networking</strong> NAT Gateway integration solves port exhaustion, ensuring stable outbound traffic even under heavy load. This is critical for enterprise‑grade deployments.</li><li><strong>Flexible Deployments</strong> Whether you prefer the Azure Portal, CLI, or YAML templates, Container Apps adapt to your workflow. You can start simple and grow into advanced automation.</li></ul><h3>🛠️ My Journey with Container Apps</h3><p>As a technical architect, I’ve seen teams struggle to balance innovation with reliability. Kubernetes often felt like overkill for smaller teams, yet necessary for scaling. Container Apps bridge that gap — empowering developers to ship faster while keeping compliance, scalability, and operational excellence intact.</p><p>I’ve distilled these lessons into a <strong>hands‑on Udemy course</strong> designed for developers, architects, and cloud enthusiasts who want to master Container Apps without drowning in complexity.</p><h3>🎓 Learn More</h3><p>My course, <em>Mastering Azure Container Apps</em>, walks you through:</p><ul><li>Designing microservices with CQRS and event‑driven patterns</li><li>Deploying apps with YAML and CLI workflows</li><li>Integrating Dapr for service‑to‑service communication</li><li>Configuring autoscaling and NAT Gateway for production workloads</li><li>Securing apps with authentication and VNet integration</li></ul><p>👉 Enroll now with my coupon link: <a href="https://www.udemy.com/course/masteraca-deep-dive-tech-course/?couponCode=MASTERACA-OFF399">https://www.udemy.com/course/masteraca-deep-dive-tech-course/?couponCode=MASTERACA-OFF399</a></p><p><a href="https://www.udemy.com/course/masteraca-deep-dive-tech-course/?couponCode=MASTERACA-OFF399">Mastering Azure Container Apps - Deep dive technical course</a></p><p>❗This is a limited time offer.</p><h3>✨ Final Thought</h3><p>Cloud‑native development doesn’t have to be overwhelming. With Azure Container Apps, you can focus on building features, not fighting infrastructure. If you’re ready to simplify microservices and accelerate your cloud journey, this course is your next step.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7528fcadcd1c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/redive/azure-container-apps-simplifying-microservices-at-scale-7528fcadcd1c">🚀 Azure Container Apps: Simplifying Microservices at Scale</a> was originally published in <a href="https://medium.com/redive">Origins</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[India’s Orbital Data Centre | Cooling Costs Vanish in Space!]]></title>
            <link>https://medium.com/redive/indias-orbital-data-centre-cooling-costs-vanish-in-space-e7d39963d513?source=rss-8161bc3be8a9------2</link>
            <guid isPermaLink="false">https://medium.com/p/e7d39963d513</guid>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[data-center]]></category>
            <category><![CDATA[hyperspectral-imaging]]></category>
            <category><![CDATA[satellite-technology]]></category>
            <category><![CDATA[satellite-imagery]]></category>
            <dc:creator><![CDATA[Hari Prasad]]></dc:creator>
            <pubDate>Tue, 02 Jun 2026 06:41:38 GMT</pubDate>
            <atom:updated>2026-06-02T06:41:38.743Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FPnhgtWlHsQ4SE1xdrBOeA.png" /><figcaption>India’s First Orbital Data Center</figcaption></figure><p>India has launched its first orbital data center satellite — a bold step toward space-based computing. Unlike Earth-bound centres that spend millions on cooling and grid electricity, orbital centres harness free solar power and radiate heat directly into space.</p><p>The story begins with <strong>PIXXEL</strong>, a Bengaluru-based imaging satellite company, partnering with<strong> Sarvam AI</strong> to launch <strong>Pathfinder </strong>— a 200-kilogram satellite, carrying datacenter-class GPUs alongside Pixxel’s hyperspectral imaging camera. Scheduled for orbit by late 2026, Pathfinder is designed to test whether ground-grade hardware can survive the harsh environment of low Earth orbit.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FVXEaGdzxIYs%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DVXEaGdzxIYs&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FVXEaGdzxIYs%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/7980325fa6d07f10be7b46475351cee1/href">https://medium.com/media/7980325fa6d07f10be7b46475351cee1/href</a></iframe><p><strong>So, what exactly is an orbital data center?</strong></p><p>Imagine a constellation of satellites equipped with GPUs, capable of training and running AI models directly in space. Instead of relaying raw data to Earth, these satellites process information in orbit and beam down only the conclusions. It’s edge computing — but extended to the cosmos.</p><h3><strong>Why are global firms suddenly interested?</strong></h3><p>Three forces have converged.</p><p><strong>First</strong>, terrestrial data centres face limits on energy, land, water, and regulation — all amplified by AI’s growing demands.</p><p><strong>Second</strong>, in orbit, solar power is nearly continuous, offering free electricity.</p><p><strong>Third</strong>, competitive positioning: companies like <em>SpaceX, Amazon’s Blue Origin, Microsoft Azure Space, and Lonestar Data Holdings</em> are racing to prove orbital compute is viable.</p><h3><strong>Challenges</strong></h3><p>But challenges remain. GPUs powered by solar panels get hot, and in space there’s no air to carry heat away. The only solution is radiation (<strong>Active Thermal Control System (ATCS))</strong>: heat is pumped through ammonia-filled loops to deployable panels, which glow in infrared and dump waste energy into the vacuum. This passive cooling eliminates the massive expenses of air conditioning and water towers on Earth. Over time, the absence of cooling and grid-power costs could offset the high capital outlay of launch.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*VYATOrTr92m2qB86" /><figcaption>Photo by <a href="https://unsplash.com/@arcreates?utm_source=medium&amp;utm_medium=referral">Anthony Roberts</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p><strong>Radiation damage</strong> is another hurdle. Cosmic rays cause <strong>bit flips</strong> and degrade semiconductors. Radiation-hardened chips lag behind commercial GPUs, and maintenance in orbit is nearly impossible without robotic servicing. Redundancy must be built in from the start.</p><h3><strong>So what does the Pixxel–Sarvam partnership involve?</strong></h3><p>Pixxel will design, build, launch, and operate Pathfinder, while Sarvam provides the AI backbone — running full-stack language models on the GPU layer. Their <em>hyperspectral camera</em> adds immediate utility: imagery captured in orbit can be analyzed in orbit, with only the insights transmitted to Earth.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Er-7KwOfDGi144m5" /><figcaption>Photo by <a href="https://unsplash.com/@hubblespacetelescope?utm_source=medium&amp;utm_medium=referral">NASA Hubble Space Telescope</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3>Cost</h3><p>A single satellite is more expensive than the same hardware on Earth. But there are other costs in terrestrial cooling which is higher to be argued.</p><p><strong>🌌 Cooling Costs Disappear in Orbit</strong></p><ul><li><strong>No air conditioning needed:</strong> On Earth, data centers spend huge amounts of money on <em>HVAC</em> systems to remove heat from servers. In orbit, its dumped through radiation.</li><li>Radiators don’t consume extra energy like chillers or fans do.</li><li><strong>No water usage:</strong> Terrestrial cooling often requires water (for evaporative cooling towers). In orbit, there’s no water infrastructure at all, so that expense vanishes.</li></ul><p><strong>☀️ Grid-Power Costs Disappear</strong></p><ul><li><strong>Continuous solar power:</strong> Satellites in the right orbit receive nearly constant sunlight. Solar panels provide free electricity, unlike Earth data centers that pay for grid power.</li><li><strong>No land or utility bills:</strong> There’s no rent, no local electricity tariffs, and no dependency on regional grids. Once launched, the system is self-sustaining.</li></ul><p><strong>There is a The Trade-Off</strong></p><ul><li><strong>High upfront cost:</strong> Launching satellites and building radiation-hardened GPU systems is far more expensive than building a terrestrial data center.</li></ul><blockquote>Pixxel argues launch cost will be reduced when SpaceX’s Starship is operational, and the elimination of cooling and grid expenses, parity could arrive in 5 to 10 years.</blockquote><h3>Conclusion</h3><p>India’s Pathfinder is a demonstrator — but it marks the beginning of a new frontier. A future where computing isn’t bound by Earth’s limitations but expanded by the infinite possibilities of space.</p><p><strong>Reference: </strong><a href="https://www.thehindu.com/sci-tech/science/what-is-indias-first-orbital-data-centre-satellite/article70958948.ece">https://www.thehindu.com/sci-tech/science/what-is-indias-first-orbital-data-centre-satellite/article70958948.ece</a></p><p>🔔 Subscribe now to <a href="https://www.youtube.com/channel/UCMHSHAwjgfMOpsqdPRkZdAg">Origins Channel</a> to stay connected with the origins of tomorrow’s technology, delivered straight to your screen.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZQpqxwmewb7vgJ0O2LYLyQ.png" /><figcaption>Origins Tech News <a href="https://www.youtube.com/channel/UCMHSHAwjgfMOpsqdPRkZdAg">https://www.youtube.com/channel/UCMHSHAwjgfMOpsqdPRkZdAg</a></figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e7d39963d513" width="1" height="1" alt=""><hr><p><a href="https://medium.com/redive/indias-orbital-data-centre-cooling-costs-vanish-in-space-e7d39963d513">India’s Orbital Data Centre | Cooling Costs Vanish in Space!</a> was originally published in <a href="https://medium.com/redive">Origins</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Great Reverse Migration 2026]]></title>
            <link>https://medium.com/redive/the-great-reverse-migration-2026-d2bbb85c0938?source=rss-8161bc3be8a9------2</link>
            <guid isPermaLink="false">https://medium.com/p/d2bbb85c0938</guid>
            <category><![CDATA[h1b]]></category>
            <category><![CDATA[technews]]></category>
            <category><![CDATA[migration]]></category>
            <category><![CDATA[usa]]></category>
            <category><![CDATA[technology]]></category>
            <dc:creator><![CDATA[Hari Prasad]]></dc:creator>
            <pubDate>Mon, 01 Jun 2026 06:27:00 GMT</pubDate>
            <atom:updated>2026-06-01T06:27:49.489Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DImp4qMSsBUkdHqotrsPKw.png" /><figcaption>The Great Reverse Migration 2026</figcaption></figure><p>A silent revolution is reshaping the global tech workforce. According to LinkedIn data, nearly <strong>40%</strong> more Indian tech professionals are returning from the United States to India — a trend driven by stricter H‑1B visa rules, rising costs, and booming opportunities in India’s tech hubs.</p><blockquote>Tighter H1B rules and higher fees ($100,000) and intense social media screening have reduced the flow of foreign tech workers into the US</blockquote><p>Some foreign-born engineers are choosing to leave or not come at all.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FXdFaV3RPfwE%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DXdFaV3RPfwE&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FXdFaV3RPfwE%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/4204af478bca78510649a746b69e4e41/href">https://medium.com/media/4204af478bca78510649a746b69e4e41/href</a></iframe><h3><strong>H1B Visa</strong></h3><p>The H‑1B visa is a U.S. work permit (a popular pathway for skilled foreign workers especially Engineers, Developers, and IT specialists) and that allows companies to hire skilled foreign professionals.</p><p>It’s temporary, tied to an employer, and often used by foreign engineers working in America.</p><p>But with stricter rules, higher fees, and growing uncertainty around the H‑1B, thousands of Indian techies are choosing to return home — fueling a 40% surge in reverse migration.</p><p>For many Indian professionals, the H‑1B visa now carries more risk than reward. Lengthy processing times and constant job uncertainty are forcing employees to value stability over the prestige of a U.S. assignment — driving thousands to return home.</p><h3><strong>Growing Indian Opportunities</strong></h3><p>India’s Domestic tech market is expanding rapidly</p><p>Tech Professionals find attractive career options at home with strong demand for S<em>oftware, Cloud, AI, Data science</em> and E<em>ngineering </em>talent.</p><p>There is a talent repatriation of skilled professionals bringing home international experience, global networks and technical expertise strengthening India’s innovation and startup sectors</p><p>Companies in India may benefit from increased access to senior tech talent, although US tech firms depended on foreign talent may face shortage in certain specialized areas listed previously.</p><h3><strong>Conclusion</strong></h3><p>The reverse migration of Indian techies is not just about visas — it signals a deeper offshoring shift.</p><p>As U.S. companies struggle with talent shortages, many are expanding their R&amp;D and engineering operations directly in India.</p><p>This means the jobs that once required relocation to Silicon Valley are now being built at home, with competitive pay and leadership opportunities.</p><p>India is no longer just the back office of the world — it’s becoming the front line of global innovation</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d2bbb85c0938" width="1" height="1" alt=""><hr><p><a href="https://medium.com/redive/the-great-reverse-migration-2026-d2bbb85c0938">The Great Reverse Migration 2026</a> was originally published in <a href="https://medium.com/redive">Origins</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The End of Jet Fuel? Why 2026 is the Year of the Electric Plane]]></title>
            <link>https://medium.com/redive/the-end-of-jet-fuel-why-2026-is-the-year-of-the-electric-plane-02286ad490dd?source=rss-8161bc3be8a9------2</link>
            <guid isPermaLink="false">https://medium.com/p/02286ad490dd</guid>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[aviation-industry]]></category>
            <category><![CDATA[aviation]]></category>
            <category><![CDATA[lithium-battery]]></category>
            <category><![CDATA[aviation-electric]]></category>
            <dc:creator><![CDATA[Hari Prasad]]></dc:creator>
            <pubDate>Mon, 01 Jun 2026 06:01:01 GMT</pubDate>
            <atom:updated>2026-06-02T10:14:50.055Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pif_dbvnQ-soCs5fpquhaw.png" /><figcaption>2026 is the Year of Electric Aviation</figcaption></figure><h3>Next-Gen Solid State Batteries Are Finally Making Electric Aviation A Reality in 2026</h3><p>We are stripping away the weight of liquid electrolytes to unlock flight, replacing volatile chemicals with dense, ceramic-based solid-state cells that double energy capacity. By neutralizing thermal runaway risks, we enable regional electric propulsion to scale, finally overcoming the gravity-bound limitations that have historically grounded battery-powered aviation for decades.</p><p>Batteries have always been too heavy and too dangerous for the sky, effectively grounding the dream of electric flight for decades. But by stripping away volatile liquid electrolytes and replacing them with ultra-dense ceramic cells, we’ve finally broken the gravity barrier. This is how solid-state technology is doubling energy capacity today.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FoR2ZzLYz8aY%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DoR2ZzLYz8aY&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FoR2ZzLYz8aY%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/e7d625b5316ea9f373c4902e2f50f891/href">https://medium.com/media/e7d625b5316ea9f373c4902e2f50f891/href</a></iframe><h3>Cons of Traditional Li-ion batteries</h3><p>Traditional liquid lithium-ion batteries have hit a ceiling of <strong>~300–350 Wh/kg</strong> energy density because of fundamental material limits in their graphite anodes and intercalation-type cathodes, making them too heavy for long-range flight, compared to jet fuel’s <strong>~12,000 Wh/kg</strong>.</p><blockquote>~17× less energy-dense than Jet fuel</blockquote><p>Even with incremental improvements, the chemistry cannot deliver the leap needed for commercial aviation.</p><ul><li>High energy density increases risk of thermal runaway.</li><li>Aviation requires extreme reliability across wide temperature ranges, which current liquid electrolytes struggle to provide.</li></ul><h3>Core Issue</h3><blockquote>Adding more batteries increases stored energy, but each battery adds significant dead weight.</blockquote><p>Batteries weigh around 40–50 times more than fuel. Aircraft engines must generate extra lift and thrust to carry that weight, which in turn consumes more energy.</p><p>The result is a diminishing return: beyond a certain point, extra batteries reduce net range instead of extending it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/735/0*HQHGJAaduYUH5nTv" /><figcaption>Energy Density Comparison between Jet Fuel and Batteries</figcaption></figure><h3>The Solid-State Revolution</h3><p>The transition from traditional liquid lithium-ion batteries to solid-state designs represents a fundamental shift in both safety and performance.</p><p>Traditional Liquid Electrolytes contains Organic solvents (like <strong>Ethylene Carbonate (CH2O)2CO</strong>) mixed with lithium salts.</p><p>It is,</p><ul><li>Highly combustible, A single puncture, short circuit, (or) thermal runaway could ignite mid-flight, which regulators deemed unacceptable for passenger safety. It requires cooling systems and heavy casings that adds weight</li><li>Requires bulky packaging and separators to contain liquid safely</li><li>It has a Limited voltage window. It decomposes at higher energy densities</li></ul><p>While Solid state electrolytes are <strong>Ceramic </strong>or <strong>Polymer </strong>based</p><p>Which is,</p><ul><li>Non-flammable</li><li>Its Ultra-light rigid separators, that block dendrite growth, preventing internal short circuits</li><li>It provides Higher energy density without proportional mass increase.</li></ul><blockquote>Solid-state reduces dead weight compared to liquid systems. Aviation can rely on safer operation under extreme conditions of temperature and pressure.</blockquote><p>By neutralizing fire risks with solid-state chemistry, we are moving beyond experimental prototypes into scalable regional travel.</p><p>Solid state designs passed the tests from Global aviation authorities (<strong>FAA, EASA, DGCA</strong>) demonstrating that even under extreme stress (<em>overcharge, puncture, high altitude pressure changes</em>), the cells do not ignite.</p><p>It’s no longer about whether electric planes can fly; it’s about how these dense, ceramic-based powerhouses are officially making jet fuel obsolete in 2026.</p><h3>Electric Aviation in 2026</h3><p>In 2026, the rollout of <strong>19-seat</strong> and <strong>50-seat</strong> <em>electric commuter planes</em> marks the first wave of certified short-haul regional services, with <strong>United Airlines, Mesa Airlines</strong>, and European startups like <strong>Aura Aero</strong> leading deployments. These aircraft are now servicing regional hubs on routes under <strong>~250 miles</strong>, offering zero-emission flights and reshaping commuter aviation</p><p>Electric Aviation,</p><ul><li>Cuts carbon emission to Zero</li><li>Electric motors cut noise by ~75%, enabling flights into smaller regional airports.</li><li>It Improves operational economy by Lower maintenance costs (due to fewer moving parts) but constrained by battery range.</li></ul><h3>Challenges</h3><p>As electric commuter planes take to the skies, they face three critical challenges that define their future.</p><p><strong>First — Range Limitations.</strong> <em>“With a ceiling of just 250 to 300 miles, these aircraft are restricted to short-haul routes. Perfect for regional hops, but far from replacing long-distance turboprops or jets.”</em></p><p><strong>Second — Infrastructure.</strong> <em>“Regional airports must adapt. Charging stations, battery swap facilities, and grid upgrades are essential before electric fleets can scale. Without this backbone, adoption stalls.”</em></p><p><strong>Third — Scaling more Seats.</strong> <em>“Moving from 19-seat prototypes to 50-seat commuter planes magnifies the weight-to-power ratio problem. Larger aircraft demand more energy, yet certification lags behind due to safety and efficiency hurdles.”</em></p><h3>Conclusion</h3><blockquote>We are witnessing the end of the gravity-bound limitations that have historically crippled battery-powered aviation. Next-generation solid-state batteries are finally delivering the energy density required to lift commercial loads without the dead weight of traditional liquids. Flight is being reimagined as we speak, powered by the most stable energy transition in history.</blockquote><p>🔔 Subscribe now to stay connected with the origins of tomorrow’s technology, delivered straight to your screen. <a href="https://www.youtube.com/channel/UCMHSHAwjgfMOpsqdPRkZdAg">Origins-Channel</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZQpqxwmewb7vgJ0O2LYLyQ.png" /><figcaption>Subscribe to Origins Channel — <a href="https://www.youtube.com/channel/UCMHSHAwjgfMOpsqdPRkZdAg">https://www.youtube.com/channel/UCMHSHAwjgfMOpsqdPRkZdAg</a></figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=02286ad490dd" width="1" height="1" alt=""><hr><p><a href="https://medium.com/redive/the-end-of-jet-fuel-why-2026-is-the-year-of-the-electric-plane-02286ad490dd">The End of Jet Fuel? Why 2026 is the Year of the Electric Plane</a> was originally published in <a href="https://medium.com/redive">Origins</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[7 Habits of Highly Effective people]]></title>
            <link>https://medium.com/redive/7-habits-of-highly-effective-people-8a00b66b188d?source=rss-8161bc3be8a9------2</link>
            <guid isPermaLink="false">https://medium.com/p/8a00b66b188d</guid>
            <category><![CDATA[seven-habits]]></category>
            <category><![CDATA[self-improvement]]></category>
            <category><![CDATA[management]]></category>
            <dc:creator><![CDATA[Hari Prasad]]></dc:creator>
            <pubDate>Mon, 30 Oct 2023 13:33:32 GMT</pubDate>
            <atom:updated>2023-10-30T13:33:32.209Z</atom:updated>
            <content:encoded><![CDATA[<p>I hope most of us have come across this book written by <a href="https://www.franklincovey.com/the-7-habits/">Stephen R. Covey</a>, who would have read this book on improving themselves on a personal and professional front.</p><p>But have you ever faced a situation to read it once again from start, and still, you visualize yourself behind in all terms of the personal traits or habits keyed out in this book? I am also the one among you.</p><h3>What made me read this book once again?</h3><p>This book was first introduced to me by my college mate, who was an avid book reader, when I was doing my engineering and was searching for a job in my final year. Until then I was a casual reader who reads stories only on certain times when I was bored. After reading this book I started to have an earning in my heart and mind to learn more things about personal improvement and which also helped me in changing the perspective of how I started to perceive people and things around me, and also helped me in landing on a job.</p><p>You might ask, Ok! You have read this book and you landed the job and you would have succeeded in your professional life. But why read it once again?</p><p>My answer would be no. I have not succeeded yet. The first time I read this book I was reading it and learning some quick fixes on personal and professional problems and was improving my personality ethics which the world recognizes and how it sees us. But this time when I started to read, it is like I have not read this book and what am reading is totally new and I have started to understand that building character ethics is more crucial than personality ethics.</p><h3>Character ethics</h3><p>Honesty, Modesty, Empathy, Humility, Hardwork, self-control, patience and Integrity were some of the important characters which everyone should focus on developing from inside, rather than focusing on the outside personality traits like the way you dress, speak and showcase yourself by self-promoting about how you would be perceived by others.</p><blockquote><em>To change ourselves effectively, we first had to change our perceptions.</em></blockquote><p>One should develop oneself by focusing on learning about themselves from inside-out to improve their character, by learning about the chronic problems and finding a permanent solution, which will be helping them over the long run, rather than focusing on solving the acute problems with quick fixes and easy solutions by hustle reading more personal improvement books.</p><blockquote><em>We see the world, not as it is, but as we are──or, as we are conditioned to see it.</em></blockquote><p>This book helps us to learn about the 7 principles which everyone should keep in mind always to achieve private success and proceed to acquire public success and retain it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*HGhIFBWZO0vRs0P5bU-T0g.jpeg" /><figcaption>Who are you?</figcaption></figure><h3>7 Principles</h3><p>I am not going to say or explain about what are the seven principles and what they do and how do you achieve it. Its already done by Stephen very well in his book. This article is just an inspiration about his work and how it is going to improve our life by learning these principles and abiding by it.</p><p>The first 3 principles of this book talk about personal success and how to achieve it by improving the basic character of a person inside-out. A person will grow from being dependent on others to be independent physically, emotionally and intellectually.</p><p>And the next 3 principles talk about the public success on how one will achieve his relationship with the outside world, by moving upward in maturity continuum to interdependence. One will learn the difference between doing work independently and doing it along with others interdependently by using the help of others and growing as a whole in an organization or in a family.</p><p>The 7th principle is about renewal of oneself around these 6 principles and doing it as a continuous process in improving personal and professional life.</p><h3>P/PC principle</h3><p>A farmer who has a golden goose should not only concentrate on the golden eggs, but also take care of the goose which produces it, in order to achieve the same constant success of the golden egg. In other terms, a boss should not only concentrate on the profits but also on the assets and employee who produces them, to achieve constant success in the future too.</p><p>If the farmer is too greedy to kill the golden goose to get all the golden eggs at a time, then he will end up in losing both the eggs and the goose which produces it. There should be a balance between production (P) and production capability (PC) to ensure constant success in the future.</p><h3>Habits</h3><blockquote><em>Sow a thought, reap an action; sow an action, reap a habit; sow a habit, reap a character; sow a character, reap a destiny.</em></blockquote><p>Why does he call them a habit? As he wanted to make these principles inherited by us our innate character and repeat them as a habit and not only to read it once and leave it aside.</p><p>Humans have a tendency to read the books to achieve some quick fixes for the problems they face currently and not focusing on the chronic problems which they were facing and will be facing in the future and not ready to accept the failures and don’t know how to move away from it or avoid it.</p><blockquote><em>It’s not what happens to us, but our response to what happens to us that hurts us.</em></blockquote><p>Habit is the intersection of Knowledge (what to do), Skills (How to do) and Desire (Want to do) which keeps us motivated in achieving the success which everyone earns in their life. All people who will see other’s success want to know how they achieved it, and ask the winners to share some knowledge about some easy tips, in order to achieve success. But they don’t want to learn and pursue the hard work and the difficult path the winners had taken for the great success.</p><blockquote><em>Principles are the territory. Values are maps. When we value correct principles, we have truth — a knowledge of things as they are.</em></blockquote><p>If you have a map of a location, you are in, you would be able to find and move to the correct place where you want to be. If you have a wrong map of a different place other than what you need or where you are, then it will be impossible to move to the specific place you want. This book is a map through which you will find the right guidance on how to achieve the right place you earn to go.</p><p>This is not a book to read it once and leave it. Read it again and again when you find you are not in correct path and you need guidance and shift your paradigm to a new level.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*J7IcpzUojsUpYKATIhRLUQ.jpeg" /><figcaption>Quote from Stephen R. Covey</figcaption></figure><p>Above are some snippets from the book and I hope it excites you to read the principles and make sure you follow it by practicing it and speaking about it with others. I found it anew by reading it again after 13 years. I am sure you will too.</p><p>— Happy Reading 😊</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8a00b66b188d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/redive/7-habits-of-highly-effective-people-8a00b66b188d">7 Habits of Highly Effective people</a> was originally published in <a href="https://medium.com/redive">Origins</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What is HATEOAS and why is it important for RESTful APIs?]]></title>
            <link>https://medium.com/redive/what-is-hateoas-and-why-is-it-important-for-restful-apis-5851fec36570?source=rss-8161bc3be8a9------2</link>
            <guid isPermaLink="false">https://medium.com/p/5851fec36570</guid>
            <category><![CDATA[api-security]]></category>
            <category><![CDATA[rest-api]]></category>
            <category><![CDATA[software-architecture]]></category>
            <category><![CDATA[hateoas]]></category>
            <dc:creator><![CDATA[Hari Prasad]]></dc:creator>
            <pubDate>Mon, 30 Oct 2023 12:49:08 GMT</pubDate>
            <atom:updated>2023-10-30T12:49:08.984Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Xr3KKmj8eGrU6LZG0BCwog.png" /><figcaption>HATEOAS+REST+API</figcaption></figure><p>HATEOAS stands for <strong>H</strong>ypermedia as the <strong>E</strong>ngine of <strong>A</strong>pplication <strong>S</strong>tate. <a href="https://www.w3schools.in/restful-web-services/rest-apis-hateoas-concept">It is one of the constraints of the REST architectural style that defines how clients and servers should interact over the web</a>.</p><p>The idea behind HATEOAS is that a client should be able to navigate and manipulate the resources of an application by following the links and actions provided by the server in each response. <a href="https://en.wikipedia.org/wiki/HATEOAS">The client does not need to know the structure or details of the API beforehand, as the server dynamically guides the client through the application state transitions</a>.</p><p>This approach has several benefits for both the client and the server:</p><ul><li>It decouples the client from the server, allowing the server to evolve its API without breaking existing clients. The server can change its resource URIs, add new features, or modify its business logic without affecting the client’s behavior. <a href="https://restfulapi.io/hateoas-in-rest-service/">The client only needs to follow the links and actions that the server provides at runtime</a>.</li><li>It simplifies the client’s logic, as it does not need to hardcode any API endpoints or construct complex URIs. The client can rely on the server to provide all the relevant information and options for each resource. The client can also discover new capabilities or resources as they become available on the server.</li><li>It improves the usability and discoverability of the API, as it provides a self-documenting and consistent way of accessing and manipulating resources. The client can easily understand what each resource represents, what actions are possible, and what are the consequences of each action. The client can also explore the API by following the links and actions that interest them.</li></ul><h3>How to implement HATEOAS in a RESTful API?</h3><p>There are different ways to implement HATEOAS in a RESTful API, depending on the media type and format that are used to represent resources. Some common examples are:</p><ul><li><strong>JSON:</strong> JSON is a popular format for exchanging data over the web, but it does not have a standard way of expressing links or actions. However, there are some conventions or specifications that can be used to add HATEOAS features to JSON responses, such as <a href="https://www.w3schools.in/restful-web-services/rest-apis-hateoas-concept">HAL</a>, <a href="https://en.wikipedia.org/wiki/HATEOAS">JSON-LD</a>, <a href="https://restfulapi.io/hateoas-in-rest-service/">JSON:API</a>, or <a href="http://api.domain_name.com/manage/designations/20">Siren</a>. These specifications define how to include links, actions, metadata, and embedded resources in a JSON response. For example, this is how a HAL response might look like:</li></ul><pre>{<br>  &quot;id&quot;: &quot;10&quot;,<br>  &quot;fName&quot;: &quot;Dennis&quot;,<br>  &quot;lName&quot;: &quot;Ritchie&quot;,<br>  &quot;age&quot;: &quot;46&quot;,<br>  &quot;_links&quot;: {<br>    &quot;self&quot;: {<br>      &quot;href&quot;: &quot;/demoApp/employees/10&quot;<br>    },<br>    &quot;designation&quot;: {<br>      &quot;href&quot;: &quot;/demoApp/employees/10/designations&quot;<br>    }<br>  }<br>}</pre><ul><li><strong>XML:</strong> XML is another common format for exchanging data over the web, and it has some advantages over JSON, such as namespaces, schemas, and validation. XML also has some standard ways of expressing links or actions, such as [XLink], [XForms], or [Atom]. These standards define how to include links, actions, metadata, and embedded resources in an XML response. For example, this is how an Atom response might look like:</li></ul><pre>&lt;entry xmlns=&quot;http://www.w3.org/2005/Atom&quot;&gt;<br>  &lt;id&gt;10&lt;/id&gt;<br>  &lt;title&gt;Dennis Ritchie&lt;/title&gt;<br>  &lt;content type=&quot;xhtml&quot;&gt;<br>    &lt;div xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;<br>      &lt;p&gt;Age: 46&lt;/p&gt;<br>    &lt;/div&gt;<br>  &lt;/content&gt;<br>  &lt;link rel=&quot;self&quot; href=&quot;/demoApp/employees/10&quot;/&gt;<br>  &lt;link rel=&quot;designation&quot; href=&quot;/demoApp/employees/10/designations&quot;/&gt;<br>&lt;/entry&gt;</pre><ul><li><strong>HTML: </strong>HTML is the most widely used format for displaying web pages, and it has native support for hypermedia features, such as links, forms, images, videos, etc. HTML can be used to implement HATEOAS in a RESTful API by returning HTML representations of resources that include links and forms for navigation and manipulation. For example, this is how an HTML response might look like:</li></ul><pre>&lt;html&gt;<br>&lt;head&gt;<br>  &lt;title&gt;Dennis Ritchie&lt;/title&gt;<br>&lt;/head&gt;<br>&lt;body&gt;<br>  &lt;h1&gt;Dennis Ritchie&lt;/h1&gt;<br>  &lt;p&gt;Age: 46&lt;/p&gt;<br>  &lt;a href=&quot;/demoApp/employees/10&quot;&gt;Self&lt;/a&gt;<br>  &lt;a href=&quot;/demoApp/employees/10/designations&quot;&gt;Designation&lt;/a&gt;<br>&lt;/body&gt;<br>&lt;/html&gt;</pre><h3><strong>How does HATEOAS improve security in APIs?</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/221/1*pz8MPPu3---hQWrG6q1FVw.png" /></figure><p>HATEOAS can improve security in APIs by reducing the exposure of sensitive information and preventing unauthorized access to resources. Some of the ways that HATEOAS can achieve this are:</p><ul><li>Hiding the internal structure and implementation details of the API from the client. The client does not need to know or construct the URIs of the resources, as they are provided by the server dynamically in each response. This makes it harder for malicious clients to guess or manipulate the URIs and access resources that they are not supposed to.</li><li>Providing fine-grained and context-sensitive access control to the resources. The server can decide what links and actions to include in each response based on the identity, role, and permissions of the client. This way, the client only sees and interacts with the resources that they are authorized to access. For example, a customer may see a link to update their profile, but not a link to delete their account.</li><li>Enforcing state transitions and business rules on the server side. The client cannot perform arbitrary actions on the resources, as they have to follow the links and actions that the server provides. This ensures that the client respects the constraints and logic of the application state, and does not violate any security policies or business rules. <a href="https://en.wikipedia.org/wiki/HATEOAS">For example, a client cannot cancel an order that has already been shipped, as the server will not provide a link for that action</a>.</li></ul><h3>Conclusion</h3><p>HATEOAS is a key concept of the REST architectural style that enables clients and servers to interact over the web in a flexible and dynamic way. By following the links and actions provided by the server in each response, the client can navigate and manipulate the resources of an application without prior knowledge or hardcoding of the API. This improves the decoupling, simplicity, usability, and discoverability of the API, and allows the server to evolve its API without breaking existing clients. HATEOAS can be implemented in different ways, depending on the media type and format that are used to represent resources. Some common examples are JSON, XML, and HTML.</p><p>I hope you enjoyed this blog post about HATEOAS. If you have any questions or feedback, please leave a comment below. Thank you for reading! 😊</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5851fec36570" width="1" height="1" alt=""><hr><p><a href="https://medium.com/redive/what-is-hateoas-and-why-is-it-important-for-restful-apis-5851fec36570">What is HATEOAS and why is it important for RESTful APIs?</a> was originally published in <a href="https://medium.com/redive">Origins</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Software architect — III — Legacy to Modern]]></title>
            <link>https://medium.com/redive/software-architect-iii-legacy-to-modern-dd72bf1b92ee?source=rss-8161bc3be8a9------2</link>
            <guid isPermaLink="false">https://medium.com/p/dd72bf1b92ee</guid>
            <category><![CDATA[software-architecture]]></category>
            <category><![CDATA[legacy-code]]></category>
            <category><![CDATA[software-architect]]></category>
            <category><![CDATA[design-patterns]]></category>
            <category><![CDATA[legacy-modernization]]></category>
            <dc:creator><![CDATA[Hari Prasad]]></dc:creator>
            <pubDate>Thu, 25 Nov 2021 15:02:07 GMT</pubDate>
            <atom:updated>2021-11-25T15:02:07.547Z</atom:updated>
            <content:encoded><![CDATA[<h3>Software architect — III — Legacy to Modern</h3><p>Every developer in software industry must have encountered a situation to migrate a legacy old application in their organization having a traditional architecture like layered N-tier architecture, due to frequent maintainability, scalability and deployability issues they face whenever they get a change request from the product management, into a modern microservices architecture, but could not proceed as they couldn’t convince their product management in implementing such an overall architectural and design change, which involves more cost and time.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Vn6PAxgoTb3yVaxT" /><figcaption>Photo by <a href="https://unsplash.com/@quinoal?utm_source=medium&amp;utm_medium=referral">Quino Al</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><blockquote>If your application is having too many dependencies and high coupling exists between the individual components, then you are dealing with a <a href="https://blog.codinghorror.com/the-big-ball-of-mud-and-other-architectural-disasters/"><em>big ball of mud</em></a> anti-pattern, where you have to get your hands dirty to release all the individually coupled code without affecting the existing functionality.</blockquote><p>So how shall we proceed then?</p><p>There comes the savior design pattern — <strong>Strangler pattern</strong></p><p>In Microservices architecture, <strong><em>modularity </em></strong>is the primary concern in terms of domains. So the same should be achieved gradually in such a traditional architecture by separating the concerns step by step, but not as a whole.</p><h3>Strangler pattern</h3><p>Migrate a legacy application incrementally by replacing existing functionalities into modern services in a phased manner. After replacing all the features of the application, the existing legacy application is phased out. The name strangler pattern is inspired by the strangler fig trees.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*B2fRfpsmzhJ05AE9" /><figcaption>Photo by <a href="https://unsplash.com/@davidclode?utm_source=medium&amp;utm_medium=referral">David Clode</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>The challenge of implementing this pattern lies in analyzing the existing functionalities and dependencies, identifying the areas of separation and apply an efficient migration strategy. One should also consider the level of testing performed for the separated concerns and also the integration with the existing system. After the separation, deployment plays a major factor where the concerns are deployed and the function calls are re-routed to the new services.</p><h4>Strangler Facade</h4><p>As a first step a facade interface should be placed between the invoker and the executer. This interface should be re-routing the actual requests from the invoker to the new service in a current phase of migration. Consider you have the plan to separate the User management and Authorization into separate microservices, then introduce an interface which will be agreeing a contract between the User interface and the backend services. Some of the requests will be redirected to the new services through the façade instead of the existing service.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/941/1*Tgm3oFXJ5Mf8bX0o8cUKhw.png" /><figcaption>Strangler Facade</figcaption></figure><p>Once all the services are moved entirely to the modern microservices architecture, then the façade should either be removed or should permanently redirect to the new service.</p><p>The reason to maintain the legacy services still in the app domain is, to route the service calls back to the legacy system in case the new system fails for certain reasons and the old system acts as a fallback mechanism to make the availability of the services.</p><h4>Usage</h4><p>Strangler pattern cannot be used,</p><ul><li>If you have a very smaller system where the complexity and the size is very low</li><li>where the backend service cannot be intercepted and routed</li><li>where the façade should be causing a single point of failure of the entire system</li></ul><p>P.S. <a href="https://docs.microsoft.com/en-us/azure/architecture/patterns/strangler-fig"><em>MSDN</em></a><em> </em>has a reference to the strangler fig pattern.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dd72bf1b92ee" width="1" height="1" alt=""><hr><p><a href="https://medium.com/redive/software-architect-iii-legacy-to-modern-dd72bf1b92ee">Software architect — III — Legacy to Modern</a> was originally published in <a href="https://medium.com/redive">Origins</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Software Architect — II — Distributed Architecture]]></title>
            <link>https://medium.com/redive/software-architect-ii-distributed-architecture-85a30f0b6bb8?source=rss-8161bc3be8a9------2</link>
            <guid isPermaLink="false">https://medium.com/p/85a30f0b6bb8</guid>
            <category><![CDATA[domain-driven-design]]></category>
            <category><![CDATA[distributed-computing]]></category>
            <category><![CDATA[software-architect]]></category>
            <category><![CDATA[distributed-architecture]]></category>
            <category><![CDATA[software-architecture]]></category>
            <dc:creator><![CDATA[Hari Prasad]]></dc:creator>
            <pubDate>Thu, 25 Nov 2021 13:45:12 GMT</pubDate>
            <atom:updated>2021-11-25T13:45:12.842Z</atom:updated>
            <content:encoded><![CDATA[<h3>Software Architect — II — Distributed Architecture</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*XEDx1apc01tE3QU3" /><figcaption>Photo by <a href="https://unsplash.com/@lazycreekimages?utm_source=medium&amp;utm_medium=referral">Michael Dziedzic</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h4><strong>Monolith</strong> is a single deployment unit of all code</h4><p>This is a traditional approach where the organization is trying to mimic the vertical separation of their internal teams in the layers of the architecture. Consider an organization having UI developer team who will be coordinating with the Backend service team, who will in-turn depend upon the DB team managing the database.</p><p>Then they choose an architectural style similar to the below image,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/627/1*ukb6K25X91HkDAWqPcevdQ.png" /><figcaption>Layered architecture</figcaption></figure><p>The domain object will be traversing the entire architecture layers. When they try to make a change to any specific domain code which belongs to a particular module, even a simple cosmetic change, would require the entire application to be rebuilt, tested and deployed as a whole. Some changes would require the entire application to be system tested at least to a minimal level before shipping, increasing the time and resource cost.</p><p>Below are some of the monolithic architectures widely used in several organizations to save the time and cost incurred to architect and design, but difficult to maintain.</p><ul><li>Layered architecture (N-Tier)</li><li>Pipeline architecture (pipes and filters)</li><li>Microkernel architecture (plugin)</li></ul><h4>Distributed means multiple deployment units connected through remote access protocols.</h4><p>Domain driven design is a very commonly used approach to explain about the distributed architecture. When an organization is dealing with the products which have priorities over architectural characteristics like Scalability, Availability, Reliability, Security, Performance, Deployability, Testability, etc., so that their end customers are served without any interruption of their services, they choose a distributed system. Unlike traditional monolith which deals with the technical separation, we get a horizontal separation of domains. The above layer separation is replicated to every domain.</p><p>There are certain ways in which they can be achieved.</p><ul><li>Service-based architecture</li><li>Event-driver architecture</li><li>Space-based architecture</li><li>Service-oriented architecture</li><li>Microservices architecture</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*b1u9LcdXa0wF3reRb1CZzw.png" /><figcaption>Domain driver design</figcaption></figure><p>There are some <em>fallacies </em>in distributed computing.</p><h3>#1 Network is reliable</h3><p>Every distributed architectural style has network coming into play between the separation of individual layers. Consider a service is hosted in a separate host machine has to be accessed by the User interface (web browser or native app), then this can only be achieved by sending messages in a certain format (REST, SOAP, RPC, etc.,) between these hosted 2 layers. Then obviously network is the primary role player in this architecture. Unlike monolith where the layers reside in a single system, distributed layers should communicate reliably to exchange information. Frequent network disconnections could make the entire system to fail and unusable.</p><h3>#2 Latency is 0</h3><p>We have the network, OK, but what about its speed. Consider your organization is setting up a distributed system in a 3rd party client environment, where there exists a network with higher latency. If you are developing a service based application which responds to a browser application and you have implemented RPC protocol for communication, which has a ping mechanism to check if the service is connected or not. If the latency is higher then it might lose certain pings to be reached in a definite time and enters into a timeout phase frequently until disconnection.</p><h3>#3 Bandwidth is infinite</h3><p>In the same above example, consider there are around 1000 employees who use the same browser application which are currently interacting simultaneously with the hosted service. If a single browser app sends and retrieves 1 MB of data, then 1000 browsers will be communicating 1000 MB of data at a time. What happens if there are more recruitments happening and still more 1000 added who will be adding another 1000 MB of data in the network which increases the contention. The internal design of the system should be able to restrict the amount of data sent, by filtering the actuals from the whole set, instead of sending the entire set.</p><h3>#4 Network is secure</h3><p>Once we place an application communicated over the network, it is not safe. The endpoints which are exposed internally as well as to outside networks through VPN, where an employee could access the system from WFH scenarios, should be secured enough. The architect have a tendency to forget about security with firewalls and circuit breakers in place which will be managed by the internal IT team. The architect should have frequent communication with IT team to check about the types of attacks they have already went through and the resolution provided to incorporate them in their own system, by employing a <em>fitness function</em> to validate the security principle during Continuous integration.</p><h3>#5 Network is homogenous</h3><blockquote>“Assumptions are the cause of all issues than introspection and interrogation”</blockquote><blockquote>— myself👻</blockquote><p>Developers tends to assume that all the network hardware vendors are same, as they support the same network topology. Its not true for all cases. This ties back to all of the other above fallacies.</p><p>We have seen the fallacies, but what about handling certain common features like logging and transactions posted to a database in a distributed world.</p><h4>Distributed logging</h4><p>An architect should consider about the distributed nature of the system, and how the maintenance team is able to pin point an issue and resolve at the earliest by going through the logs available at different endpoints in the system. There are several logging consolidation tools to aggregate the log data and provide the analysis results in a neat user interface. <a href="https://www.splunk.com/">www.splunk.com</a></p><h4>Distributed transaction</h4><p>Monoliths deals with database transactions in an efficient automated manner using ACID. Distributed systems dealing with distributed services should be able to provide a programmatic way of dealing with the database transactions. Similar to ACID in RDBMS, there is a term called BASE which deals with the distributed transactions in non relational databases.</p><p>B — Basic Availability S — Soft state E — Eventual consistency</p><p>In distributed system like microservices, it is not possible to perform an ACID transaction, as the consistency is not immediate, but it will be achieved at an undefined point of time, when the system reaches an idle state, or when there is a data retrieval operation from the front end service. The database service should be available for performing the Read/Write operations, and it should maintain a state which could be rollbacked if there is a failure in any one of the subsequent transaction in dependent services fails and it should maintain the consistency eventually.</p><p><a href="https://microservices.io/patterns/data/saga.html"><em>Transactional sagas</em></a> is such a design pattern which deals with the management of distributed transaction.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=85a30f0b6bb8" width="1" height="1" alt=""><hr><p><a href="https://medium.com/redive/software-architect-ii-distributed-architecture-85a30f0b6bb8">Software Architect — II — Distributed Architecture</a> was originally published in <a href="https://medium.com/redive">Origins</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Software Architect — I]]></title>
            <link>https://medium.com/redive/software-architect-i-c54327f34f6c?source=rss-8161bc3be8a9------2</link>
            <guid isPermaLink="false">https://medium.com/p/c54327f34f6c</guid>
            <category><![CDATA[design-thinking]]></category>
            <category><![CDATA[book-recommendations]]></category>
            <category><![CDATA[software-architecture]]></category>
            <category><![CDATA[software-architect]]></category>
            <dc:creator><![CDATA[Hari Prasad]]></dc:creator>
            <pubDate>Wed, 17 Nov 2021 13:29:07 GMT</pubDate>
            <atom:updated>2021-11-17T13:29:07.737Z</atom:updated>
            <content:encoded><![CDATA[<h3>Software Architect — I</h3><p>Do you know what are the roles and responsibilities a software architect plays? Do you even know about the actual definition of an architect? Even you do a google search about Software architect, you get different definitions and they explain certain roles and responsibilities which were defined by a specific organization. And it varies across different organization. So who is a software architect really?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*xDabbw7CC3o-xu0M" /><figcaption>Photo by <a href="https://unsplash.com/@homajob?utm_source=medium&amp;utm_medium=referral">Scott Graham</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><blockquote>Architecture is about the important stuff… Whatever that is. — Ralph Johnson</blockquote><p>The base of this article is from the book, <strong>“The Fundamentals of Software architecture” </strong>written by<strong> </strong><em>Mark Richards &amp; Neal Ford. </em>I do recommend to learn from this book. The one which I have explained here are some of the snippets from the actual book.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/248/1*dhyc2pmfnKMFmriHsqCW3A.png" /><figcaption>Fundamentals of Software Architecture — Image from Thoughtworks.com</figcaption></figure><h3>What is a Software Architecture?</h3><p>In order to understand fully about an architecture of a system, one should be familiar with the</p><ul><li>Architectural Characteristics</li><li>Architectural decisions and</li><li>Design principles</li></ul><p><strong>Architectural characteristics</strong> define the success criteria of a system. For e.g. Availability, Reliability, Performance, Deployability, Testability, Scalability, Security, etc.,</p><p><strong>Architectural decisions</strong> define the design decisions the architect takes, along with trade-offs. If one cannot implement an architectural decision at some part of the system due to some constraint, then it is called a <em>Variance</em>.</p><blockquote>Everything in software architecture is a tradeoff. — First law of Software Architecture</blockquote><blockquote>Why is more important than How — Second law of Software Architecture</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/225/1*JuvPa6GiDfyPAASiaMkzWA.png" /><figcaption>Apache Kafka — Event queues</figcaption></figure><p><strong>Design principles</strong> differs from the architectural decisions. It is a guidance that the development team should leverage. Architect will not decide the technology but only the design which they should be achieving. For e.g. consider the architect provides a guidance to the development team that they should be implementing an event queuing mechanism (follows Pub/Sub pattern) for microservices which handles database transactions, where the network connection is not reliable and event queuing can prevent the loss of transaction by queuing the transactions in an event log and later publishes the transactions once the network connection is established. The development team can choose the best event queue technology available or the one they have knowledge.</p><h3>Expectations of an Architect</h3><p>Defining the role of an architect is difficult to allocate him in a confined space. There are some expectations defined by the author as below.</p><ul><li>Make architecture decisions</li><li>Continually analyze the architecture</li><li>Keep current with latest trends</li><li>Ensure compliance with decisions</li><li>Diverse exposure and experience</li><li>Having business domain knowledge</li><li>Possess interpersonal skills</li><li>Understand and navigate politics :smirk:</li></ul><p>Nothing in a software world is static. An architect may design a system to meet certain criteria, but that design must survive the changes driven by the business requirements. So he must develop an <em>Evolutionary architecture</em>. How can he validate that the changes doesn’t affect the existing architectural characteristics, decisions and design principles? Using <em>Fitness functions</em>. It is a metric which tells whether the architecture still holds its abilities even after the change is made. For every change pushed by the developer, the CI system should run the<em> fitness function</em> to validate the architecture.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*QGyFNcZG8pTFCP9aHD4oHA.jpeg" /><figcaption>Fitness Function</figcaption></figure><h3>Analyzing Trade-offs</h3><p>As a software developer, he/she is expected to have technical depth over the technology he/she knows or experienced with. A developer is not expected to have knowledge over different technologies as he should be able to implement business solutions and solve critical issues in an application which is developed using a preferred technology. But it is a developer’s choice to have knowledge in multiple technologies (e.g. Full stack developer).</p><p>Every software programmer knows about certain technology stuff. But he also knows about the lack of knowledge in certain technologies. Also he might lack knowledge in the technology stuffs which he even not aware off.</p><p>As a Software Architect, he/she is expected to have technical depth in a particular technology but also should have technical breadth over wide range of available technologies, to know about the pros and cons of different technologies and analyze the trade-offs in choosing a particular technology for an architectural solution.</p><blockquote>Architecture is the stuff you cant google — Mark Richards</blockquote><p>One should know about multiple solutions existing for a certain problem and also the trade-offs in using each one of them. Consider the architect decides to use pub/sub pattern. For this there are multiple solutions existing,</p><ol><li>Streaming the data</li><li>Event aggregation</li><li>AMQP</li><li>publishing Topics (MQTT)</li></ol><p>For each of the solution, he/she should be able to analyze the pros and cons and guide the development team in implementing the best solution which is satisfying the characteristics of a business problem.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/747/1*X1Iw6ePrfvrUGp5CZXsL8w.png" /><figcaption>Technical Breadth and Depth</figcaption></figure><h3>Metrics</h3><p>There are certain metrics like <em>LCOM </em>(Lack of cohesion in methods), afferent /efferent Coupling, varieties of Connascence, Abstraction and Instability which were explained in detailed within the book. I would recommend to read it than to be explained here. May be you can search over these concepts to learn about the fitness functions and metrics which deals with the success criteria of an architecture.</p><p>There is nothing called a <strong>generic architecture</strong>. One cannot define it as it is an anti-pattern and it has its own complexities in maintaining a complete characteristics in a single architecture.</p><pre>Remember, An architecture is about trade-offs.</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c54327f34f6c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/redive/software-architect-i-c54327f34f6c">Software Architect — I</a> was originally published in <a href="https://medium.com/redive">Origins</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[.Net — Memory Management (Arrays)]]></title>
            <link>https://medium.com/redive/net-memory-management-arrays-ec8b80089607?source=rss-8161bc3be8a9------2</link>
            <guid isPermaLink="false">https://medium.com/p/ec8b80089607</guid>
            <category><![CDATA[memory-management]]></category>
            <category><![CDATA[dotnet]]></category>
            <category><![CDATA[performance]]></category>
            <category><![CDATA[dot-net-framework]]></category>
            <category><![CDATA[arrays]]></category>
            <dc:creator><![CDATA[Hari Prasad]]></dc:creator>
            <pubDate>Sun, 14 Nov 2021 08:47:54 GMT</pubDate>
            <atom:updated>2021-11-14T08:47:54.662Z</atom:updated>
            <content:encoded><![CDATA[<h3>.Net — Memory Management (Arrays)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YdhA6bzN_P25EvPKjyNGgA.jpeg" /></figure><p>If you use <strong>serialization </strong>and <strong>de-serialization</strong> of arrays (or) <strong>re-creating arrays</strong> multiple times in your application (or) use arrays while <strong>receiving data from Serial Com / Ethernet</strong> by listening to receiving events, then this article is for you!</p><p>We use arrays when we need to store primitive list of data, while transferring data from source to destination, to compute a series of operations, sorting and merging of data. But it has its own cons of memory utilization and performance deprivation if not used efficiently. Arrays are <strong><em>referenced types</em></strong>. While creating an array, CLR allocates a series of memory objects which will be traversed to access individual memory objects.</p><p>Lets look how <strong>GC </strong>impacts our array creations. We know that GC maintains a heap of memory objects in 3 generations. But every time when the memory object reaches Gen 0 and is not currently in use within the application, then the memory object will be garbage collected, leading to utilize some time to collect those objects.</p><h3>Performance</h3><p>While GC starts to collect the memory objects, then it will pause the application thread for a certain amount of time (<em>usually in </em><strong><em>milliseconds</em></strong>). Consider your application creates new array instances for every API request to process your inputs or to return array of data objects. For e.g. the API receives 100k requests at a time, so it creates 100k instances, and when the API request gets completed they were sequentially garbage collected. So when the GC happens to collect the unused memory (<strong><em>consider GC collects after serving every 100 requests</em></strong>), then the API will see some reduction in performance (<strong><em>API will be paused for every 100 requests served</em></strong>).</p><h3>Memory Utilization</h3><p>Each time the app creates a new array instance, it allocates a predetermined amount of memory based on the size of the array. Consider in the above example, the API creates 100k array instances. Memory will be allocated proportionately based on the size of the array of each instance. If the API runs in low memory conditions, then receiving more requests to it will in-turn creates absolute sizes of memory, utilizing more memory which might be needed for other object allocations, and might lead to <strong><em>Out of memory</em></strong> condition.</p><h3>Analysis with PerfView</h3><p>To explain the downsides, I have created a console application, which will create <strong><em>byte[]</em></strong><em> </em>of size 255 and loops it for 1000k times. Refer the below GitHub page for viewing the complete application.</p><p><a href="https://github.com/harilachu/ConsoleTry/blob/main/MemoryManagement/ByteArrayManagement.cs">ConsoleTry/ByteArrayManagement.cs at main · harilachu/ConsoleTry</a></p><p>Method <strong><em>SimulateCreationOfByteArrays </em></strong>will create new byte[] of provided length and loops it for supplied <strong><em>executionCount</em></strong>.</p><pre>for(int i = 0; i &lt; executionCount; i++){</pre><pre>  <strong>CreateByteArrays</strong>(length);</pre><pre>  <strong>LoadByteArray</strong>(_newlyCreatedByteArray);</pre><pre>}</pre><pre>private void <strong>CreateByteArrays</strong>(int length){</pre><pre>     _newlyCreatedByteArray = <strong>new byte</strong>[length];</pre><pre>}</pre><p>I have used <strong><em>PerfView</em></strong><em> </em>the high speed performance analyzer tool which uses Event tracing for Windows (ETW). It can be downloaded from <a href="https://github.com/microsoft/perfview">GitHub</a>. And you can find several videos in Youtube talking about how to use this tool, as well as in-built documentation in same tool.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6n-lw3Bm3miUWmEYF74loQ.png" /><figcaption>GC Heap alloc for Array initializations</figcaption></figure><p>The above image shows the heap allocations made by creating 1000k array instances each of size 255.</p><h4>It leads to allocation of <strong>544 MB </strong>which is huge !</h4><p>It also provides below <strong><em>GCStats </em></strong>(This includes generation of both Array and ArrayPool explained in next header)</p><ul><li>Total CPU Time: 2,704 msec</li><li>Total GC CPU Time: 15 msec</li><li>Total Allocs : 557.875 MB</li><li>GC CPU MSec/MB Alloc : 0.027 MSec/MB</li><li>Total GC Pause: 81.7 msec</li><li>% Time paused for Garbage Collection: 0.6%</li><li>% CPU Time spent Garbage Collecting: 0.6%</li></ul><h3>Efficient Solution</h3><p>To serve the above explained purpose, .Net provides <a href="https://docs.microsoft.com/en-us/dotnet/api/system.buffers.arraypool-1?view=net-5.0"><strong>ArrayPool&lt;T&gt;</strong></a> which is present in <em>System.Buffers </em>namespace. ArrayPool&lt;T&gt; is inherited from <em>System.Object. </em>Being an abstract class, it provides a shared singleton instance to use its base methods to retrieve (<strong><em>Rent</em></strong>) and release (<strong><em>Return</em></strong>) the array instances from an existing pool. Array pool instance is created only once by using <strong><em>Create </em></strong>method</p><pre>ArrayPool&lt;T&gt;.<strong>Create </strong>(or) ArrayPool&lt;T&gt;.<strong>Create</strong>(int, int) </pre><p>Both methods create a singleton instance which can be accessed by <strong>Shared </strong>property.</p><pre>ArrayPool&lt;T&gt;.<strong>Shared</strong></pre><p>From same above GitHub example, the method named <strong><em>SimulateCreationOfByteArrayPool </em></strong>will be creating the pooled instance, Rents the Array of specified size, Loads the array and Returns the array back to the ArrayPool. The same Rent/Load/Return is looped for give <strong><em>executionCount </em></strong>times.</p><pre><strong>CreateByteArrayPool</strong>(length);</pre><pre>for (int i = 0; i &lt; <strong>executionCount</strong>; i++){</pre><pre>     <strong>RentByteArrayPool</strong>(length);</pre><pre>     <strong>LoadByteArray</strong>(_pooledByteArray);</pre><pre>     <strong>ReleaseByteArrayPool</strong>(_pooledByteArray);</pre><pre>}<br>------------------------------------------------------------</pre><pre>private void <strong>CreateByteArrayPool</strong>(int length){</pre><pre>         byteArrayPool = <strong>ArrayPool&lt;byte&gt;.Create</strong>(length, maxArraysPerBucket);</pre><pre>}</pre><pre>private void <strong>RentByteArrayPool</strong>(int length){</pre><pre>      _pooledByteArray = byteArrayPool.<strong>Rent</strong>(length);</pre><pre>}<br>private void <strong>ReleaseByteArrayPool</strong>(byte[] aByte){</pre><pre>       byteArrayPool.<strong>Return</strong>(aByte, true);</pre><pre>}</pre><p>Lets look at the PerfView GC heap alloc for the above code.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3ICcrwCBm-x4_3HdRvoe5A.png" /><figcaption>GC Heap alloc for ArrayPool</figcaption></figure><p>The above image shows that the memory allocation is done only once, during the Pool creation.</p><h4>This leads to allocation of only 1 MB of memory !</h4><p>Which is a significant reduction from 554MB in previous case which also impacted performance by GC collection.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ec8b80089607" width="1" height="1" alt=""><hr><p><a href="https://medium.com/redive/net-memory-management-arrays-ec8b80089607">.Net — Memory Management (Arrays)</a> was originally published in <a href="https://medium.com/redive">Origins</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>