<?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 Najmus Saqib on Medium]]></title>
        <description><![CDATA[Stories by Najmus Saqib on Medium]]></description>
        <link>https://medium.com/@nsaqib?source=rss-6160ebc7c079------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*WwbG9IZJt1TAO_V78kdonA.jpeg</url>
            <title>Stories by Najmus Saqib on Medium</title>
            <link>https://medium.com/@nsaqib?source=rss-6160ebc7c079------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 09:55:09 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@nsaqib/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[The Window and the Mirror: How great leaders get lucky]]></title>
            <link>https://short.sweet.pub/the-window-and-the-mirror-how-great-leaders-get-lucky-ab1a598d4d96?source=rss-6160ebc7c079------2</link>
            <guid isPermaLink="false">https://medium.com/p/ab1a598d4d96</guid>
            <category><![CDATA[scaleup]]></category>
            <category><![CDATA[success]]></category>
            <category><![CDATA[startup]]></category>
            <category><![CDATA[good-to-great]]></category>
            <dc:creator><![CDATA[Najmus Saqib]]></dc:creator>
            <pubDate>Thu, 29 Feb 2024 09:11:02 GMT</pubDate>
            <atom:updated>2024-02-29T09:11:02.629Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*cfgf-MpWE1lBMgxE" /><figcaption>Photo by Nick Fewings on Unsplash</figcaption></figure><p>People have conflicting views on the importance of luck factor in the success of individuals and companies. Jim Collins, author of “<strong>Good to Great</strong>: Why Some Companies Make the Leap and Others Don&#39;t” mentions that great leaders and executives emphasized a lot on good luck in their interviews. While the not so great leaders put substantial blame on bad luck. The author was puzzled by this pattern. He named this behavior as “The Window and the mirror” and summarized it as follows</p><blockquote>Level 5 leaders look out the window to apportion credit to factors outside themselves when things go well (and if they cannot find a specific person or event to give credit to, they credit good luck). At the same time, they look in the mirror to apportion responsibility, never blaming bad luck when things go poorly.</blockquote><p>A key takeaway here is the attitude and mindset of the great leaders. From the outside, we may perceive their success as a singular grand event. In reality that great success is the culmination of many micro-events involving both success and failures. How they behaved on these micro events paved their way towards great success. Their humility, accountability, and resilience ultimately cultivate the very good luck they appear to possess.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ab1a598d4d96" width="1" height="1" alt=""><hr><p><a href="https://short.sweet.pub/the-window-and-the-mirror-how-great-leaders-get-lucky-ab1a598d4d96">The Window and the Mirror: How great leaders get lucky</a> was originally published in <a href="https://short.sweet.pub/">Short. Sweet. Valuable.</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Lindy Effect — Write software for the past to make it work in the future]]></title>
            <link>https://short.sweet.pub/the-lindy-effect-write-software-for-the-past-to-make-it-work-in-the-future-4b1340751dc7?source=rss-6160ebc7c079------2</link>
            <guid isPermaLink="false">https://medium.com/p/4b1340751dc7</guid>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[engineering-mangement]]></category>
            <category><![CDATA[software-architecture]]></category>
            <dc:creator><![CDATA[Najmus Saqib]]></dc:creator>
            <pubDate>Sun, 15 Oct 2023 02:03:15 GMT</pubDate>
            <atom:updated>2024-02-20T06:32:12.190Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*OFaVFiW_JU5aMRxQ" /><figcaption>Photo by <a href="https://unsplash.com/@rossfindon?utm_source=medium&amp;utm_medium=referral">Ross Findon</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>A great idea that Nassim Taleb has popularized is <strong>The Lindy effect</strong>. It proposes that</p><blockquote>the longer something has survived to exist or be used in the present, the longer its remaining life expectancy is</blockquote><p>Nassim’s application of the concept to his book writing is intriguing. If you want people to read your book 20 years from now, make sure it could be read 20 years ago. Project yourself backward in time. It’s much easier than going forward.</p><p>This concept challenges the prevailing trends in software engineering. People often go for cutting-edge tools and frameworks with the best performance benchmarks, and tons of new features and most importantly, tech influencers are talking about them. Choosing this path can lead you towards a technology that’s easy to start with but hard to maintain in production in the long run. You may run into a rabbit hole of backward incompatible upgrades. In the worst case, you’ll end up rewriting it again after a few years.<br> <br>Conversely choosing your technology stack based on the Lindy effect can help you write software that’s easier to maintain. It’s battle-tested and has fewer unknowns. Your developers will be part of a larger community. You’ll have a vast ecosystem of tools that work with your stack.</p><p>The most significant benefit is that it gives you extra time to work on your product. While you may not be working on cutting-edge tech you’ll be working on profitable tech. You’ll have more time to create value for your customers and the company — A clear win-win strategy. Just a 13-person team at <strong>Instagram </strong>created a great product and served tens of millions of users because they <a href="https://instagram-engineering.com/what-powers-instagram-hundreds-of-instances-dozens-of-technologies-adf2e22da2ad">stuck to proven technologies</a>.</p><p>These are my reflections on applying the Lindy effect. What are your thoughts on its application in software engineering?</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4b1340751dc7" width="1" height="1" alt=""><hr><p><a href="https://short.sweet.pub/the-lindy-effect-write-software-for-the-past-to-make-it-work-in-the-future-4b1340751dc7">The Lindy Effect — Write software for the past to make it work in the future</a> was originally published in <a href="https://short.sweet.pub/">Short. Sweet. Valuable.</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The big data conundrum — Searching for the hidden data in your big data]]></title>
            <link>https://faun.pub/the-big-data-conundrum-searching-for-the-hidden-data-in-your-big-data-aa830aed8be6?source=rss-6160ebc7c079------2</link>
            <guid isPermaLink="false">https://medium.com/p/aa830aed8be6</guid>
            <category><![CDATA[entrepreneurship]]></category>
            <category><![CDATA[data-analysis]]></category>
            <category><![CDATA[big-data]]></category>
            <category><![CDATA[customer]]></category>
            <category><![CDATA[product-management]]></category>
            <dc:creator><![CDATA[Najmus Saqib]]></dc:creator>
            <pubDate>Fri, 08 Sep 2023 09:32:13 GMT</pubDate>
            <atom:updated>2023-09-08T09:32:13.477Z</atom:updated>
            <content:encoded><![CDATA[<h3>The big data conundrum — Searching for the hidden data in your big data</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/717/1*7gMg1Xt-RnNmI4T_IeJNhA.png" /><figcaption><a href="https://twitter.com/dschan02/status/1679308710353465349">https://twitter.com/dschan02/status/1679308710353465349</a></figcaption></figure><p>The thread above has a thought-provoking perspective for entrepreneurs and product managers. User behavior metrics are not just numbers. Every metric has a story. They have psychological and emotional factors attached to them waiting to be unveiled. Focusing on those can help us gain insights into the behaviors and desires of users. Relying solely on metrics would result in treating customers just as numbers.</p><p>In his book <a href="https://www.goodreads.com/book/show/25663776-small-data">Small Data: The Tiny Clues that Uncover Huge Trends</a>, Martin Lindstrom tells how big data collected through surveys and metrics often misses significant pieces of information. He narrates several stories of how he was able to gain key insights about users’ desires by observing their lifestyles. This way he helped several brands make an emotional connection with their customers and build multi-million dollar products.</p><p>An important reason for <a href="https://www.cloudways.com/en/">Cloudway’s</a> success in attracting hundreds of thousands of customers and competing with the giants is keeping the right balance between big data and small data. PaaS and Managed hosting is a difficult industry. On one side of the spectrum, customers want an interface that enables them to change any aspect of their apps. At the same time, customers from the other side of the spectrum want apps that work seamlessly with zero customization. Amidst all these varying user requirements we were also tapping into different metrics like NPS, AARRR, <a href="https://sre.google/sre-book/monitoring-distributed-systems/#xref_monitoring_golden-signals">four golden signals of monitoring</a> and usage metrics. Relying only on these metrics would have turned the product into a feature factory. What guided us towards developing the right set of features was the strong connection of the entire organization with customers.</p><p>It may seem common sense to connect with customers during product development but it’s surprisingly easy to overlook small details when you have lots of metrics to look into, interactive dashboards to play with and concrete numbers to back concrete decisions.</p><p>Keeping an eye on small data also prevents you from falling into traps associated with big data analysis. Usually, I’ve found people falling into these two traps.</p><h4>1 - Survivorship bias</h4><p>Survivorship bias is a cognitive bias that occurs when we focus only on the individuals or things that have “survived” a particular process or experience while overlooking those that did not. This bias can lead to faulty conclusions because the data is skewed towards successful outcomes, neglecting the valuable insights from failures or non-survivors.</p><p>You might be asking the users for feedback when they are churning out from your product but the most frustrated user might not take the time to provide feedback. You are collecting logs whenever your web app crashes but you don’t get any logs when even the log collection process fails in your app.</p><h4>2 - Correlation does not imply causation</h4><p>A typical example of this is the strong correlation between ice cream consumption and shark attacks. Does eating ice cream make you taste better? So, you consume the ice cream and the shark consumes you. On the contrary, the correct explanation is that it’s seasonal. When it’s warmer, more people eat ice cream and more people swim in the ocean.</p><p>In the book <a href="https://www.amazon.com/Accelerate-Software-Performing-Technology-Organizations/dp/1942788339">Accelerate: The Science of Lean Software and DevOps</a>, the authors have given another good example</p><blockquote>per capita cheese consumption is highly correlated with the number of people who died by becoming tangled in their bedsheets … Surely cheese consumption doesn’t cause strangulation by bedsheets. (And if it does — what kind of cheese?) It would be just as difficult to imagine strangulation by bedsheets causing cheese consumption — unless that is the food of choice at funerals and wakes around the country. (And again: What kind of cheese? That is a morbid marketing opportunity.) And yet, when we go “fishing in the data,” our minds fill in the story because our datasets are related and so often make sense. This is why it is so important to remember that correlation is only the exploratory stage: we can report correlations, and then we move on to more complex analyses.</blockquote><p>It’s important to know the scope and limits of the methodology before using it. Big data is no exception. It can tell what is happening, and what the user is doing. It can’t tell why it’s happening. What’s the user&#39;s intention? This article is a gentle reminder that the core part of a successful business is solving customer problems. You can’t identify and solve customers’ issues without connecting with them on a deeper level. Please share your thoughts if you think there are other factors that impede our ability to fully unlock the potential of big data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*S9osLi5TzdkIQcgp.png" /></figure><h4>👋 If you find this helpful, please click the clap 👏 button below a few times to show your support for the author 👇</h4><h4>🚀<a href="http://from.faun.to/r/8zxxd">Join FAUN Developer Community &amp; Get Similar Stories in your Inbox Each Week</a></h4><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=aa830aed8be6" width="1" height="1" alt=""><hr><p><a href="https://faun.pub/the-big-data-conundrum-searching-for-the-hidden-data-in-your-big-data-aa830aed8be6">The big data conundrum — Searching for the hidden data in your big data</a> was originally published in <a href="https://faun.pub/">FAUN.dev() 🐾</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[SQL Optimization— A forgotten skill]]></title>
            <link>https://faun.pub/sql-optimization-a-forgotten-skill-65106530347b?source=rss-6160ebc7c079------2</link>
            <guid isPermaLink="false">https://medium.com/p/65106530347b</guid>
            <category><![CDATA[simplicity]]></category>
            <category><![CDATA[database]]></category>
            <category><![CDATA[architecture]]></category>
            <dc:creator><![CDATA[Najmus Saqib]]></dc:creator>
            <pubDate>Fri, 02 Jun 2023 22:20:19 GMT</pubDate>
            <atom:updated>2023-06-05T07:22:24.871Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="If all this effort developers put into learning Kubernetes they would put instead into learning Postgres &amp; SQL, the world would be a better place." src="https://cdn-images-1.medium.com/max/780/1*KfsoEXCFvRrZVY3R2a7WPQ.png" /><figcaption><a href="https://twitter.com/maciejwalkowiak/status/1638786485775212545">https://twitter.com/maciejwalkowiak/status/1638786485775212545</a></figcaption></figure><p>When you start building an app or a product you have simple business logic and a small amount of data. As your product grows, business logic evolves and the volume of data increases. In such situations, switching from traditional DBs (MySQL, PostgreSQL) to some other shiny and cutting-edge solution is tempting.</p><p>This new solution may advertise excellent benchmarks but are these benchmarks in accordance with the nature of your dataset? probably not. The new tool promises several benefits but are these in accordance with the <a href="https://en.wikipedia.org/wiki/CAP_theorem">CAP theorem</a> and <a href="https://en.wikipedia.org/wiki/Fallacies_of_distributed_computing">Fallacies of distributed computing</a>? Probably not. Is this tool going to add complexity and layers to your system? Most probably yes. Data is a sensitive asset and distributed computing is complicated.</p><h3>Dare Obasanjo🐀 on Twitter: &quot;Promotion driven development is really the bane of tech companies. You don&#39;t get promoted for building simple things that will work so you build complex things that might work. / Twitter&quot;</h3><p>Promotion driven development is really the bane of tech companies. You don&#39;t get promoted for building simple things that will work so you build complex things that might work.</p><p>Current Relational Database Management Systems have benefited from decades of research and continuous improvements. They possess a wealth of features and capabilities to offer. Acquiring in-depth skills in MySQL or similar RDBMS can empower you to efficiently manage and harness your data without introducing additional layers to your infrastructure.</p><p>Recently I learned the following features in MySQL and found them quite useful</p><ul><li>MySQL Locking functions <a href="https://dev.mysql.com/doc/refman/5.7/en/locking-functions.html">https://dev.mysql.com/doc/refman/5.7/en/locking-functions.html</a></li><li><a href="https://planetscale.com/blog/why-isnt-mysql-using-my-index">Selectivity and cardinality of indexes</a></li><li>Database as <a href="https://twitter.com/tobias_petry/status/1647509682917892097">queues</a>. Cloudways has been using it since the beginning and it has scaled seamlessly.</li><li>JSON columns and <a href="https://dev.mysql.com/doc/refman/5.7/en/json-function-reference.html">functions</a></li><li><a href="https://learnsql.com/blog/sql-recursive-cte/">Recursive CTEs</a> Very useful for creating reports from hierarchical data</li><li><a href="https://www.amazon.com/Designing-Data-Intensive-Applications-Reliable-Maintainable/dp/1449373321">Designing Data-Intensive Applications</a> by Martin Kleppmann is an excellent read which details several complexities of data management and how MySQL, PostgreSQL, Oracle, etc. handle them</li></ul><p>In today’s landscape, developers compete with AI-powered No-Code tools. Trying to outmatch AI in the number of known tools and technologies is not feasible. Instead, focusing on a deep understanding of our existing systems enables us to leverage their full potential. It provides a significant advantage and enables us to create innovative and effective solutions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*0JLiY66VKdAXTOhp.png" /></figure><h4>👋 If you find this helpful, please click the clap 👏 button below a few times to show your support for the author 👇</h4><h4>🚀<a href="http://from.faun.to/r/8zxxd">Join FAUN Developer Community &amp; Get Similar Stories in your Inbox Each Week</a></h4><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=65106530347b" width="1" height="1" alt=""><hr><p><a href="https://faun.pub/sql-optimization-a-forgotten-skill-65106530347b">SQL Optimization— A forgotten skill</a> was originally published in <a href="https://faun.pub/">FAUN.dev() 🐾</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The coefficient of expansion for Organizations]]></title>
            <link>https://faun.pub/the-coefficient-of-expansion-for-organizations-73f8429280bb?source=rss-6160ebc7c079------2</link>
            <guid isPermaLink="false">https://medium.com/p/73f8429280bb</guid>
            <category><![CDATA[process]]></category>
            <category><![CDATA[scale]]></category>
            <category><![CDATA[growth]]></category>
            <category><![CDATA[people]]></category>
            <category><![CDATA[growth-mindset]]></category>
            <dc:creator><![CDATA[Najmus Saqib]]></dc:creator>
            <pubDate>Thu, 04 May 2023 12:14:38 GMT</pubDate>
            <atom:updated>2023-05-30T21:43:49.313Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*e5VoTMnkjsBisHko" /><figcaption>Photo by <a href="https://unsplash.com/@goumbik?utm_source=medium&amp;utm_medium=referral">Lukas Blazek</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>As a product scales, the team or organization responsible for building it has to go through different working modes. The organization’s ability to grow and succeed is directly related to the adaptability of its workforce to these various modes. These modes can be broadly categorized into two types: wartime and peacetime</p><p>During wartime, organizations often rely on ad-hocism and heroism. Domain boundaries between people and organizations are thin. This results in maximum speed. However, if an organization continues to operate in this mode for extended periods, it can lead to a tired and exhausted workforce that is unable to retain territories that have already been conquered.</p><p>Transitioning from wartime to peacetime requires a mindset shift. It may feel boring but it offers valuable opportunities for process improvements. While your wartime strategies may have been effective, there’s always room for improvement. As the saying goes, “Good is the enemy of great.” To move forward, it’s essential to re-address fundamentals.</p><p>Maintaining a balance between wartime and peacetime mode is crucial. It’s like a pendulum that swings back and forth, with each extreme carrying its own risks and benefits. Wartime demands urgency and quick decision-making, but it can also lead to burnout and mistakes. Peacetime, on the other hand, offers stability and opportunities for reflection and improvement, but it can also breed complacency and stagnation. Striking a balance between the two modes of operation is essential for achieving sustainable success.</p><p>A common example of this transition is customer support. In the initial phases, anyone from the team jumps in to resolve individual customer issues irrespective of their JD and working hours but during peacetime, you’ll have to create processes and SOPs for customer support. Please do share the peacetime transition experiences you had while scaling your products.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*zJokU9MPdwYJuliG.png" /></figure><h4>👋 If you find this helpful, please click the clap 👏 button below a few times to show your support for the author 👇</h4><h4>🚀<a href="http://from.faun.to/r/8zxxd">Join FAUN Developer Community &amp; Get Similar Stories in your Inbox Each Week</a></h4><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=73f8429280bb" width="1" height="1" alt=""><hr><p><a href="https://faun.pub/the-coefficient-of-expansion-for-organizations-73f8429280bb">The coefficient of expansion for Organizations</a> was originally published in <a href="https://faun.pub/">FAUN.dev() 🐾</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The paradigm shift in system design patterns]]></title>
            <link>https://faun.pub/the-paradigm-shift-in-system-design-patterns-59df51d462ce?source=rss-6160ebc7c079------2</link>
            <guid isPermaLink="false">https://medium.com/p/59df51d462ce</guid>
            <category><![CDATA[cloud]]></category>
            <category><![CDATA[system-design-concepts]]></category>
            <category><![CDATA[architecture]]></category>
            <category><![CDATA[simplicity]]></category>
            <dc:creator><![CDATA[Najmus Saqib]]></dc:creator>
            <pubDate>Tue, 21 Mar 2023 16:32:17 GMT</pubDate>
            <atom:updated>2023-03-21T16:32:17.764Z</atom:updated>
            <content:encoded><![CDATA[<p>The tech industry has been experiencing a rough patch in recent quarters. The recent Silicon Valley Bank fiasco suggests that the situation may worsen. The economic crisis is not only impacting companies and individuals but it has cascading effects on the technical solutions as well.</p><p>Lots of <em>best practices</em> around system design are now being changed. Recent layoffs and hiring freezes have made it challenging for companies to manage complex and multi-layered solutions. Interestingly this turned out to be good for tech companies. In a recent <a href="https://about.fb.com/news/2023/03/mark-zuckerberg-meta-year-of-efficiency/">update</a> from Meta, Mark Zuckerberg shared a similar view.</p><blockquote>Since we reduced our workforce last year, one surprising result is that many things have gone faster. In retrospect, I underestimated the indirect costs of lower priority projects.</blockquote><p>There is a noticeable trend among influential individuals in technology who are thinking alike, and their ideas around simplicity are receiving a considerable amount of attention.</p><h3>Maciej Walkowiak 🍃 on Twitter: &quot;This microservice could have been a SQL query / Twitter&quot;</h3><p>This microservice could have been a SQL query</p><h3>Alex Hidalgo on Twitter: &quot;Autoscaling is an anti-pattern. / Twitter&quot;</h3><p>Autoscaling is an anti-pattern.</p><h3>Luis Dalmolin on Twitter: &quot;We switched to using Load Balancer instead of API Gateway in Laravel Vapor, and our daily cost dropped from ~$110/day to ~$35/day. Be aware that there are trade-offs you have to make in order to use the Load Balancer, but it provides huge savings at scale. / Twitter&quot;</h3><p>We switched to using Load Balancer instead of API Gateway in Laravel Vapor, and our daily cost dropped from ~$110/day to ~$35/day. Be aware that there are trade-offs you have to make in order to use the Load Balancer, but it provides huge savings at scale.</p><h3>Mohamed Said on Twitter: &quot;Scalability is overrated. Maintainability is underrated. / Twitter&quot;</h3><p>Scalability is overrated. Maintainability is underrated.</p><p>The message is clear for people working on high-scaling web apps or implementing distributed web apps. Embrace the change rather than fight it. Instead of going for several specialized solutions opt for One-Stop platforms like <a href="https://www.cloudways.com/en/">Cloudways</a> and Heroku. Simplify your architecture. Reduce unnecessary layers from it.</p><blockquote><em>Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away. — Antoine de Saint-Exupéry</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*LZv0HimRZJs28-BS.png" /></figure><h4>👋 If you find this helpful, please click the clap 👏 button below a few times to show your support for the author 👇</h4><h4>🚀<a href="http://from.faun.to/r/8zxxd">Join FAUN Developer Community &amp; Get Similar Stories in your Inbox Each Week</a></h4><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=59df51d462ce" width="1" height="1" alt=""><hr><p><a href="https://faun.pub/the-paradigm-shift-in-system-design-patterns-59df51d462ce">The paradigm shift in system design patterns</a> was originally published in <a href="https://faun.pub/">FAUN.dev() 🐾</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Boring technology version of distributed, highly available and persistent queue]]></title>
            <link>https://medium.com/codex/boring-technology-version-of-distributed-highly-available-and-persistent-queue-ee2634741ca3?source=rss-6160ebc7c079------2</link>
            <guid isPermaLink="false">https://medium.com/p/ee2634741ca3</guid>
            <category><![CDATA[aws-sqs]]></category>
            <category><![CDATA[queue-management]]></category>
            <category><![CDATA[design-systems]]></category>
            <dc:creator><![CDATA[Najmus Saqib]]></dc:creator>
            <pubDate>Sat, 11 Feb 2023 07:56:54 GMT</pubDate>
            <atom:updated>2023-02-14T14:28:12.580Z</atom:updated>
            <content:encoded><![CDATA[<h3>Boring technology version of distributed, highly available and persistent message queuing</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/606/1*HJtuMF43CYrAFUW25tYU1g.jpeg" /></figure><p>I often go for battle-tested solutions for my architectural choices. It doesn’t matter if they are considered <a href="https://mcfunley.com/choose-boring-technology">boring technology</a>. The primary criterion is that the job should be done with a minimal footprint. One such example is Cloudways’ queue mechanism to perform user requests on their servers.</p><p>This system has a simple stack yet has the robust features</p><ul><li><strong>Highly available and Scalable </strong>The system enables both producers and consumers to operate from multiple servers simultaneously.</li><li>The system’s persistence in the database allows for the extraction of metrics and the generation of reports, providing essential <strong>visibility</strong>. Operating it from the database grants complete <strong>control </strong>over job execution.</li><li><strong>Minimal footprint. </strong>Tasks are stored in your existing DB and executed in your existing app stack eliminating the need for tracing the errors and exporting the logs from outside your app stack. AWS SQS is utilized solely for managing concurrency and avoiding duplicates.</li></ul><p>Here are the steps to implement it</p><ul><li>Store each job in DB. The DB will be the single source of truth for job status. You can store jobs here for an extended period. Jobs can be re-tried from here later. It can be a data source for the analytics dashboard.</li><li>Create an SQS Queue on the AWS console. It should be set as <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html">FIFO</a> to make sure that none of your jobs are processed twice erroneously even if consumers and producers are running from multiple instances. The queue configuration should resemble the image provided below.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bvmezzxVoTgEUVLzb29cHg.png" /><figcaption>A FIFO queue on AWS SQS</figcaption></figure><ul><li>Implement a producer script in your app that fetches job from DB and send them to SQS job. AWS libraries and sample codes are available in all common programming languages. You can use `sendMessageBatch` endpoint to send multiple jobs in one go for optimum performance.</li><li>Implement a consumer script in your app that fetches task(s) from AWS SQS, executes them and marks the job as done in DB. You can run as many instances of consumer script as you want.</li><li>As per your requirements, you can add an optional step to optimize DB performance. Implement a lock mechanism either using <a href="https://dev.mysql.com/doc/refman/5.7/en/locking-functions.html">DB lock</a> or Redis lock in your producer script to ensure only one of the producer instances is querying the DB at a time.</li></ul><p>This is my design for the queue mechanism. What is your evaluation of this, and what modifications can be made to improve its efficiency while preserving its simplicity?</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ee2634741ca3" width="1" height="1" alt=""><hr><p><a href="https://medium.com/codex/boring-technology-version-of-distributed-highly-available-and-persistent-queue-ee2634741ca3">Boring technology version of distributed, highly available and persistent queue</a> was originally published in <a href="https://medium.com/codex">CodeX</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Give your app monitoring wings through the Azure Anomaly detector API]]></title>
            <link>https://faun.pub/give-your-app-monitoring-wings-through-the-azure-anomaly-detector-api-f78d94d9481?source=rss-6160ebc7c079------2</link>
            <guid isPermaLink="false">https://medium.com/p/f78d94d9481</guid>
            <category><![CDATA[anomaly-detection]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[monitoring]]></category>
            <dc:creator><![CDATA[Najmus Saqib]]></dc:creator>
            <pubDate>Fri, 15 Jul 2022 07:04:55 GMT</pubDate>
            <atom:updated>2022-07-15T09:02:03.453Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*4r-u30gfSag2CiR6" /><figcaption>Photo by <a href="https://unsplash.com/@moneyphotos?utm_source=medium&amp;utm_medium=referral">olieman.eth</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3>Anomaly detector on numerical data using the Azure API</h3><p>Once your app goes into production, it becomes necessary to regularly monitor your KPIs like daily user subscription count, request failure rate, or daily active users in your app. If you are not proactively monitoring your KPIs, your users will eventually inform you about the issues in your app which is already too late.</p><p>Manually monitoring may work in the beginning but it doesn’t scale. Your system may be gathering many helpful data points and trends but without the automation, you’d be unable to reap the benefits of your data.</p><p>The hybrid approach startups choose is to implement alerts with static thresholds. Analytics tools like MixPanel also support this. The logic for these would be something like raising an alert when daily visits are less than X or raising an alert when the failure rate is 10% higher than the last value. This approach would not work with KPIs where acceptable ranges keep changing or have periodic fluctuations like daily active users change on weekends.</p><p>The ultimate solution is to implement anomaly detection based on machine learning. This requires two different skillset</p><ul><li>Artificial intelligence and Machine learning algorithms. Some tools provide high-level APIs to use these algorithms but these tools also require knowledge of some programming language (mostly Python).</li><li>The semantics of your data so you can provide meaningful data to these algorithms.</li></ul><p>Working on both skill sets can be overwhelming. Microsoft Azure <a href="https://azure.microsoft.com/en-us/services/cognitive-services/anomaly-detector/#overview">anomaly detector API</a> helps here. This API takes care of the first skillset so that you can focus on the second one. This API detects anomalies in your data as per periodic patterns. Most of the analytics and business intelligence tools don’t provide these capabilities.</p><p>Azure has <a href="https://docs.microsoft.com/en-us/azure/cognitive-services/anomaly-detector/">rich</a> <a href="https://techcommunity.microsoft.com/t5/ai-customer-engineering-team/introducing-azure-anomaly-detector-api/ba-p/490162">docs</a> for the feature but you can start with basic API calls documented <a href="https://docs.microsoft.com/en-us/azure/cognitive-services/anomaly-detector/quickstarts/client-libraries?tabs=windows&amp;pivots=rest-api">here</a>.</p><ul><li>Create a resource on <a href="https://portal.azure.com/#create/Microsoft.CognitiveServicesAnomalyDetector">Azure Portal</a></li><li>Get your API key and resource name from the portal</li><li>Start calling the API. A sample request is given below. You can get more details from <a href="https://westus2.dev.cognitive.microsoft.com/docs/services/AnomalyDetector-v1-1-preview-1/operations/post-timeseries-last-detect">here</a>.</li></ul><pre>curl -v -X POST “<a href="https://{endpointresourcename.cognitive.microsoft.com}/anomalydetector/v1.0/timeseries/entire/detect">https://{endpointresourcename.cognitive.microsoft.com}/anomalydetector/v1.0/timeseries/entire/detect</a>&quot;<br>-H “Content-Type: application/json”<br>-H “Ocp-Apim-Subscription-Key: {subscription key}”<br>-d “@{path_to_file.json}”</pre><p>Though default settings work like a charm but the API also provides parameters like <em>sensitivity </em>and <em>maxAnomalyRatio </em>to fine-tune the results as per your use case.</p><p>Here is a brief intro for Azure Anomaly Detector API. I highly recommend that you try it and let us know how your experience was.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*9dB74XJiIV872pxA.png" /></figure><h4>If this post was helpful, please click the clap 👏 button below a few times to show your support for the author 👇</h4><h4>🚀Developers: Learn and grow by keeping up with what matters, <a href="https://faun.to/8zxxd">JOIN FAUN.</a></h4><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f78d94d9481" width="1" height="1" alt=""><hr><p><a href="https://faun.pub/give-your-app-monitoring-wings-through-the-azure-anomaly-detector-api-f78d94d9481">Give your app monitoring wings through the Azure Anomaly detector API</a> was originally published in <a href="https://faun.pub/">FAUN.dev() 🐾</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Thinking, Fast and Slow by Daniel Kahneman — Notes and quotes]]></title>
            <link>https://medium.com/ed-tech-talks/thinking-fast-and-slow-by-daniel-kahneman-notes-and-quotes-22eb1476647a?source=rss-6160ebc7c079------2</link>
            <guid isPermaLink="false">https://medium.com/p/22eb1476647a</guid>
            <category><![CDATA[thinking]]></category>
            <category><![CDATA[cognitive-bias]]></category>
            <category><![CDATA[books]]></category>
            <dc:creator><![CDATA[Najmus Saqib]]></dc:creator>
            <pubDate>Sat, 09 Apr 2022 12:09:55 GMT</pubDate>
            <atom:updated>2022-04-13T08:03:11.935Z</atom:updated>
            <content:encoded><![CDATA[<h3>Thinking, Fast and Slow by Daniel Kahneman — Notes and quotes</h3><h4>Stop — slowdown — further analyze before making the decision</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/318/1*Je9wv1iBUwDeHKK0LuEwMg.jpeg" /><figcaption>Image Source: goodreads.com</figcaption></figure><p>The book is about how our mind thinks, perceives the world around us and make decisions.</p><h3><strong>A tale of two systems</strong></h3><p>The brain has two thinking systems</p><p><strong>System 1</strong></p><p>Automatic system of the brain. A machine for jumping to conclusions. Its decisions are based on intuitions and assumptions. Its decisions are quick and mostly right. Its functions include</p><ul><li>Answer to 2 + 2</li><li>Drive a car on an empty road</li><li>Complete the phrase “bread and ..”</li><li>Detect hostility in a voice</li><li>Read words on large billboards</li><li>Make a “disgust face” when shown a horrible picture.</li></ul><p>Often when dealing with a complex or difficult issue, we transform the question into an easier one that we can answer. In other words, we use a <em>heuristic</em>; for example, when asked “How happy are you with life”, we answer the question, “What is my mood now”. While these heuristics (which enjoys the same root as the word “eureka”) can be useful, they often lead to incorrect conclusions.</p><p><strong>System 2</strong></p><p>This system does conscious and slow thinking. The more we involve system 2 in decision making the more rational our decisions are. System 2 is capable of reasoning. Its functions include</p><ul><li>Search memory to identify a surprising sound</li><li>Fill out a tax form</li><li>Check the validity of a complex logical argument</li><li>Compare two washing machines for overall value</li></ul><p>Cognitive strain whatever its source, mobilizes system 2, which is more likely to reject the intuitive answer suggested by the system1.</p><p><strong>Cognitive biases</strong></p><p>The book discusses in detail the many cognitive biases and illusions</p><ul><li><a href="https://en.wikipedia.org/wiki/Priming_(psychology)">Priming</a></li><li><a href="https://en.wikipedia.org/wiki/Halo_effect">Halo effect</a></li><li><a href="https://en.wikipedia.org/wiki/Availability_heuristic">Availability bias</a></li><li><a href="https://en.wikipedia.org/wiki/Regression_toward_the_mean">Regression toward the mean</a></li><li>Illusions of familiarity → A new word primed (even for milliseconds) looks familiar and becomes easy to see later</li><li>The illusion of truth → Familiar statements seems true. Impressions of familiarity are produced by system1 and system 2 relies on impressions for true/false judgments.</li></ul><p>The exaggerated faith in small samples is only one example of a more general illusion we pay more attention to the content of the messages than the information about their reliability and as a result, end up with a view of the world around us that is simpler and more coherent than the data justify jumping to the conclusions is a safer sport in the world of our imagination then it is in reality</p><p>Nothing in life is as important as you think it is, while you are thinking about it</p><p>Our comforting conviction that the world makes sense rests on a secure foundation: our almost unlimited ability to ignore our ignorance.</p><p>Intelligence is not only the ability to reason; it is also the ability to find relevant material in memory and to deploy attention when needed.</p><p>The idea that the future is unpredictable is undermined every day by the ease with which the past is explained.</p><p>We are prone to overestimate how much we understand about the world and to underestimate the role of chance in events.</p><p>Many facts of the world are due to chance including accidents of sampling. causal explanation of a chance events are inevitably wrong.</p><p>We can be blind to the obvious, and we are also blind to our blindness.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=22eb1476647a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ed-tech-talks/thinking-fast-and-slow-by-daniel-kahneman-notes-and-quotes-22eb1476647a">Thinking, Fast and Slow by Daniel Kahneman — Notes and quotes</a> was originally published in <a href="https://medium.com/ed-tech-talks">Ed-Tech Talks</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The kindness continuum: Become a better leader one action at a time]]></title>
            <link>https://nsaqib.medium.com/the-kindness-continuum-become-a-better-leader-one-action-at-a-time-edf3e7aa5b95?source=rss-6160ebc7c079------2</link>
            <guid isPermaLink="false">https://medium.com/p/edf3e7aa5b95</guid>
            <category><![CDATA[empathy]]></category>
            <category><![CDATA[self-growth]]></category>
            <category><![CDATA[kindness]]></category>
            <category><![CDATA[leadership]]></category>
            <dc:creator><![CDATA[Najmus Saqib]]></dc:creator>
            <pubDate>Sun, 13 Mar 2022 18:00:23 GMT</pubDate>
            <atom:updated>2022-03-13T18:00:23.265Z</atom:updated>
            <content:encoded><![CDATA[<h4>Stop labeling yourself and start progressing towards better leadership</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*jDvm_qNJmjRYDxBC" /><figcaption>Photo by <a href="https://unsplash.com/@edwardhowellphotography?utm_source=medium&amp;utm_medium=referral">Edward Howell</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h4>Do you consider yourself an empathic and kind manager?</h4><p>— You may answer YES but it can be wrong due to the <a href="https://en.wikipedia.org/wiki/Dunning%E2%80%93Kruger_effect">Dunning-Kruger effect</a> ( the cognitive bias whereby people with low ability at a task overestimate their ability)</p><p>— You may answer NO but it can also be wrong due to <a href="https://en.wikipedia.org/wiki/Impostor_syndrome">Imposter syndrome</a> (a psychological pattern in which an individual doubts their skills and fear of being exposed as a fraud).</p><p>So What’s the correct answer? Actually, it’s a trick question. The correct answer is that you lie somewhere on the kindness continuum between the least kind and most kind leader on the planet earth.</p><h4>Where exactly do you lie on the kindness continuum?</h4><p>Let’s consider a few examples</p><ol><li>A manager who has genuine empathy for all team members. When he or she discusses your career or performance with you, you feel organic goodwill in it. You always feel safe working with him. The progress of his subordinates is equally important or even more important for him than his own. One that always listens to the team and welcomes differences of opinion. He treats every team member as a unique individual with their own set of needs, strengths and weaknesses.</li><li>A manager who doesn’t have organic empathy but wants to be a good manager. You feel safe with him most of the time but you also feel a suspicion that it will not be the same if the chips go down. His own growth matters most to him but he knows that it’s not possible without the growth of his team members.</li><li>A manager who neither has genuine empathy nor considers it important enough to work on it. It’s not a required trait for him as a manager. He just handles all his resources systematically and doesn’t like differences of opinion. Key decisions are taken as per the benefit of the manager no matter how deeply it impacts the team. The team doesn’t feel safe as each and every mistake is noted and punished.</li></ol><p>All these managers lie on different parts of the kindness continuum. Statistically, you fall in category 2. As you are reading this blog about better leadership it means you want to progress towards category 1.</p><h3>How to improve</h3><p>Stephen Covey puts a very interesting perspective in The 7 Habits of Highly Effective People</p><blockquote>Love is a verb. Love — the feeling — is a fruit of love the verb.<br>In the great literature of all progressive societies, love is a verb. Reactive people make it a feeling. … Love is something you do: the sacrifices you make, the giving of self, like a mother bringing a newborn into the world.</blockquote><p>The same principle applies to kindness and empathy as well. Your actions speak louder than your feelings. Eventually, your conscious efforts and actions will generate a genuine feeling of empathy in you.</p><p>Every single act of kindness will create more kindness inside you and you’ll continue to take care of your team members. Ultimately your actions will become your nature and identity. This is a psychological phenomenon.</p><blockquote>It’s called the <a href="https://en.wikipedia.org/wiki/Ben_Franklin_effect">Ben Franklin Effect</a>. A person who has already performed a favor for another person is more likely to do another favor for the other than if they had received a favor from that person.</blockquote><h4>Being Empathetic feels difficult</h4><p>Our workplaces are very competitive, just like a zero-sum game where there’s a limited amount of credit and recognition available. In this environment practicing empathy requires the sacrifice of time, attention and other resources. You have to put aside your ego and feelings. It will be a conscious and continuous effort to sustain and improve the empathy within yourself. It’s a long-term investment. It needs patience, grit and character.</p><p>Identifying yourself as a kind or unkind manager also becomes a blocker on the path of progress. If a person thinks he’s kind and empathic then it can create a loss of motivation for further improvement. Similarly, if a person thinks that he’s not empathic and kind then he’ll assume that this is how it is and can’t be changed. This person will make no effort to improve. This article aims to prevent typical managers from getting demotivated towards progress. Empathy and kindness can be practiced and improved.</p><h4>So Is it worth it?</h4><p>YES, It’s a must-have for a manager. Care and kindness make you better as a person. Without them, you are an incomplete manager and an incomplete human being. Practicing these will be fulfilling and rewarding for you.</p><p>Empathy is not a favor for your subordinates. Your productivity is the sum of the productivity of all your subordinates. If you don’t make conscious efforts to make your team feel safe, they’ll productivity will not increase.</p><p>So whenever you perform an act of kindness for your team members without the organic urge within yourself to do so, don’t assume that you are a faker. Actually, you want to become an empathetic person and this act is bringing you closer to your goal. So keep doing it and keep moving forward.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=edf3e7aa5b95" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>