<?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 Sajidur Rahman on Medium]]></title>
        <description><![CDATA[Stories by Sajidur Rahman on Medium]]></description>
        <link>https://medium.com/@sajid-ict?source=rss-27242807ea5f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*cC-kv7vfvAMTQJuKXvpDKQ.jpeg</url>
            <title>Stories by Sajidur Rahman on Medium</title>
            <link>https://medium.com/@sajid-ict?source=rss-27242807ea5f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 00:33:32 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@sajid-ict/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 Cybersecurity Illusion]]></title>
            <link>https://sajid-ict.medium.com/the-cybersecurity-illusion-7f3f19f83cf2?source=rss-27242807ea5f------2</link>
            <guid isPermaLink="false">https://medium.com/p/7f3f19f83cf2</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[information-security]]></category>
            <category><![CDATA[application-security]]></category>
            <dc:creator><![CDATA[Sajidur Rahman]]></dc:creator>
            <pubDate>Thu, 19 Nov 2026 15:43:25 GMT</pubDate>
            <atom:updated>2026-11-19T15:43:25.537Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IM6q-hv_SfZ-tzqLKuRM1w.png" /></figure><p>Having security policies, enterprise-grade tools and compliance certificates does not mean an organization is secure. Real security is measured by what attackers cannot access — not by how many documents an organization can produce.</p><p>There is a question every organization should ask its cybersecurity team:</p><p><strong>If someone tries to access our sensitive data without authorization today, can we actually stop them?</strong></p><p>Not: Do we have an Information Security Policy?</p><p>Not: Have we completed the annual security audit?</p><p>Not: Are we using F5 WAF, PAM, SIEM, antivirus, endpoint protection or other expensive security products?</p><p>The real question is whether our systems, applications, APIs, databases and infrastructure can withstand real attacks.</p><p>Unfortunately, in many organizations, cybersecurity has gradually become a documentation, compliance and policy-management activity rather than a continuous technical discipline.</p><p>Security teams produce policies, procedures, risk registers, audit reports, compliance documents and presentations. These activities are important. But they do not automatically protect a single API endpoint, prevent unauthorized database access or stop an attacker from exploiting a vulnerable application.</p><p>A security policy cannot fix a broken authorization check.</p><p>A compliance certificate cannot prevent an API from returning another customer’s information.</p><p>And an expensive security product cannot compensate for an organization that does not understand its own application architecture.</p><p><strong>This is the cybersecurity illusion we need to challenge.</strong></p><h3>1. Security documentation is not security protection</h3><p>I am not against security policies, documentation, compliance or audits. Every mature organization needs them.</p><p>But these are foundations of security governance, not the final outcome.</p><p>Consider an organization with:</p><ul><li>A comprehensive Information Security Policy.</li><li>A Data Protection Policy.</li><li>An Access Control Policy.</li><li>A Vulnerability Management Policy.</li><li>An Incident Response Plan.</li><li>Annual security audits.</li><li>Security awareness training.</li><li>Enterprise-grade security products.</li></ul><p>Now ask a few practical questions:</p><ul><li>Can the security team identify every internet-facing API?</li><li>Does it know which applications expose sensitive customer information?</li><li>Can it identify outdated libraries and vulnerable software across production systems?</li><li>Has every critical API been tested for authorization weaknesses?</li><li>Can one authenticated user access another user’s records?</li><li>Can an application server access databases or services it does not need?</li><li>Are database permissions reviewed and enforced?</li><li>Are security findings technically verified after remediation?</li><li>Can the team demonstrate that an attempted unauthorized access is blocked?</li></ul><p>If these questions cannot be answered with technical evidence, the organization may have a well-documented security program without having an effective security posture.</p><p><strong>Documentation tells us what an organization intends to do. Technical validation tells us what its systems actually do.</strong></p><p>Both matter, but they are not interchangeable.</p><h3>2. The Expensive tools paradox: Expensive tools, but are the applications secure?</h3><p>I have seen organizations, including government institutions, invest in enterprise-grade security technologies such as F5 Web Application Firewall (WAF) and Privileged Access Management (PAM).</p><p>These are valuable technologies. Properly implemented, configured, monitored and maintained, they can significantly improve security.</p><p>But owning these products does not make an organization secure by default.</p><p>Consider a typical architecture:</p><p><strong>Internet → F5 WAF → Load Balancer → Application Servers → REST APIs → Database</strong></p><p>PAM may separately control privileged administrative access to servers, databases and infrastructure.</p><p>Now imagine one API endpoint contains an authorization weakness.</p><p>An authenticated user sends a legitimate request. The application accepts the request but fails to verify whether that user is actually authorized to access the requested record. The endpoint returns sensitive information belonging to someone else.</p><p>What happens?</p><ul><li>The request may pass through the WAF because it looks like legitimate application traffic.</li><li>The user may have a valid authentication token.</li><li>The application may still return data the user is not authorized to see.</li><li>PAM may be functioning exactly as designed because the problem is not privileged administrative access.</li></ul><p>The security products may be operating correctly while the application itself exposes data.</p><p>This distinction is critical:</p><ul><li><strong>Authentication is not authorization.</strong></li><li><strong>Perimeter security is not application security.</strong></li><li><strong>Privileged access control is not API access control.</strong></li><li><strong>A security product is not a complete security strategy.</strong></li></ul><p>A WAF does not automatically fix broken business logic, excessive data exposure, insecure object-level authorization or inappropriate database access.</p><p>PAM does not automatically protect every customer-facing API, application session or service-to-service interaction.</p><h3>One vulnerable endpoint can be enough</h3><p>In one observed use case, I found that data could be exposed through a single API endpoint in an environment where enterprise security controls, including WAF and PAM, were in use.</p><p>I will not identify the organization, endpoint or data involved. The point is not to expose an institution publicly; the point is to highlight a serious technical gap.</p><p>An organization can invest heavily in perimeter security and privileged access management while overlooking a fundamental application-level weakness.</p><p>This is exactly why security teams must test the actual applications and APIs — not just verify whether security products have been installed.</p><p>The relevant question is not simply whether a WAF exists.</p><p>It is whether unauthorized access to sensitive data is technically prevented across every relevant application endpoint.</p><h3>3. What does real application security look like?</h3><p>A professional security team should understand how the organization’s applications work.</p><p>For example, consider a financial application with millions of customer records.</p><p>The team should be able to verify:</p><ul><li>Whether users can access only their authorized accounts.</li><li>Whether changing an account ID exposes another customer’s information.</li><li>Whether APIs return only the data required for the requested operation.</li><li>Whether sensitive fields are protected at the object and property levels.</li><li>Whether access permissions are checked on the server, not merely in the frontend.</li><li>Whether administrative APIs are properly restricted.</li><li>Whether service accounts have excessive database permissions.</li><li>Whether internal APIs can be accessed directly without the expected security controls.</li><li>Whether sensitive information is exposed in application logs, error messages or API responses.</li></ul><p>OWASP identifies Broken Object Level Authorization (BOLA) as API Security Top 10 risk number one in its 2023 edition. It describes how manipulating an object identifier can lead to unauthorized access to another user’s data.</p><p>This is not an imaginary or theoretical concern. It is a well-recognized application security weakness.</p><p>A security team that never validates these scenarios is not adequately assessing the organization’s application attack surface.</p><h3>4. What should a real security team actually do?</h3><p>A security team should not be limited to writing policies and coordinating audits.</p><p>It should be capable of understanding, assessing and validating the security of the organization’s complete technology environment.</p><p>Here are the responsibilities I believe should be central to a mature security function.</p><h3>A. Application and API Security</h3><p>The team should:</p><ul><li>Maintain an inventory of all production APIs and applications.</li><li>Conduct regular application security assessments.</li><li>Perform authorized penetration testing.</li><li>Validate authentication and authorization mechanisms.</li><li>Test for BOLA, broken function-level authorization and excessive data exposure.</li><li>Review API gateway, WAF and application security configurations.</li><li>Assess sensitive data exposure.</li><li>Verify security controls in mobile, web and backend applications.</li><li>Validate fixes through independent retesting.</li></ul><h3>B. Infrastructure and Network Security</h3><p>The team should:</p><ul><li>Assess server and operating system vulnerabilities.</li><li>Review network segmentation and firewall rules.</li><li>Validate exposed ports and services.</li><li>Review database access paths.</li><li>Assess Redis, RabbitMQ, SQL Server and other infrastructure services.</li><li>Review remote access and administrative interfaces.</li><li>Verify patch management effectiveness.</li><li>Identify unnecessary internet-facing services.</li><li>Assess lateral movement risks.</li></ul><h3>C. Vulnerability Management</h3><p>A vulnerability management program should not be measured by the number of reports generated.</p><p>It should be measured by how effectively vulnerabilities are discovered, prioritized, fixed and independently verified.</p><p>The team should:</p><ul><li>Maintain a continuously updated asset inventory.</li><li>Perform regular vulnerability scanning.</li><li>Prioritize actively exploited and business-critical vulnerabilities.</li><li>Assign remediation ownership.</li><li>Track remediation deadlines.</li><li>Retest fixes.</li><li>Escalate overdue critical findings.</li><li>Report unresolved exposure to management.</li></ul><h3>D. Security Monitoring and Incident Response</h3><p>A SOC should do more than collect logs and display dashboards.</p><p>It should be able to:</p><ul><li>Detect suspicious authentication activity.</li><li>Identify unusual API access patterns.</li><li>Monitor privilege escalation.</li><li>Detect abnormal database access.</li><li>Investigate data exfiltration indicators.</li><li>Correlate application, network and infrastructure events.</li><li>Respond to security incidents.</li><li>Preserve evidence and support forensic investigations.</li></ul><p>A SIEM that collects millions of events but produces no actionable detection is not an effective security outcome.</p><h3>5. Who should be responsible for what?</h3><p>One common organizational problem is unclear ownership.</p><p>Security teams sometimes identify a problem but do not have a clear remediation process. Development teams assume security will handle it. Infrastructure teams assume application security is the developers’ responsibility. Management assumes the security team has everything under control.</p><p>Security is a shared responsibility, but ownership must be explicit.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/775/1*GXv_5jUB-hPicL-AyRrdrA.png" /></figure><p>The security team does not need to implement every technical fix itself.</p><p>However, it must have the capability and authority to identify weaknesses, validate their impact, assign ownership, track remediation and independently verify the result.</p><p><strong>Finding a vulnerability is not the end of security work. Ensuring that it is fixed is part of the responsibility.</strong></p><h3>6. How should we measure a security team’s performance?</h3><p>If a security team’s performance is measured primarily by the number of policies published, audits completed, meetings conducted or awareness sessions delivered, we are measuring administrative activity — not security effectiveness.</p><p>I would rather see a monthly technical security report containing:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/805/1*lQS4err_EJrLUyU6wve-zA.png" /></figure><p>For example, organizations could establish internal remediation targets such as:</p><ul><li>Critical: 24–72 hours, depending on exposure and exploitability.</li><li>High: 7 days.</li><li>Medium: 30 days.</li><li>Low: 90 days.</li></ul><p>These are suggested operational targets, not universal regulatory requirements. Actively exploited critical vulnerabilities and confirmed unauthorized data exposure require immediate escalation.</p><p>One more important point: a security team should not be rewarded for reporting fewer vulnerabilities.</p><p><strong>A team that discovers 100 vulnerabilities and helps eliminate them may be doing a much better job than a team that reports zero because it never tested anything properly.</strong></p><h3>7. My expectation from a modern cybersecurity team</h3><p>I believe a mature security team should be able to demonstrate the following:</p><ol><li>It knows what systems, applications, APIs and infrastructure the organization owns.</li><li>It understands how sensitive information flows through those systems.</li><li>It can identify weaknesses through authorized technical testing.</li><li>It can demonstrate whether security controls actually prevent unauthorized access.</li><li>It can identify the business impact of technical vulnerabilities.</li><li>It ensures that findings are assigned to responsible teams.</li><li>It tracks remediation until completion.</li><li>It independently validates the fixes.</li><li>It monitors production systems for suspicious activity.</li><li>It reports actual security risks to management — not just compliance status.</li></ol><p>A security team that cannot technically challenge an application’s architecture, API authorization, network exposure or database access model will struggle to assess the organization’s real security posture.</p><h3>8. The real question for organizational leadership</h3><p>If an organization spends millions on security products, employs security professionals, maintains policies and completes annual audits, leadership should demand more than a compliance presentation.</p><p>Ask the security team:</p><ul><li>When was our last independent application penetration test?</li><li>Have we assessed every critical API?</li><li>Can we demonstrate that one customer cannot access another customer’s information?</li><li>Have we tested whether our WAF can be bypassed or whether application-level weaknesses remain?</li><li>Do we know every internet-facing asset?</li><li>Can we identify vulnerable software across our production environment?</li><li>How many critical vulnerabilities remain unresolved?</li><li>Are our privileged accounts and service accounts properly controlled?</li><li>Can we demonstrate that sensitive data is protected at the application, database and infrastructure levels?</li><li>When did we last independently retest our security controls?</li></ul><p>If the answers are mostly policies, certificates, presentations and product names, leadership should ask for technical evidence.</p><p>Because the existence of a security control is not proof of its effectiveness.</p><h3>Conclusion: Stop measuring cybersecurity by paperwork</h3><p>Cybersecurity is not a documentation competition.</p><p>The real measure is whether the organization can protect its systems, applications, infrastructure and sensitive information against unauthorized access.</p><p>A single vulnerable API endpoint can expose data even when an organization has invested in enterprise-grade security technologies.</p><p>A single unpatched server can become an entry point.</p><p>A single excessive database permission can turn a minor application compromise into a major incident.</p><p>A single missed security alert can allow an attacker to remain undetected.</p><p><strong>Security must move from documentation-driven compliance to evidence-driven technical assurance.</strong></p><p>The ultimate question is simple:</p><p><strong>Can your security team prove that your organization’s data is protected, or can it only prove that your organization has a security policy?</strong></p><p>That difference is the difference between having a security program and actually being secure.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7f3f19f83cf2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Beyond Inventory Management: Why Bale Management Is a Critical Challenge for the Textile Industry]]></title>
            <link>https://sajid-ict.medium.com/beyond-inventory-management-why-bale-management-is-a-critical-challenge-for-the-textile-industry-5fbb942dc549?source=rss-27242807ea5f------2</link>
            <guid isPermaLink="false">https://medium.com/p/5fbb942dc549</guid>
            <category><![CDATA[system-design-concepts]]></category>
            <category><![CDATA[erp]]></category>
            <category><![CDATA[textile-industry]]></category>
            <dc:creator><![CDATA[Sajidur Rahman]]></dc:creator>
            <pubDate>Tue, 10 Nov 2026 16:14:25 GMT</pubDate>
            <atom:updated>2026-11-10T16:14:25.761Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZFA8YCk2axrWAHCXmOF5dA.png" /><figcaption>Solution design idea 01</figcaption></figure><h3>Recently, I had the opportunity to visit Bangladesh on of the largest Textile mills and observe some real-world operational challenges in textile manufacturing, particularly around Bale Management.</h3><p>It was an interesting experience because it highlighted something important: managing textile bales is not simply about maintaining inventory records. It is about managing quality, traceability, warehouse space, production requirements, and operational efficiency throughout the entire supply chain.</p><h3>What makes Bale Management challenging?</h3><p>In a textile manufacturing environment, thousands of cotton bales may come from different suppliers, origins, shipments, and quality grades.</p><p>Each bale can have different characteristics, including:</p><ul><li>Micronaire (Mic)</li><li>Fiber Length</li><li>Fiber Strength</li><li>Moisture Content</li><li>Trash Content</li><li>Color / Rd Value</li><li>Quality Grade</li><li>Supplier and Country of Origin</li></ul><p>These characteristics directly influence yarn quality and production outcomes.</p><p>However, the real challenge begins when these bales enter the warehouse.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*77m17_xIJqJY7v_RvOKoXw.png" /></figure><h3>The real operational challenges</h3><p>Consider a warehouse containing thousands of bales.</p><p><strong>1. Bale Identification and Traceability</strong></p><p>How do we uniquely identify every bale and track its complete journey, from receiving to production consumption?</p><p><strong>2. Intelligent Warehouse Management</strong></p><p>Where should each bale be physically stored? How can we maintain an accurate 2D or 3D warehouse layout and know the exact location of every bale?</p><p><strong>3. Quality-Based Bale Selection</strong></p><p>When production requires a specific quality combination, how can the system identify and recommend the most suitable bales based on their quality parameters?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kqPiDgFSNPaZUYHcA8e46g.png" /><figcaption>Design Idea 002</figcaption></figure><p><strong>4. Optimized Bale Picking</strong></p><p>How can warehouse operators locate and collect the required bales with minimum movement, handling time, and operational complexity?</p><p><strong>5. Inventory and Production Synchronization</strong></p><p>How can we ensure that physical stock, ERP inventory, quality information, and production consumption remain synchronized in real time?</p><h3>Where Technology Can Make a Difference</h3><p>I believe this is where a properly designed ERP ecosystem can deliver significant business value.</p><p>A modern Bale Management System should go beyond traditional inventory management.</p><p>It can integrate:</p><ul><li><strong>ERP Integration:</strong> Real-time inventory, procurement, quality, and production synchronization.</li><li><strong>Barcode / RFID:</strong> Unique identification and movement tracking for individual bales.</li><li><strong>Digital Warehouse Mapping:</strong> 2D/3D visualization of warehouse locations, rows, sections, and positions.</li><li><strong>Intelligent Bale Allocation:</strong> Quality-based selection and optimization according to production requirements.</li><li><strong>AI &amp; Optimization:</strong> Predictive quality analysis, optimized bale combinations, and picking recommendations.</li><li><strong>Real-Time Analytics:</strong> Stock visibility, aging analysis, quality distribution, and warehouse utilization.</li></ul><p>Imagine a system where the production team specifies its required fiber characteristics, and the system automatically identifies the most suitable available bales, considers their physical warehouse locations, and generates an optimized picking plan.</p><p>That is not just digitizing an existing process. It is transforming the way warehouse and production operations work together.</p><h3>My Key Takeaway</h3><p>One important lesson from visiting a real manufacturing environment is that enterprise software should not be designed only around business requirements documented in meetings.</p><p>We need to understand the actual operational workflow, physical constraints, human involvement, exceptions, and challenges on the factory floor.</p><p><strong>Good ERP is not about making operations follow software. It is about understanding operations deeply and building software that makes those operations smarter, faster, and more efficient.</strong></p><p>For me, this is one of the most interesting aspects of working as a Solution Architect — connecting real-world industrial challenges with practical technology solutions.</p><p>The future of textile manufacturing is not just automation. It is the combination of operational intelligence, data-driven decisions, and intelligent manufacturing systems.</p><p>#TextileIndustry #BaleManagement #ERP #DigitalTransformation #Industry40 #WarehouseManagement #SupplyChainManagement #ArtificialIntelligence #SolutionArchitecture #ManufacturingTechnology</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5fbb942dc549" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[আমরা প্রযুক্তি ব্যবহার করি, কিন্তু প্রযুক্তি তৈরি করি না কেন?]]></title>
            <link>https://sajid-ict.medium.com/%E0%A6%86%E0%A6%AE%E0%A6%B0%E0%A6%BE-%E0%A6%AA%E0%A7%8D%E0%A6%B0%E0%A6%AF%E0%A7%81%E0%A6%95%E0%A7%8D%E0%A6%A4%E0%A6%BF-%E0%A6%AC%E0%A7%8D%E0%A6%AF%E0%A6%AC%E0%A6%B9%E0%A6%BE%E0%A6%B0-%E0%A6%95%E0%A6%B0%E0%A6%BF-%E0%A6%95%E0%A6%BF%E0%A6%A8%E0%A7%8D%E0%A6%A4%E0%A7%81-%E0%A6%AA%E0%A7%8D%E0%A6%B0%E0%A6%AF%E0%A7%81%E0%A6%95%E0%A7%8D%E0%A6%A4%E0%A6%BF-%E0%A6%A4%E0%A7%88%E0%A6%B0%E0%A6%BF-%E0%A6%95%E0%A6%B0%E0%A6%BF-%E0%A6%A8%E0%A6%BE-%E0%A6%95%E0%A7%87%E0%A6%A8-3465523c4f65?source=rss-27242807ea5f------2</link>
            <guid isPermaLink="false">https://medium.com/p/3465523c4f65</guid>
            <category><![CDATA[technology]]></category>
            <dc:creator><![CDATA[Sajidur Rahman]]></dc:creator>
            <pubDate>Sun, 27 Sep 2026 04:17:32 GMT</pubDate>
            <atom:updated>2026-09-27T04:17:32.130Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fE8d0Lv3N1hPNhZINbHa1Q.png" /></figure><p>বাংলাদেশে প্রযুক্তির ব্যবহার বাড়ছে। প্রায় প্রতিটি বড় প্রতিষ্ঠান এখন ERP ব্যবহার করছে, Core Banking System চালাচ্ছে, Mobile App আছে, Cloud ব্যবহার করছে, Data Warehouse তৈরি করছে, AI নিয়ে কথা বলছে, Cyber Security নিয়ে বাজেট করছে। বড় বড় প্রতিষ্ঠানের IT Department আছে, হাজার হাজার Software Engineer আছে, বিদেশি Software License-এর জন্য কোটি কোটি টাকা খরচ হচ্ছে।</p><p>তবুও একটি প্রশ্ন আমাদের নিজেদের করা দরকার —</p><p><strong>আমরা কি সত্যিই একটি প্রযুক্তিনির্ভর দেশ হিসেবে এগোচ্ছি, নাকি শুধু অন্যের তৈরি প্রযুক্তির বড় ভোক্তা হিসেবে এগোচ্ছি?</strong></p><p>আমার কাছে বাংলাদেশের Technology Gap-এর সবচেয়ে বড় সমস্যা hardware বা software-এর অভাব নয়। সমস্যা হলো আমাদের <strong>Technology Creation Culture</strong> এখনো যথেষ্ট শক্তিশালী নয়।</p><p>আমরা জানি কোন Software কিনতে হবে।</p><p>আমরা জানি কোন Vendor ভালো।</p><p>আমরা জানি কোন Database ব্যবহার করতে হবে।</p><p>আমরা জানি কোন Cloud Service নিতে হবে।</p><p>কিন্তু অনেক ক্ষেত্রেই আমরা জানি না —</p><p><strong>ভেতরে আসলে কীভাবে কাজটি হচ্ছে।</strong></p><p>আর এই জায়গাটিই সবচেয়ে বড় gap।</p><h3>আমরা Technology ব্যবহার করি, Technology তৈরি করি না</h3><p>একটি বড় Corporate প্রতিষ্ঠান হয়তো কোটি টাকা খরচ করে একটি বিদেশি Enterprise Solution কিনল।</p><p>Solution ভালো।</p><p>Stable।</p><p>Proven।</p><p>Support আছে।</p><p>Vendor আছে।</p><p>তাই ব্যবসার দিক থেকে সেটি হয়তো যৌক্তিক সিদ্ধান্ত।</p><p>কিন্তু সমস্যা শুরু হয় যখন একটি দেশের প্রায় সব প্রতিষ্ঠান একই মানসিকতায় চলে:</p><blockquote><em>“নিজে বানানোর দরকার কী? বাজারে তো Product আছে।”</em></blockquote><p>একটি Product কেনার সিদ্ধান্ত ভুল নয়।</p><p>বরং অনেক ক্ষেত্রেই Build করার চেয়ে Buy করা ভালো।</p><p>কিন্তু যদি একটি দেশ বা Industry প্রায় সব ক্ষেত্রেই <strong>Buy করে এবং খুব কম ক্ষেত্রে Build করে</strong>, তাহলে দীর্ঘমেয়াদে সেই Industry-এর engineering capability কোথায় দাঁড়াবে?</p><p>আমরা ERP কিনি।</p><p>Core Banking Solution কিনি।</p><p>HRMS কিনি।</p><p>CRM কিনি।</p><p>Payment Solution কিনি।</p><p>Analytics Platform কিনি।</p><p>Security Solution কিনি।</p><p>Cloud Platform কিনি।</p><p>এমনকি অনেক সময় এমন Software-ও কিনি যার একটি অংশ বা পুরো solution Open Source technology দিয়ে স্থানীয়ভাবেও তৈরি করা সম্ভব।</p><p>ফলে ধীরে ধীরে আমাদের IT ecosystem এমন একটি জায়গায় চলে যাচ্ছে যেখানে</p><p><strong>আমরা Technology Consumer হিসেবে দক্ষ হচ্ছি, কিন্তু Technology Creator হিসেবে যথেষ্ট শক্তিশালী হচ্ছি না।</strong></p><h3>“এটা কীভাবে কাজ করে?” — এই প্রশ্নটি হারিয়ে যাচ্ছে</h3><p>আমাদের Software Industry-তে একটি গুরুত্বপূর্ণ পরিবর্তন দরকার।</p><p>একজন Engineer যখন কোনো system ব্যবহার করে, তখন তার শুধু এটা জানা যথেষ্ট নয় যে —</p><blockquote><em>“এটা কাজ করে।”</em></blockquote><p>তার জানতে হবে —</p><blockquote><em>“কেন কাজ করে?”</em></blockquote><p>আরও গুরুত্বপূর্ণ —</p><blockquote><em>“আমি চাইলে এর একটি ছোট version কি নিজে তৈরি করতে পারি?”</em></blockquote><p>ধরা যাক আমরা Redis ব্যবহার করছি।</p><p>আমরা জানি Redis fast।</p><p>আমরা জানি এটি memory-based।</p><p>আমরা জানি Cache হিসেবে ব্যবহার করা যায়।</p><p>কিন্তু কতজন Engineer নিজের হাতে একটি ছোট in-memory key-value store তৈরি করেছে?</p><p>হয়তো খুব কম।</p><p>RabbitMQ ব্যবহার করছি।</p><p>কিন্তু message queue কীভাবে কাজ করে, acknowledgment কী, consumer concurrency কীভাবে কাজ করে, delivery guarantee কী, back pressure কীভাবে তৈরি হয় — এসব কতটা গভীরভাবে বোঝা হচ্ছে?</p><p>Database ব্যবহার করছি।</p><p>কিন্তু database engine-এর storage engine, indexing, locking, transaction isolation, query optimizer, WAL/logging, replication — এসব নিয়ে কতজন বাস্তবে experiment করে?</p><p>Load Balancer ব্যবহার করছি।</p><p>কিন্তু একটি ছোট Load Balancer নিজে implement করার চেষ্টা করেছি?</p><p>API Gateway ব্যবহার করছি।</p><p>কিন্তু authentication, rate limiting, routing, circuit breaker, retry এবং distributed tracing মিলিয়ে একটি ছোট gateway বানিয়েছি?</p><p>আমার বক্তব্য হলো না যে প্রত্যেক Engineer-কে production-grade Redis বা SQL Server বানাতে হবে।</p><p>বরং প্রশ্ন হলো —</p><p><strong>আমাদের engineering culture কি জিনিসের ভিতরের mechanism বোঝার জন্য মানুষকে উৎসাহিত করছে?</strong></p><h3>“আমরা পারব না” — এই ধারণাটি আরও বিপজ্জনক</h3><p>বাংলাদেশে অনেক সময় কোনো Technology দেখলে প্রথম প্রশ্ন হয় —</p><blockquote><em>“এটা কি বাংলাদেশে বানানো সম্ভব?”</em></blockquote><p>তারপর উত্তর আসে —</p><blockquote><em>“না, এটা অনেক complex।”</em></blockquote><p>কিন্তু পৃথিবীর প্রায় প্রতিটি বড় Technology কোনো না কোনো সময় ছোট একটি team, university project অথবা কয়েকজন Engineer-এর experiment হিসেবে শুরু হয়েছিল।</p><p>আজকের বড় Product-এর দিকে তাকিয়ে আমরা ভয় পাই।</p><p>কিন্তু আমাদের দেখা উচিত তার প্রথম version-এর দিকে।</p><p>একটি ERP-এর প্রথম version হয়তো বিশাল ছিল না।</p><p>একটি Banking System-এর প্রথম version হয়তো millions of transaction handle করত না।</p><p>একটি Search Engine প্রথম দিনেই পৃথিবীর সব Web Page index করেনি।</p><p>একটি AI Model প্রথম দিনেই ChatGPT-level capability নিয়ে তৈরি হয়নি।</p><p>Technology তৈরি হয় —</p><p><strong>ছোট experiment → prototype → product → production → scale</strong></p><p>এই journey-এর মাধ্যমে।</p><p>কিন্তু আমরা অনেক সময় প্রথম ধাপটিই এড়িয়ে যাই।</p><h3>বড় Corporate-এর বড় দায়িত্ব</h3><p>বাংলাদেশের Technology ecosystem নিয়ে কথা বললে শুধু Software Company-কে দায়ী করলে হবে না।</p><p>বড় Corporate প্রতিষ্ঠানগুলোরও বিশাল দায়িত্ব আছে।</p><p>কারণ তাদের হাতে আছে —</p><ul><li>Capital</li><li>Real-world problems</li><li>Large datasets</li><li>Thousands of users</li><li>Infrastructure</li><li>Engineering teams</li><li>Business domain knowledge</li><li>Operational experience</li></ul><p>অর্থাৎ Innovation করার জন্য প্রয়োজনীয় প্রায় সবকিছুই আছে।</p><p>ধরা যাক একটি বড় ব্যাংকের বছরে Software এবং Technology-related expenditure কয়েকশ কোটি টাকা।</p><p>সেই budget-এর একটি অংশ যদি শুধুমাত্র License এবং Vendor implementation-এর জন্য যায়, তাহলে আমরা মূলত অন্য দেশের Technology Industry-কে fund করছি।</p><p>এতে কোনো সমস্যা নেই — যদি আমাদের নিজেদের Technology capability-ও একই সঙ্গে বাড়ে।</p><p>কিন্তু যদি পুরো budget-এর অর্থ দাঁড়ায় —</p><p><strong>Buy → Implement → Maintain → Renew License</strong></p><p>তাহলে ১০ বছর পরও আমরা একই জায়গায় থাকব।</p><p>অন্যদিকে যদি budget-এর একটি অংশ যায় —</p><p><strong>Research → Prototype → Experiment → Local Product → IP → Export</strong></p><p>তাহলে ১০ বছর পরে আমাদের হাতে শুধু Software থাকবে না।</p><p>আমাদের হাতে থাকবে —</p><p><strong>Technology + People + Intellectual Property + Product + Export Capability</strong></p><h3>R&amp;D খরচ নয়, এটি ভবিষ্যতের Infrastructure</h3><p>বাংলাদেশের Corporate culture-এ R&amp;D-কে অনেক সময় “extra cost” হিসেবে দেখা হয়।</p><p>Management প্রশ্ন করে:</p><blockquote><em>“R&amp;D করে লাভ কী?”</em></blockquote><p>এই প্রশ্ন স্বাভাবিক।</p><p>কিন্তু R&amp;D-এর ফল সবসময় ৬ মাসে পাওয়া যায় না।</p><p>একটি কোম্পানি যদি ৩ বছর ধরে কোনো Technology নিয়ে experiment করে এবং প্রথম দুই বছর কোনো commercial product না-ও আসে, তার মানে এই নয় যে সেই investment পুরোপুরি ব্যর্থ।</p><p>কারণ সেই সময়ে তৈরি হয়েছে —</p><ul><li>Skilled Engineers</li><li>Technical knowledge</li><li>Architecture capability</li><li>Patents/IP</li><li>Internal tools</li><li>Prototypes</li><li>Research papers</li><li>Product ideas</li><li>Domain expertise</li></ul><p>একটি দেশ R&amp;D-এর মাধ্যমে শুধু Product তৈরি করে না।</p><p><strong>মানুষ তৈরি করে।</strong></p><p>আর skilled মানুষই পরবর্তীতে Product তৈরি করে।</p><h3>আমাদের একটি বড় সমস্যা: “আমার চাকরি চলে যাবে”</h3><p>এটি হয়তো বাংলাদেশের Technology Industry-এর সবচেয়ে কম আলোচিত বিষয়গুলোর একটি।</p><p>একজন senior IT professional জানেন যে কোনো system পুরনো।</p><p>তিনি জানেন architecture modernize করা দরকার।</p><p>তিনি জানেন Open Source alternative আছে।</p><p>তিনি জানেন automation করা সম্ভব।</p><p>তিনি জানেন কিছু অংশ নিজস্বভাবে develop করা যায়।</p><p>কিন্তু তিনি সিদ্ধান্ত নিতে ভয় পান।</p><p>কারণ তার মনে হয় —</p><blockquote><em>“এটা যদি fail করে?”</em></blockquote><blockquote><em>“Management যদি আমাকে blame করে?”</em></blockquote><blockquote><em>“Vendor-এর support না থাকলে?”</em></blockquote><blockquote><em>“আমি চাকরি হারালে?”</em></blockquote><p>এটি শুধু ব্যক্তিগত সাহসের সমস্যা নয়।</p><p>এটি <strong>organizational culture-এর সমস্যা।</strong></p><p>যে organization experiment-এর failure-কে career failure বানিয়ে দেয়, সেখানে innovation কখনোই দীর্ঘমেয়াদে তৈরি হবে না।</p><p>Innovation-এর জন্য দরকার —</p><p><strong>Safe-to-Fail Environment</strong></p><p>অর্থাৎ production system ধ্বংস করার permission নয়।</p><p>বরং controlled environment-এ experiment করার permission।</p><h3>আমাদের “Vendor Dependency” কমাতে হবে</h3><p>Vendor-এর বিরুদ্ধে কথা বলছি না।</p><p>Vendor ecosystem প্রয়োজনীয়।</p><p>কিন্তু Vendor Dependency এবং Vendor Partnership এক জিনিস নয়।</p><p>যদি একটি প্রতিষ্ঠান এমন অবস্থায় চলে যায় যে —</p><blockquote><em>“Vendor ছাড়া আমরা কিছুই পরিবর্তন করতে পারি না।”</em></blockquote><p>তাহলে প্রতিষ্ঠানটির Technology capability দুর্বল।</p><p>একটি mature organization-এর internal team অন্তত বুঝবে —</p><ul><li>System Architecture</li><li>Data Model</li><li>Integration</li><li>Security Model</li><li>Deployment</li><li>Monitoring</li><li>Performance</li><li>Disaster Recovery</li><li>Source Code</li><li>API</li><li>Infrastructure dependency</li></ul><p>Vendor থাকলেও internal team যেন system-এর মালিকানা বুঝতে পারে।</p><p>অর্থাৎ —</p><p><strong>Vendor আমাদের Technology-এর partner হবে, Technology-এর owner নয়।</strong></p><h3>Open Source আমরা ব্যবহার করি, কিন্তু Open Source mindset কতটা আছে?</h3><p>বিশ্বের সবচেয়ে বড় Technology ecosystem-এর একটি বড় অংশ Open Source-এর উপর দাঁড়িয়ে আছে।</p><p>Linux, PostgreSQL, Kubernetes, Redis, Apache, Nginx, Kafka এবং অসংখ্য Open Source project পৃথিবীর Technology Industry বদলে দিয়েছে।</p><p>বাংলাদেশেও আমরা এগুলো ব্যবহার করি।</p><p>কিন্তু Open Source-এর সবচেয়ে গুরুত্বপূর্ণ দিকটি অনেক সময় আমরা ভুলে যাই।</p><p>Open Source শুধু —</p><blockquote><em>“Free Software </em>নয়।</blockquote><p>Open Source মানে —</p><blockquote><strong><em>Learn → Modify → Contribute → Build → Share</em></strong></blockquote><p>আমরা যদি কোনো Open Source project ব্যবহার করি, সেটির bug fix করি না, documentation লিখি না, code contribute করি না, plugin তৈরি করি না, ecosystem তৈরি করি না — তাহলে আমরা Open Source-এর consumer হয়েই থাকলাম।</p><p>আমাদের প্রয়োজন <strong>Open Source Consumption থেকে Open Source Contribution-এর দিকে যাওয়া।</strong></p><h3>Local Software-এর প্রতি আমাদের আস্থার সংকট</h3><p>এখানে একটি কঠিন বাস্তবতা আছে।</p><p>অনেক Corporate প্রতিষ্ঠান স্থানীয় Software Solution-এর নাম শুনলেই প্রশ্ন করে —</p><blockquote><em>“Support থাকবে তো?”</em></blockquote><blockquote><em>“Company টিকে থাকবে তো?”</em></blockquote><blockquote><em>“Enterprise scale handle করতে পারবে?”</em></blockquote><blockquote><em>“Security কেমন?”</em></blockquote><blockquote><em>“বিদেশি Product-এর মতো reliable হবে?”</em></blockquote><p>এই প্রশ্নগুলো অযৌক্তিক নয়।</p><p>Local Software Company-গুলোর মধ্যেও quality, security, documentation, support এবং engineering discipline-এর বড় পার্থক্য আছে।</p><p>কিন্তু সমস্যা হলো —</p><p><strong>Local Product-কে opportunity না দিলে Local Product কীভাবে Enterprise-grade হবে?</strong></p><p>একটি Product-এর maturity তৈরি হয় real-world deployment থেকে।</p><p>Customer feedback থেকে।</p><p>Large-scale traffic থেকে।</p><p>Failure থেকে।</p><p>Security audit থেকে।</p><p>Production incident থেকে।</p><p>Performance testing থেকে।</p><p>অর্থাৎ Local Product-কে কখনোই সুযোগ না দিলে আমরা কখনোই Enterprise-grade Local Product ecosystem তৈরি করতে পারব না।</p><h3>“Build vs Buy” সিদ্ধান্তকে নতুনভাবে দেখতে হবে</h3><p>সাধারণত Build vs Buy-এর প্রশ্ন হয় —</p><blockquote><em>কোনটা কম খরচ?</em></blockquote><p>কিন্তু একটি দেশের perspective থেকে প্রশ্নটি আরও বড় হওয়া উচিত।</p><p>আমাদের দেখা উচিত —</p><h3>Buy করলে:</h3><ul><li>কত টাকা দেশ থেকে বাইরে যাবে?</li><li>কতটা vendor dependency তৈরি হবে?</li><li>Internal skill কতটা তৈরি হবে?</li><li>Source code/IP কোথায় থাকবে?</li><li>Customization কতটা সম্ভব?</li><li>Long-term license cost কত?</li><li>Local ecosystem কতটা তৈরি হবে?</li></ul><h3>Build করলে:</h3><ul><li>Initial investment কত?</li><li>Development risk কত?</li><li>Maintenance capability আছে কি?</li><li>Productization সম্ভব কি?</li><li>অন্য প্রতিষ্ঠানকে দেওয়া যাবে কি?</li><li>Export potential আছে কি?</li><li>Internal engineering capability কতটা বাড়বে?</li></ul><p>সবকিছু Build করা উচিত নয়।</p><p>সবকিছু Buy করাও উচিত নয়।</p><p>আমাদের প্রয়োজন —</p><p><strong>Strategic Build vs Strategic Buy</strong></p><h3>সবচেয়ে বড় সুযোগ: Bangladesh-এর Local Problems</h3><p>বাংলাদেশের একটি বড় advantage আছে।</p><p>আমাদের সমস্যাগুলো অন্য দেশের মতো নয়।</p><p>আমাদের আছে —</p><ul><li>Microfinance</li><li>Large-scale NGO operations</li><li>Agent banking</li><li>Mobile financial ecosystem</li><li>Garments manufacturing</li><li>Supply chain challenges</li><li>Agriculture</li><li>Local logistics</li><li>Public service digitization</li><li>SME management</li><li>Informal business ecosystem</li><li>Large distributed field operations</li></ul><p>এই সমস্যাগুলো থেকেই Global Product তৈরি হতে পারে।</p><p>ধরা যাক Bangladesh-এর কোনো Microfinance Software যদি ৮–১০ মিলিয়ন customer-এর scale handle করতে পারে, তাহলে একই ধরনের সমস্যার সম্মুখীন অন্য দেশের জন্য সেটি Product হতে পারে।</p><p>Garments Industry-এর Production Planning Software যদি Bangladesh-এর complex manufacturing environment solve করতে পারে, তাহলে সেটি Vietnam, India, Cambodia, Indonesia বা অন্য manufacturing market-এও ব্যবহারযোগ্য হতে পারে।</p><p>অর্থাৎ —</p><p><strong>আমাদের Local Problem-ই Global Product-এর starting point হতে পারে।</strong></p><h3>আমরা কেন Global Product বানানোর কথা কম বলি?</h3><p>আমাদের Startup conversation অনেক সময় এমন:</p><blockquote><em>“দেশের বাজারে Product চালাব।”</em></blockquote><p>কিন্তু আরও একটি প্রশ্ন হওয়া উচিত —</p><blockquote><em>“এই Product কি বাংলাদেশ ছাড়াও ব্যবহার করা সম্ভব?</em></blockquote><p>প্রথম customer বাংলাদেশে হতে পারে।</p><p>প্রথম deployment বাংলাদেশে হতে পারে।</p><p>প্রথম revenue বাংলাদেশ থেকে হতে পারে।</p><p>কিন্তু architecture হওয়া উচিত Global।</p><p>Documentation হওয়া উচিত Global।</p><p>Security standard হওয়া উচিত Global।</p><p>API design হওয়া উচিত Global।</p><p>Pricing model হওয়া উচিত Global।</p><p>আর Team-এর mindset হওয়া উচিত —</p><blockquote><strong><em>Build once, scale globally.</em></strong></blockquote><h3>আমাদের Engineering Education-এও পরিবর্তন দরকার</h3><p>University-তে আমরা অনেক সময় Technology শেখাই। কিন্তু Product Engineering শেখানো হয় কম।</p><p>একজন student হয়তো</p><p>programming language জানে।</p><p>Database জানে।</p><p>Web development জানে।</p><p>কিন্তু সে কি জানে —</p><ul><li>Production system কী?</li><li>Observability কী?</li><li>Distributed system কী?</li><li>Performance testing কী?</li><li>Security engineering কী?</li><li>Failure handling কী?</li><li>Deployment automation কী?</li><li>Scalability কী?</li><li>Product requirement কীভাবে তৈরি হয়?</li><li>একটি system কীভাবে ১০ বছর maintain করা হয়?</li></ul><p>University এবং Industry-এর মধ্যে gap এখানেও বড়।</p><p>আমাদের শুধু —</p><p><strong>“Coding শেখানো”</strong></p><p>থেকে যেতে হবে —</p><p><strong>“Engineering শেখানো”-র দিকে।</strong></p><h3>Senior Engineers-এর দায়িত্বও আছে</h3><p>এখানে শুধু তরুণদের দায়ী করলে হবে না।</p><p>আমাদের অনেক experienced technology professional আছেন যারা ১৫–২০ বছর industry-তে আছেন।</p><p>তাদের কাছে বিশাল practical knowledge আছে।</p><p>কিন্তু সেই knowledge অনেক সময় organization-এর বাইরে যায় না।</p><p>একজন senior engineer-এর সবচেয়ে বড় contribution শুধু একটি system চালু রাখা নয়।</p><p>তার উচিত —</p><p><strong>পরবর্তী generation-এর Engineer তৈরি করা।</strong></p><p>Junior Engineer যেন শুধু ticket implement না করে।</p><p>তাকে architecture বোঝাতে হবে।</p><p>Production incident বুঝতে দিতে হবে।</p><p>System design করতে দিতে হবে।</p><p>Experiment করতে দিতে হবে।</p><p>কখনো কখনো ভুল করতেও দিতে হবে।</p><p>কারণ —</p><blockquote><strong><em>Knowledge transfer না হলে ২০ বছরের experience একজন মানুষের মধ্যেই আটকে থাকে।</em></strong></blockquote><h3>আমাদের KPI-ও পরিবর্তন করতে হবে</h3><p>যদি Corporate Management শুধু জিজ্ঞেস করে —</p><blockquote><em>“এই বছর কত টাকা save করেছ?”</em></blockquote><p>তাহলে Technology team naturally cost-cutting করবে।</p><p>কিন্তু যদি Management জিজ্ঞেস করে —</p><ul><li>কতগুলো internal prototype তৈরি হয়েছে?</li><li>কতগুলো process automate হয়েছে?</li><li>কতগুলো vendor dependency কমেছে?</li><li>কতগুলো reusable component তৈরি হয়েছে?</li><li>কতগুলো Open Source contribution হয়েছে?</li><li>কতগুলো internal IP তৈরি হয়েছে?</li><li>কতগুলো product idea validate হয়েছে?</li><li>কতগুলো solution অন্য business unit-এ reuse হয়েছে?</li></ul><p>তাহলে Technology team-এর behaviour বদলাবে।</p><p>কারণ —</p><p><strong>যা measure করা হয়, organization সাধারণত সেটাই গুরুত্ব দেয়।</strong></p><h3>Technology Leadership মানে শুধু IT Operations নয়</h3><p>বাংলাদেশের অনেক প্রতিষ্ঠানে CIO/CTO/IT Head-এর ভূমিকা এখনও অনেকটা —</p><blockquote><em>“System চলছে কিনা?”</em></blockquote><blockquote><em>“Server চলছে কিনা?”</em></blockquote><blockquote><em>“Network চলছে কিনা?”</em></blockquote><blockquote><em>“Vendor payment হয়েছে কিনা?”</em></blockquote><p>এই জায়গা থেকে বের হতে হবে।</p><p>Technology leadership-এর প্রশ্ন হওয়া উচিত —</p><blockquote><em>আমরা আগামী পাঁচ বছরে কোন Technology capability তৈরি করছি?</em></blockquote><blockquote><em>কোন Technology-এর জন্য আমরা অন্য দেশের উপর নির্ভরশীল?</em></blockquote><blockquote><em>কোন solution আমরা নিজেরা তৈরি করতে পারি?</em></blockquote><blockquote><em>কোন Internal IP তৈরি করা সম্ভব?</em></blockquote><blockquote><em>কোন Local Problem Global Product হতে পারে?</em></blockquote><blockquote><em>আমাদের Engineers কি আগামী পাঁচ বছর পর আরও শক্তিশালী হবে?</em></blockquote><p>এই প্রশ্নগুলোই Technology Strategy-এর অংশ।</p><h3>R&amp;D Department খুললেই R&amp;D হয় না</h3><p>অনেক প্রতিষ্ঠান হয়তো একটি R&amp;D Team তৈরি করবে।</p><p>কিছু Engineer বসবে।</p><p>কয়েকটি presentation তৈরি হবে।</p><p>তারপর কয়েক মাস পরে Team বন্ধ হয়ে যাবে।</p><p>কারণ R&amp;D-এর জন্য শুধু মানুষ যথেষ্ট নয়।</p><p>প্রয়োজন —</p><p><strong>Budget + Time + Leadership Support + Experimentation + Data + Infrastructure + Business Connection</strong></p><p>এবং সবচেয়ে গুরুত্বপূর্ণ —</p><p><strong>Failure tolerance.</strong></p><p>একটি R&amp;D project-এর ১০টি experiment-এর মধ্যে ৭টি ব্যর্থ হতে পারে।</p><p>কিন্তু সেই ৭টি failure থেকে যদি ৩টি successful technology আসে, তাহলে সেটিই R&amp;D-এর value।</p><h3>আমাদের Technology Ecosystem-এ “Failure” সম্পর্কে ধারণা বদলাতে হবে</h3><p>একজন Engineer যদি বলে —</p><blockquote><em>“আমি একটা prototype করেছি, কাজ করেনি।”</em></blockquote><p>আমাদের প্রথম প্রশ্ন হওয়া উচিত নয় —</p><blockquote><em>“কেন fail করলে?”</em></blockquote><p>প্রথম প্রশ্ন হতে পারে —</p><blockquote><em>“কী শিখলে?”</em></blockquote><p>অবশ্যই Production failure এবং R&amp;D failure এক নয়।</p><p>Production system ভেঙে ফেলা innovation নয়।</p><p>কিন্তু controlled experiment-এর failure innovation-এর স্বাভাবিক অংশ।</p><p>আমাদের দরকার —</p><p><strong>Controlled Failure</strong></p><p>যেখানে experiment করার জায়গা থাকবে কিন্তু customer-এর production data এবং business operation নিরাপদ থাকবে।</p><h3>বাংলাদেশকে শুধু “IT Service Country” হয়ে থাকলে চলবে না</h3><p>বাংলাদেশ IT outsourcing, software service এবং manpower export-এ আরও এগোতে পারে।</p><p>কিন্তু দীর্ঘমেয়াদে আরও বড় value তৈরি হয় যখন আমরা —</p><p><strong>Service → Product → Platform → IP → Global Company</strong></p><p>এই journey-তে যাই।</p><p>Service business-এ আমরা client-এর problem solve করি।</p><p>Product business-এ আমরা একই problem বহু customer-এর জন্য solve করি।</p><p>Platform business-এ অন্যরা আমাদের technology-এর উপর business তৈরি করে।</p><p>IP business-এ technology নিজেই asset হয়ে যায়।</p><p>এখানেই বড় economic value তৈরি হতে পারে।</p><h3>আমাদের Technology Gap আসলে একটি Mindset Gap</h3><p>সবশেষে আমার কাছে সবচেয়ে গুরুত্বপূর্ণ বিষয়টি হলো —</p><p>বাংলাদেশের Technology Gap শুধু infrastructure gap নয়।</p><p>এটি শুধু funding gap নয়।</p><p>এটি শুধু talent gap নয়।</p><p>এটি অনেকাংশে একটি <strong>Mindset Gap</strong>।</p><p>আমাদের mindset অনেক সময় —</p><blockquote><em>“কোনটা কিনব?”</em></blockquote><p>এর মধ্যে আটকে থাকে।</p><p>আমাদের প্রশ্ন করতে হবে —</p><blockquote><em>“কোনটা তৈরি করতে পারি?”</em></blockquote><p>আবার সবকিছু নিজে তৈরি করাও ভুল।</p><p>তাই দ্বিতীয় প্রশ্ন —</p><blockquote><em>“কোনটা আমাদের তৈরি করা strategic এবং কোনটা কিনে নেওয়া strategic?”</em></blockquote><p>আর তৃতীয় প্রশ্ন —</p><blockquote><em>“যেটা কিনছি, সেটার technology আমরা কতটা বুঝছি?”</em></blockquote><h3>শেষ কথা: “আমরা পারি” বলা যথেষ্ট নয়</h3><p><strong>আমাদের “এটা কীভাবে কাজ করে?” প্রশ্নটি আবার ফিরিয়ে আনতে হবে।</strong></p><p>আমরা কতটা এগোবো, সেটা শুধু কতগুলো নতুন Software কিনলাম তার উপর নির্ভর করবে না।</p><p>বরং নির্ভর করবে —</p><p><strong>আগামী দশ বছরে আমরা কতটা Technology নিজেদের তৈরি করতে পারলাম।</strong></p><p>আর সেই পথের প্রথম ধাপ খুব ছোট হতে পারে।</p><p>একটি প্রশ্ন দিয়ে —</p><blockquote><strong><em>“আমরা এটা কিনব কেন? আমরা কি অন্তত একবার নিজেরা তৈরি করার চেষ্টা করতে পারি?”</em></strong></blockquote><p>সেই প্রশ্নটাই হয়তো বাংলাদেশের Technology Industry-এর পরবর্তী বড় পরিবর্তনের শুরু হতে পারে।</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3465523c4f65" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Redefining the SDLC in the Era of AI]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://sajid-ict.medium.com/redefining-the-sdlc-in-the-era-of-ai-50f3978fdae2?source=rss-27242807ea5f------2"><img src="https://cdn-images-1.medium.com/max/1536/1*fL8vdqbFRdO_dtv-japUDA.png" width="1536"></a></p><p class="medium-feed-snippet">From Requirements &#x2192; Design &#x2192; Code &#x2192; Test &#x2192; Deploy</p><p class="medium-feed-link"><a href="https://sajid-ict.medium.com/redefining-the-sdlc-in-the-era-of-ai-50f3978fdae2?source=rss-27242807ea5f------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://sajid-ict.medium.com/redefining-the-sdlc-in-the-era-of-ai-50f3978fdae2?source=rss-27242807ea5f------2</link>
            <guid isPermaLink="false">https://medium.com/p/50f3978fdae2</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[sdlc]]></category>
            <dc:creator><![CDATA[Sajidur Rahman]]></dc:creator>
            <pubDate>Fri, 28 Aug 2026 13:32:30 GMT</pubDate>
            <atom:updated>2026-08-28T13:32:30.344Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Recache: Building a Redis-Compatible In-Memory Cache Server in .NET 10]]></title>
            <link>https://sajid-ict.medium.com/recache-building-a-redis-compatible-in-memory-cache-server-in-net-10-7bc45f5fea55?source=rss-27242807ea5f------2</link>
            <guid isPermaLink="false">https://medium.com/p/7bc45f5fea55</guid>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[distributed-systems]]></category>
            <category><![CDATA[redis]]></category>
            <category><![CDATA[caching]]></category>
            <category><![CDATA[performance-engineering]]></category>
            <dc:creator><![CDATA[Sajidur Rahman]]></dc:creator>
            <pubDate>Wed, 26 Aug 2026 16:21:12 GMT</pubDate>
            <atom:updated>2026-08-26T16:21:12.870Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>How a simple idea to make Redis easier for Windows developers turned into a deep dive into TCP networking, RESP2, concurrency, transactions, performance engineering, and .NET server development.</strong></p><p><a href="https://github.com/sajidur/recache">GitHub: github.com/sajidur/recache</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cWxuIekb-fP_ISmZLrRsXA.png" /></figure><h3>Why I Started Building Recache</h3><p>Redis has become an essential part of modern backend development.</p><p>It is used for:</p><ul><li>Application caching</li><li>Distributed locks</li><li>Sessions</li><li>Counters</li><li>Rate limiting</li><li>Temporary state</li><li>Queues</li><li>High-performance data access</li></ul><p>For .NET developers, working with Redis is especially convenient. Libraries such as StackExchange.Redis provide a mature client API, allowing an application to communicate with Redis with very little code.</p><p>For example:</p><pre>var connection = await ConnectionMultiplexer.ConnectAsync(<br>    &quot;localhost:6380,password=yourpassword&quot;);</pre><pre>var db = connection.GetDatabase();</pre><pre>await db.StringSetAsync(&quot;customer:1001&quot;, &quot;Sajidur&quot;);</pre><pre>var value = await db.StringGetAsync(&quot;customer:1001&quot;);</pre><p>But there is another side of the story.</p><p>For developers working primarily on Windows, getting Redis running locally can sometimes involve additional infrastructure such as WSL, Docker, a VM, or other workarounds.</p><p>I started asking myself:</p><blockquote><strong><em>What if a Windows developer could simply install a Redis-compatible cache, start it as a Windows Service, and use existing Redis clients and tools without changing their application?</em></strong></blockquote><p>That question became the starting point for <strong>Recache</strong>.</p><h3>What Is Recache?</h3><p><strong>Recache</strong> is a lightweight, Redis-compatible in-memory data store built with <strong>C# and .NET 10</strong>.</p><p>The goal is not to create another proprietary cache API.</p><p>Instead, Recache communicates using <strong>RESP2 over TCP</strong>, allowing existing Redis-compatible clients and tools to communicate with it directly.</p><p>The project is specifically designed to provide a Redis-like development experience without requiring Windows developers to set up Redis through WSL, Docker, or other workarounds.</p><p>The repository currently documents compatibility with tools and clients including:</p><ul><li>redis-cli</li><li>StackExchange.Redis</li><li>RedisInsight</li><li>Other compatible Redis clients</li></ul><p>The high-level architecture looks like this:</p><pre>Redis Clients / Tools<br>                            │<br>             ┌──────────────┼──────────────┐<br>             │              │              │<br>         redis-cli    StackExchange.Redis  RedisInsight<br>             │              │              │<br>             └──────────────┼──────────────┘<br>                            │<br>                       TCP / RESP2<br>                            │<br>                 ┌──────────▼──────────┐<br>                 │       Recache       │<br>                 │                     │<br>                 │ Connection Manager  │<br>                 │         ↓           │<br>                 │    RESP Reader      │<br>                 │         ↓           │<br>                 │ Command Dispatcher  │<br>                 │         ↓           │<br>                 │    Cache Engine     │<br>                 │         ↓           │<br>                 │ Metrics / Logging   │<br>                 └─────────────────────┘</pre><p>This architecture is intentionally simple.</p><p>The client communicates through TCP.</p><p>The RESP reader understands the Redis protocol.</p><p>The command dispatcher determines what operation is being requested.</p><p>The cache engine manages the actual in-memory data.</p><p>The response is serialized back through RESP and returned to the client.</p><h3>Why RESP2?</h3><p>This was probably the most important architectural decision in the project.</p><p>I didn’t want to invent another cache protocol.</p><p>Instead, I wanted to take advantage of the existing Redis ecosystem.</p><p>Recache therefore speaks <strong>RESP2</strong>.</p><p>Conceptually, the communication path looks like:</p><pre>Client<br>  │<br>  │ SET customer:1001 Sajidur<br>  ▼<br>RESP2<br>  │<br>  ▼<br>TCP<br>  │<br>  ▼<br>Recache<br>  │<br>  ▼<br>RESP Reader<br>  │<br>  ▼<br>Command Dispatcher<br>  │<br>  ▼<br>Cache Engine<br>  │<br>  ▼<br>RESP Writer<br>  │<br>  ▼<br>Client</pre><p>This gives Recache a major advantage.</p><p>The application doesn’t need to know that the server is written in .NET.</p><p>If the client speaks the supported Redis protocol and commands, it can communicate with Recache.</p><p>That means a .NET application using StackExchange.Redis can use the same programming model.</p><h3>The Goal Was Simple: Install and Use It</h3><p>One of the main goals was to make the Windows developer experience extremely simple.</p><p>The desired workflow is:</p><pre>Download<br>   ↓<br>Install<br>   ↓<br>Configure password<br>   ↓<br>Start<br>   ↓<br>Connect using Redis tools</pre><p>The Windows installer registers Recache as a <strong>Windows Service</strong>.</p><p>After installation, it can run in the background and start automatically with Windows.</p><p>The repository documents the default installation location as:</p><pre>C:\Program Files\Recache</pre><p>and provides PowerShell commands for managing the service:</p><pre>Get-Service Recache</pre><pre>Start-Service Recache</pre><pre>Stop-Service Recache</pre><pre>Restart-Service Recache</pre><p>This is important because the goal isn’t simply to build a technically compatible server.</p><p>The goal is also to improve the <strong>developer experience</strong>.</p><h3>Redis Data Types</h3><p>A cache server becomes much more useful when it supports more than simple key/value strings.</p><p>Recache currently supports:</p><ul><li>String</li><li>Hash</li><li>List</li><li>Set</li><li>Sorted Set</li><li>JSON</li></ul><p>For example, you can use a simple String:</p><pre>customer:1001 → Sajidur</pre><p>A Hash:</p><pre>customer:1001<br>    name → Sajidur<br>    role → Software Architect</pre><p>A List:</p><pre>notifications:user:1001</pre><p>A Set:</p><pre>permissions:user:1001</pre><p>A Sorted Set:</p><pre>leaderboard<br>    user:1001 → 1200<br>    user:1002 → 1500<br>    user:1003 → 1800</pre><p>Or a JSON document:</p><pre>{<br>  &quot;id&quot;: 1001,<br>  &quot;name&quot;: &quot;Sajidur&quot;,<br>  &quot;role&quot;: &quot;Software Architect&quot;<br>}</pre><p>This allows Recache to support a much wider range of caching scenarios.</p><h3>JSON Support</h3><p>One feature I particularly wanted to explore was structured JSON storage.</p><p>Recache supports RedisJSON-compatible JSON.* commands with JSONPath support.</p><p>Instead of storing everything as an opaque string, applications can work with structured JSON documents.</p><p>Conceptually:</p><pre>JSON.SET customer:1001 $ {&quot;name&quot;:&quot;Sajidur&quot;,&quot;role&quot;:&quot;Architect&quot;}</pre><p>The application can then retrieve or query the document using JSON commands.</p><p>This is useful for applications where the cached object naturally maps to JSON rather than individual key/value pairs.</p><h3>TTL and Expiration</h3><p>Caching without expiration is not particularly useful for many real-world scenarios.</p><p>Recache supports:</p><pre>TTL<br>PTTL<br>EXPIRE<br>PEXPIRE<br>PERSIST</pre><p>For example:</p><pre>SET session:123 abc<br>EXPIRE session:123 3600</pre><p>The value can then automatically expire after one hour.</p><p>This is useful for:</p><ul><li>Sessions</li><li>Temporary tokens</li><li>API response caching</li><li>Rate limiting</li><li>Temporary application state</li><li>Computed results</li></ul><p>Expiration is also an interesting engineering problem because the server has to deal with memory cleanup while other connections may simultaneously be accessing the same data.</p><h3>Authentication</h3><p>Recache supports password-based authentication.</p><p>The implementation provides Redis-style authentication semantics including:</p><pre>AUTH<br>NOAUTH<br>WRONGPASS</pre><p>This is important because a cache server should not automatically assume every connection is trusted.</p><p>The configuration allows authentication to be enabled and a password to be configured.</p><p>For example:</p><pre>redis-cli -p 6380 -a yourpassword</pre><p>The project documentation also recommends replacing the placeholder password included with the installer before using the service.</p><h3>RedisInsight Compatibility</h3><p>Another important requirement was tooling.</p><p>A cache server is much easier to use when developers can inspect its contents visually.</p><p>Recache supports commands required for RedisInsight compatibility, including:</p><pre>SCAN<br>HSCAN<br>SSCAN<br>ZSCAN<br>INFO<br>CONFIG GET<br>CLIENT<br>MODULE LIST</pre><p>This means RedisInsight can be used to inspect and interact with Recache.</p><p>This reinforced an important lesson for me:</p><blockquote><strong><em>Compatibility isn’t only about application clients. Developer tooling matters too.</em></strong></blockquote><h3>The Hard Part: Transactions</h3><p>The most interesting engineering challenge started when I implemented transactions.</p><p>Recache supports:</p><pre>MULTI<br>EXEC<br>DISCARD<br>WATCH<br>UNWATCH</pre><p>At first glance, implementing these commands might seem straightforward.</p><p>But the problem is deeper.</p><p>Redis has a different execution model.</p><p>Recache is a multi-threaded server.</p><p>Therefore, I couldn’t simply assume that transaction atomicity would naturally emerge from the server architecture.</p><p>I needed to explicitly implement the required guarantees.</p><h3>How EXEC Works</h3><p>A simplified transaction looks like:</p><pre>MULTI<br>SET account:1 100<br>SET account:2 200<br>EXEC</pre><p>The commands are first queued.</p><p>Then EXEC executes the queued commands as a batch.</p><p>In Recache, EXEC runs the entire queued batch under an <strong>exclusive write lock</strong>.</p><p>The idea is:</p><pre>Normal commands<br>       │<br>       ▼<br>Concurrent read access<br>       │<br>       ▼<br>   Cache Engine<br></pre><pre>Transaction<br>       │<br>       ▼<br>      MULTI<br>       │<br>       ▼<br> Queue commands<br>       │<br>       ▼<br>      EXEC<br>       │<br>       ▼<br> Exclusive lock<br>       │<br>       ▼<br> Execute entire batch<br>       │<br>       ▼<br> Release lock</pre><p>Only the transaction execution requires exclusivity.</p><p>Normal commands don’t have to pay the same cost.</p><p>This was an important design decision because I wanted transaction correctness without unnecessarily serializing every command.</p><p>The repository specifically documents that EXEC uses an exclusive lock for cross-connection atomicity while normal commands can use concurrent read access.</p><h3>WATCH and Per-Key Versioning</h3><p>WATCH was even more interesting.</p><p>Imagine:</p><pre>WATCH customer:1001</pre><p>The transaction is essentially saying:</p><blockquote><em>Continue only if </em><em>customer:1001 has not changed.</em></blockquote><p>A naive implementation could maintain a global flag:</p><pre>Something changed?<br>    ↓<br>Abort transaction</pre><p>Suppose the transaction watches:</p><pre>customer:1001</pre><p>while another connection modifies:</p><pre>customer:9999</pre><p>The transaction shouldn’t fail.</p><p>So Recache uses <strong>per-key versions</strong>.</p><p>Conceptually:</p><pre>customer:1001 → version 15</pre><p>The transaction records:</p><pre>WATCH customer:1001</pre><pre>Observed version = 15</pre><p>Another connection modifies the key:</p><pre>customer:1001 → version 16</pre><p>Then:</p><pre>EXEC</pre><p>detects:</p><pre>15 != 16</pre><p>and aborts the transaction.</p><p>But if another connection modifies:</p><pre>customer:9999</pre><p>the version of customer:1001 remains unchanged.</p><p>The transaction can continue.</p><p>This approach prevents unrelated writes from unnecessarily aborting transactions.</p><p>The repository explicitly documents this per-key version tracking rather than using a global “anything changed” flag.</p><h3>Protocol Performance: Where the Real Bottlenecks Were</h3><p>Once the core functionality was working, I started looking at performance.</p><p>This was another interesting lesson.</p><p>When building a high-performance cache, it is tempting to immediately optimize the cache engine.</p><p>But sometimes the bottleneck is somewhere else.</p><p>The protocol layer turned out to be an important area.</p><h3>RESP Reader Optimization</h3><p>The original RESP reader was reading the socket in very small pieces.</p><p>For a command of roughly 35 bytes, that could result in more than 30 separate asynchronous reads simply to parse the request.</p><p>That’s a lot of overhead.</p><p>The solution was to buffer incoming data.</p><p>Instead of:</p><pre>Socket → Read<br>Socket → Read<br>Socket → Read<br>Socket → Read<br>...</pre><p>the reader now works more like:</p><pre>Socket<br>  ↓<br>8 KB buffer<br>  ↓<br>Parse from memory<br>  ↓<br>Next socket read when required</pre><p>This reduces unnecessary async operations and system calls.</p><h3>RESP Writer Optimization</h3><p>The response path had another issue.</p><p>A response could involve multiple separate writes:</p><pre>length prefix<br>payload<br>CRLF</pre><p>With TCP NoDelay, those individual writes can become expensive.</p><p>The writer was changed to serialize the complete response into a reusable scratch buffer and send it as one write.</p><p>Conceptually:</p><pre>Before:</pre><pre>[length] → write<br>[payload] → write<br>[CRLF] → write<br></pre><pre>After:</pre><pre>[length + payload + CRLF]<br>             │<br>             ▼<br>        one write</pre><p>The repository records this as one of the protocol-layer performance improvements.</p><h3>Benchmarking Instead of Guessing</h3><p>I also added a dedicated benchmark client.</p><p>One important design decision was that the benchmark uses Recache’s own RESP reader/writer rather than a completely separate hand-written protocol implementation.</p><p>Why?</p><p>Because otherwise the benchmark client itself could introduce behavior that doesn’t represent the actual protocol path.</p><p>The benchmark can measure:</p><pre>SET throughput<br>GET throughput<br>PING throughput</pre><pre>p50 latency<br>p95 latency<br>p99 latency</pre><p>It also supports:</p><ul><li>Multiple connections</li><li>Pipelining</li><li>Release builds</li><li>Real RESP processing</li></ul><h3>An Important Performance Lesson</h3><p>During performance testing, I also experimented with enabling Server GC as a potential optimization.</p><p>It seemed like a reasonable thing to try.</p><p>But the benchmark showed worse results for the workload I was testing.</p><p>So I reverted the change.</p><p>This is a small example, but it represents an important principle:</p><blockquote><strong><em>Don’t keep an optimization because it sounds good. Keep it because measurements show that it helps.</em></strong></blockquote><p>Performance engineering is empirical.</p><p>The correct optimization depends on:</p><ul><li>Workload</li><li>Allocation pattern</li><li>Concurrency</li><li>CPU</li><li>Network behavior</li><li>Memory pressure</li><li>Runtime behavior</li></ul><p>What improves one workload can make another one worse.</p><h3>Windows Service Support</h3><p>A major goal of Recache was to make the Windows experience simple.</p><p>The application can run either as:</p><pre>Console Application</pre><p>or:</p><pre>Windows Service</pre><p>The installer registers the service automatically.</p><p>This means Recache can continue running in the background without keeping a terminal window open.</p><p>The service can be controlled through standard Windows tools:</p><pre>Get-Service Recache<br>Restart-Service Recache<br>Stop-Service Recache<br>Start-Service Recache</pre><p>For local Windows development, this provides a much more natural experience.</p><h3>Docker Support</h3><p>Although Windows installation was the original motivation, Recache is not limited to Windows.</p><p>The project also provides Docker support.</p><p>For example:</p><pre>docker run -d \<br>  --name recache \<br>  -p 6380:6380 \<br>  -e Recache__RequireAuth=true \<br>  -e Recache__Password=yourpassword \<br>  sajidur/recache:latest</pre><p>Docker Compose is also included.</p><p>This means the same cache server can be used in:</p><ul><li>Windows development</li><li>Linux development</li><li>macOS development</li><li>Docker-based environments</li><li>CI/CD environments</li></ul><h3>Configuration</h3><p>Recache supports configuration through appsettings.yaml and environment variables.</p><p>For Docker, configuration can be provided through:</p><pre>Recache__&lt;Property&gt;</pre><p>For example:</p><pre>Recache__Port<br>Recache__Password<br>Recache__MaxMemoryBytes<br>Recache__RequireAuth</pre><p>This makes the server easier to configure across different environments without modifying the application itself.</p><h3>Logging and Operations</h3><p>A server isn’t complete without operational visibility.</p><p>Recache supports console logging and rolling daily log files.</p><p>For example:</p><pre>recache-20260826.log<br>recache-20260827.log<br>recache-20260828.log</pre><p>Old files can automatically be removed according to the configured retention period.</p><p>For example:</p><pre>Recache:<br>  EnableFileLogging: true<br>  LogDirectory: &quot;logs&quot;<br>  LogRetentionDays: 7</pre><p>The Docker Compose configuration also mounts a persistent volume for logs so they can survive container recreation.</p><h3>The Codebase</h3><p>The project is organized into several major areas:</p><pre>recache/<br>│<br>├── Commands/<br>│   └── Command dispatch<br>│<br>├── Storage/<br>│   ├── CacheStore<br>│   ├── RedisHash<br>│   ├── RedisList<br>│   ├── RedisSet<br>│   ├── RedisSortedSet<br>│   └── RedisJson<br>│<br>├── Protocol/<br>│   └── RESP2<br>│<br>├── Server/<br>│   ├── TCP server<br>│   └── Connection handling<br>│<br>├── Security/<br>│   └── Authentication<br>│<br>├── Configuration/<br>│   └── RecacheOptions<br>│<br>├── scripts/<br>│   └── Service installation<br>│<br>├── installer/<br>│   └── Windows installer<br>│<br>├── benchmark/<br>│   └── Load testing<br>│<br>├── Dockerfile<br>└── docker-compose.yml</pre><p>The separation between protocol, server, command handling, and storage is intentional.</p><p>It makes it possible to work on one layer without unnecessarily changing the others.</p><h3>Running Recache From Source</h3><p>Developers who want to explore the implementation can run it directly from source.</p><p>The repository currently targets the <strong>.NET 10 SDK</strong>.</p><p>The basic workflow is:</p><pre>git clone https://github.com/sajidur/recache.git</pre><pre>cd recache\recache</pre><pre>copy appsettings.example.yaml appsettings.yaml</pre><pre>dotnet run</pre><p>The console version listens on:</p><pre>localhost:6380</pre><p>This also makes the project useful as an educational exercise for developers interested in building TCP-based servers with .NET.</p><h3>What I Learned From Building It</h3><p>The biggest lessons weren’t necessarily about Redis.</p><p>They were about engineering.</p><h3>1. Protocol compatibility is deeper than API compatibility</h3><p>Implementing:</p><pre>GET<br>SET<br>DEL</pre><p>is only the beginning.</p><p>Real compatibility involves:</p><ul><li>Wire protocol</li><li>Response semantics</li><li>Error behavior</li><li>Authentication</li><li>Transactions</li><li>Concurrency</li><li>Client expectations</li><li>Tool compatibility</li></ul><h3>2. Concurrency changes everything</h3><p>A simple in-memory dictionary is easy.</p><p>A multi-threaded server supporting transactions, multiple clients, optimistic concurrency, and atomic operations is a completely different problem.</p><h3>3. Atomicity must be designed</h3><p>When your execution model is different from Redis, you can’t assume Redis’s behavioral guarantees will automatically appear.</p><p>You have to explicitly design them.</p><h3>4. Developer experience matters</h3><p>Sometimes the most valuable feature isn’t another advanced technical capability.</p><p>Sometimes it is simply:</p><pre>Download<br>   ↓<br>Install<br>   ↓<br>Run</pre><p>That’s especially true for local development tools.</p><h3>5. Benchmarking beats assumptions</h3><p>The protocol reader and writer optimizations came from looking at actual behavior.</p><p>The Server GC experiment reinforced the same lesson.</p><p><strong>Measure first. Optimize second.</strong></p><h3>Why Build This Instead of Just Using Redis?</h3><p>Again, I’m not positioning Recache as a universal Redis replacement.</p><p>Redis is a mature and highly capable technology.</p><p>The goal of Recache is different.</p><p>It’s an exploration of whether we can provide a lightweight, Redis-compatible cache with a particularly simple experience for Windows developers.</p><p>At the same time, it became a practical way to explore:</p><ul><li>TCP networking</li><li>RESP2</li><li>Concurrent data structures</li><li>Transaction semantics</li><li>Optimistic concurrency</li><li>Memory management</li><li>.NET performance</li><li>Windows Services</li><li>Docker</li><li>Benchmarking</li><li>Developer tooling</li></ul><p>And that turned out to be far more interesting than I initially expected.</p><h3>What Comes Next?</h3><p>There is still a lot I want to improve.</p><p>Some areas I’m interested in exploring include:</p><h3>More Redis compatibility</h3><p>Continue implementing additional commands based on real-world application requirements.</p><h3>Compatibility testing</h3><p>Test Recache against real applications and existing Redis clients rather than only testing individual commands.</p><h3>High-concurrency workloads</h3><p>Push the server harder with:</p><ul><li>More connections</li><li>Higher request rates</li><li>Larger datasets</li><li>Pipelining</li><li>Contention</li></ul><h3>Memory optimization</h3><p>Explore memory usage and allocation patterns under different workloads.</p><h3>Better observability</h3><p>Add more metrics and operational visibility.</p><h3>Production-oriented testing</h3><p>Move beyond functional correctness and test more realistic workloads.</p><h3>Recache Is Open Source</h3><p>The project is available on GitHub:</p><p><a href="https://github.com/sajidur/recache"><strong>https://github.com/sajidur/recache</strong></a></p><p>It currently includes:</p><ul><li>Redis-compatible RESP2 server</li><li>String, Hash, List, Set, Sorted Set and JSON data types</li><li>TTL and expiration</li><li>Authentication</li><li>Transactions</li><li>WATCH/UNWATCH</li><li>RedisInsight-compatible commands</li><li>Windows Service support</li><li>Windows installer</li><li>Docker support</li><li>Docker Compose</li><li>Rolling file logging</li><li>Benchmarking</li><li>Apache 2.0 license</li></ul><h3>I Would Love Feedback</h3><p>If you’re a <strong>.NET developer</strong>, especially if you’re using Windows with:</p><ul><li>ASP.NET Core</li><li>StackExchange.Redis</li><li>RedisInsight</li><li>Docker</li><li>Distributed caching</li></ul><p>I’d love to hear what you think.</p><p>I’m particularly interested in:</p><p><strong>What Redis functionality would you consider essential for Recache to support?</strong></p><p>And more importantly:</p><p><strong>Would you actually use a lightweight Redis-compatible cache like this for local development?</strong></p><h3>Final Thoughts</h3><p>Recache started with a simple question:</p><blockquote><strong><em>Can I make Redis-style caching easier for Windows developers?</em></strong></blockquote><p>The answer turned into a much bigger engineering experiment.</p><p>Building a Redis-compatible server forced me to work through problems that are easy to ignore when you’re simply using Redis:</p><pre>Recache<br>                       │<br>        ┌──────────────┼──────────────┐<br>        │              │              │<br>       TCP            RESP        Concurrency<br>        │              │              │<br>        ├──────────────┼──────────────┤<br>        │              │              │<br>     Storage       Transactions    Security<br>        │              │              │<br>        ├──────────────┼──────────────┤<br>        │              │              │<br>   Performance     Benchmarking    Operations</pre><p>The most interesting part wasn’t implementing GET and SET.</p><p>It was understanding everything underneath them.</p><p><strong>Sometimes the best way to understand a technology is to build a smaller version of it yourself.</strong></p><p>That’s exactly what Recache has become for me: a practical project for exploring <strong>protocol design, TCP networking, concurrency, transaction semantics, performance engineering, and .NET server development</strong>.</p><p>And the project is still evolving.</p><p>👉 <strong>GitHub:</strong> <a href="https://github.com/sajidur/recache">https://github.com/sajidur/recache</a></p><p>If you find the project interesting, give it a try, open an issue, suggest a command, test it with your Redis client, or just tell me what you think.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7bc45f5fea55" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Security Tools Are Often Misused: Buy the Problem, Not the Product]]></title>
            <link>https://sajid-ict.medium.com/security-tools-are-often-misused-buy-the-problem-not-the-product-7fbe1913d132?source=rss-27242807ea5f------2</link>
            <guid isPermaLink="false">https://medium.com/p/7fbe1913d132</guid>
            <category><![CDATA[pams]]></category>
            <dc:creator><![CDATA[Sajidur Rahman]]></dc:creator>
            <pubDate>Tue, 21 Jul 2026 04:48:46 GMT</pubDate>
            <atom:updated>2026-07-21T04:48:46.355Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0sVoRIjOMHmeOGPV_xoRZA.png" /></figure><p>One of the biggest mistakes organizations make is purchasing security products without understanding the actual problem they are trying to solve.</p><p>Many security products become expensive operational burdens because they are implemented everywhere instead of where they actually reduce risk.</p><p>A good solution architecture always starts with a question:</p><blockquote><strong><em>What threat am I trying to mitigate?</em></strong></blockquote><p>Not:</p><blockquote><strong><em>Which security product should I buy?</em></strong></blockquote><p>Let’s take <strong>Privileged Access Management (PAM)</strong> as an example.</p><p>Because The cybersecurity industry often promotes <strong>Privileged Access Management (PAM)</strong> as a mandatory security solution. While PAM is an excellent technology, deploying it without understanding the actual problem can create unnecessary complexity and cost.</p><h3>What is PAM?</h3><p>Privileged Access Management (PAM) is designed to protect, control, monitor, and audit <strong>high-risk privileged access</strong> to critical systems.</p><p>Products such as <strong>BeyondTrust</strong>, <strong>CyberArk</strong>, <strong>Delinea</strong>, and <strong>ManageEngine PAM360</strong> are built around one assumption:</p><blockquote><em>Someone is accessing infrastructure that can cause catastrophic damage if compromised.</em></blockquote><p>PAM is <strong>not</strong> simply another login system.</p><p>It is a risk reduction platform.</p><h3>When PAM Is Absolutely Necessary if your organization have</h3><h3>1. Third-Party Vendors</h3><p>This is probably the strongest use case.</p><p>Imagine your organization hires vendors for:</p><ul><li>Database maintenance</li><li>Firewall configuration</li><li>Oracle support</li><li>SAP support</li><li>Microsoft Exchange support</li><li>Cisco TAC</li><li>AWS consultants</li></ul><p>Without PAM:</p><ul><li>VPN account created</li><li>Shared administrator password</li><li>Vendor logs directly into production</li><li>Nobody knows exactly what happened</li></ul><p>If the vendor account is compromised, attackers now have administrator privileges inside your network.</p><p>With PAM:</p><ul><li>Vendor requests access.</li><li>Access requires approval.</li><li>Access is granted only for a specific time.</li><li>Password is automatically rotated.</li><li>Entire session is recorded.</li><li>Commands are logged.</li><li>Files transferred are logged.</li><li>Session automatically terminates after the maintenance window.</li></ul><p>Now the organization has:</p><ul><li>Complete audit trail</li><li>No permanent privileged accounts</li><li>No password sharing</li><li>Just-In-Time (JIT) access</li><li>Least privilege</li></ul><h3>2. MSP (Managed Service Provider)</h3><p>Many organizations outsource infrastructure.</p><p>Examples:</p><ul><li>Cloud management</li><li>Server management</li><li>Linux administration</li><li>Network operations</li><li>Database administration</li></ul><p>Instead of giving permanent Domain Admin rights,</p><p>PAM provides:</p><ul><li>Temporary credentials</li><li>Session monitoring</li><li>Approval workflow</li><li>Emergency access</li><li>Credential vault</li></ul><p>This is exactly why companies like <strong>BeyondTrust </strong>became industry leaders.</p><h3>Now look A Real-World Scenario</h3><p>Consider an organization with:</p><ul><li>4 Infrastructure Engineers</li><li>3 DevOps Engineers</li><li>2 Security Engineers</li></ul><p>Only these teams are responsible for:</p><ul><li>Deploying applications</li><li>Managing Windows and Linux servers</li><li>Configuring infrastructure</li><li>Maintaining production environments</li></ul><p>No developers, finance users, HR staff, or other business users have administrative access.</p><p>Each administrator:</p><ul><li>Has an individual Active Directory account</li><li>Uses Multi-Factor Authentication (MFA)</li><li>Belongs to role-based AD security groups</li><li>Uses a dedicated administrative account (not shared)</li><li>Has all logon activities collected</li><li>Follows a formal change management process</li><li>They all are permanent employee</li></ul><p>There are <strong>no third-party vendors</strong>, <strong>no contractors</strong>, and <strong>no shared administrator passwords</strong>.</p><h3><strong>In this scenario, what additional security problem is PAM solving?</strong></h3><h3>Active Directory Already Provides Strong Identity Control</h3><p>A well-managed Active Directory environment already delivers many of the core security controls required for internal administrators:</p><ul><li>Unique identities for every administrator</li><li>Role-based access control</li><li>Central authentication</li><li>Group-based authorization</li><li>Multi-Factor Authentication</li><li>Account lifecycle management</li><li>Detailed authentication logs</li><li>Integration with SIEM and monitoring platforms</li></ul><p>If an administrator logs into a server, the organization already knows:</p><ul><li>Who logged in</li><li>When they logged in</li><li>Which system they accessed</li><li>Whether authentication succeeded or failed</li><li>Which privileged group granted the access</li></ul><p>There is already accountability.</p><h3>Security Is About Risk, Not Features</h3><p>Many organizations implement PAM because it appears in security frameworks or vendor presentations.</p><p>But every security control should answer one question:</p><p><strong>What measurable risk does it reduce?</strong></p><p>If the environment already has:</p><ul><li>Individual administrator accounts</li><li>Strong authentication</li><li>Least-privilege access</li><li>Continuous logging</li><li>Security monitoring</li><li>Change approval</li><li>A small, trusted operations team</li></ul><p>then introducing a full PAM platform may provide only marginal security improvement while increasing operational overhead.</p><p>Buying technology without a clearly defined risk often results in complexity rather than stronger security.</p><h3>Don’t Confuse Identity Management with Privileged Access Management</h3><p>Active Directory and Identity Providers answer questions like:</p><ul><li><strong>Who is the user?</strong></li><li><strong>Can they authenticate?</strong></li><li><strong>What groups do they belong to?</strong></li></ul><p>PAM answers different questions:</p><ul><li><strong>Should this user receive privileged access right now?</strong></li><li><strong>Who approved it?</strong></li><li><strong>How long should it last?</strong></li><li><strong>Can the session be monitored or recorded?</strong></li><li><strong>Should privileged credentials ever be exposed to the user?</strong></li></ul><p>They solve different problems.</p><h3>The Bigger Lesson</h3><p>Security maturity is not measured by how many security products an organization owns.</p><p>It is measured by how well each control addresses a real risk.</p><p>Deploying PAM for a small, trusted operations team that already uses strong identity management, MFA, least privilege, logging, and monitoring may offer limited additional value.</p><p>Deploying PAM for third-party vendors, contractors, managed service providers, and high-risk privileged access is where it demonstrates its full strength.</p><p><strong>Good security architecture isn’t about buying every security product. It’s about selecting the right control for the right risk.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7fbe1913d132" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Cost-Benefit Analysis in ERP or Core Banking Systems | When “Just One Small Feature” Isn’t Small]]></title>
            <link>https://sajid-ict.medium.com/cost-benefit-analysis-in-erp-or-core-banking-systems-when-just-one-small-feature-isnt-small-1c87f544824a?source=rss-27242807ea5f------2</link>
            <guid isPermaLink="false">https://medium.com/p/1c87f544824a</guid>
            <category><![CDATA[product-design]]></category>
            <category><![CDATA[software-architecture]]></category>
            <category><![CDATA[requirement-analysis]]></category>
            <category><![CDATA[design-thinking]]></category>
            <dc:creator><![CDATA[Sajidur Rahman]]></dc:creator>
            <pubDate>Tue, 14 Jul 2026 16:06:42 GMT</pubDate>
            <atom:updated>2026-07-14T16:06:42.596Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JqB3efTNverMUrLgWXIOdg.png" /></figure><p>During my career as a software architect, one sentence has probably cost organizations more money than any technical problem I’ve ever encountered.</p><blockquote><strong><em>“It’s just a small change.” even sometimes give come with a solutions, you can implement this way.</em></strong></blockquote><p>Every business stakeholder has said it at some point.</p><blockquote><em>“Just add one checkbox.”</em></blockquote><blockquote><em>“Just allow users to edit this field.”</em></blockquote><blockquote><em>“Just make it configurable.”</em></blockquote><blockquote><em>“It should only take a day or two.”</em></blockquote><p>I understand where this comes from. Business users see the application through the user interface. If they see one textbox, one button, or one report, it feels like changing that single component should be straightforward.</p><p>But enterprise software doesn’t work that way.</p><p>An ERP or Core Banking System is not a collection of screens. It’s a living ecosystem where every business process, financial transaction, integration, audit trail, and regulatory requirement is interconnected. Changing one seemingly harmless field can ripple through hundreds of services, millions of records, and years of accumulated business logic.</p><p>As software architects, our responsibility isn’t simply to answer <strong>“Can we build it?”</strong> Our responsibility is to answer a much more important question:</p><blockquote><strong><em>“Should we build it?”</em></strong></blockquote><p>That difference is what separates software development from software architecture.</p><h3>A Realistic Scenario</h3><p>Imagine an established Microfinance Core Banking System serving:</p><ul><li>8 million customers</li><li>More than 20,000 employees</li><li>Around 10 million financial transactions every day</li><li>Several Thousands of branches nationwide</li><li>Thousands of APIs and third-party integrations</li><li>Real-time accounting</li><li>Regulatory reporting</li><li>Mobile banking</li><li>Collection systems</li><li>Data warehouse</li><li>Business Intelligence dashboards</li></ul><p>This system has been evolving for more than a decade.</p><p>One morning, the business team comes with a request.</p><blockquote><em>“Sometimes customers postpone taking the loan after approval. Can we allow branch managers to change the loan disbursement date after the loan has been approved?”</em></blockquote><p>Sounds reasonable.</p><p>The business estimates the impact as:</p><blockquote><em>“Just update one date field.”</em></blockquote><p>Management asks:</p><blockquote><em>“Can we deliver this in the next sprint?”</em></blockquote><h3>What the Business Sees</h3><p>From their perspective:</p><ul><li>One screen</li><li>One date picker</li><li>One Save button</li></ul><p>No major redesign. No new module. No complicated workflow.</p><p>It looks like a two-day task.</p><h3>What the Architect Sees</h3><p>I don’t see one date field.</p><p>I see a business event.</p><p>That single date drives almost every downstream process in the system.</p><p>Changing it means questioning every assumption made by the application since the loan was approved.</p><p>Immediately, dozens of architectural questions appear.</p><p>Has the repayment schedule already been generated?</p><p>Has interest already been calculated?</p><p>Have accounting vouchers been posted?</p><p>Has the loan been exported to the data warehouse?</p><p>Have SMS notifications already been sent?</p><p>Have insurance premiums been calculated?</p><p>Have collection officers already received their daily assignments?</p><p>Has the loan appeared in regulatory reports?</p><p>Has any external payment gateway synchronized this transaction?</p><p>Every answer changes the complexity of the solution.</p><h3>Enterprise Systems Are Built on Business Rules</h3><p>One thing I’ve learned is that enterprise software is not complicated because of technology.</p><p>It’s complicated because of business rules accumulated over years.</p><p>For example, changing a loan disbursement date affects far more than the Loan module.</p><p>It impacts:</p><h3>Interest Engine</h3><p>Interest starts from the disbursement date.</p><p>Changing the date means recalculating:</p><ul><li>Principal</li><li>Interest</li><li>Installment amount</li><li>Remaining balance</li><li>Maturity date</li></ul><p>Now every repayment schedule becomes invalid.</p><h3>Accounting</h3><p>Loan disbursement usually creates journal entries.</p><p>Debit/Credit.</p><p>Cash movement.</p><p>General Ledger posting.</p><p>Changing one date may require:</p><ul><li>Reversing accounting entries</li><li>Creating adjustment vouchers</li><li>Updating trial balance</li><li>Reopening financial periods</li></ul><p>Accounting systems are intentionally resistant to modifying historical data. They preserve financial integrity by recording corrections as new transactions rather than rewriting the past.</p><h3>Collection Module</h3><p>Loan officers plan daily visits based on repayment schedules.</p><p>Move the disbursement date.</p><p>Installments move.</p><p>Collection plans change.</p><p>Daily targets change.</p><p>Recovery ratios change.</p><p>Branch cash flow predictions change.</p><h3>Portfolio Analytics</h3><p>Microfinance institutions monitor:</p><ul><li>Portfolio at Risk (PAR)</li><li>Loan aging</li><li>Delinquency</li><li>Recovery percentage</li><li>Branch performance</li><li>Officer productivity</li></ul><p>These reports depend heavily on dates.</p><p>One modified loan may seem insignificant.</p><p>One hundred thousand modified loans completely change executive dashboards.</p><h3>Regulatory Reporting</h3><p>Central banks and regulators don’t care that the business requested a feature.</p><p>They care about data consistency.</p><p>Changing transaction dates can affect:</p><ul><li>Monthly regulatory submissions</li><li>Outstanding portfolio</li><li>Financial disclosures</li><li>Audit evidence</li></ul><p>A single inconsistency discovered during an audit can create far more damage than the original business problem.</p><h3>The Technical Impact Nobody Sees</h3><p>People often estimate effort based on visible development.</p><p>As architects, we estimate invisible work.</p><p>That invisible work is usually 80% of the project.</p><p>For one “small” feature we might need to modify:</p><ul><li>Database schema</li><li>Stored procedures</li><li>ORM models</li><li>Backend services</li><li>Validation rules</li><li>Domain models</li><li>Business workflows</li><li>API contracts</li><li>Background jobs</li><li>Batch processing</li><li>Cache invalidation</li><li>Audit framework</li><li>Reporting engine</li><li>Mobile API</li><li>Web portal</li><li>Notification service</li><li>Data warehouse ETL</li><li>Integration services</li><li>Security permissions</li><li>User roles</li><li>Documentation</li><li>Monitoring dashboards</li><li>Automated tests</li><li>Deployment scripts</li></ul><p>The UI change is often less than 5% of the actual effort.</p><h3>Hidden Cost #1 — Regression Risk</h3><p>Enterprise software doesn’t usually fail because of new code.</p><p>It fails because existing functionality unexpectedly breaks.</p><p>Every modification increases the regression surface.</p><p>Now QA doesn’t only test the new feature.</p><p>They must retest:</p><ul><li>Loan approval</li><li>Loan disbursement</li><li>Loan repayment</li><li>Rescheduling</li><li>Write-off</li><li>Early settlement</li><li>Accounting</li><li>Collections</li><li>Reports</li><li>APIs</li><li>Mobile App</li><li>Branch operations</li><li>End-of-day processing</li><li>Month-end closing</li></ul><p>One feature may require hundreds of regression test cases.</p><h3>Hidden Cost #2 — Performance</h3><p>Suppose the organization decides to allow historical date corrections.</p><p>Now imagine correcting 500,000 loans.</p><p>Every correction triggers:</p><ul><li>Schedule recalculation</li><li>Interest recalculation</li><li>GL adjustment</li><li>Cache refresh</li><li>Audit logging</li><li>Reporting refresh</li><li>Search indexing</li></ul><p>Database CPU increases.</p><p>Transaction logs grow rapidly.</p><p>Replication latency increases.</p><p>Nightly processing extends.</p><p>Lock contention increases.</p><p>Application response time degrades.</p><p>The feature wasn’t computationally expensive.</p><p>Its side effects were.</p><h3>Hidden Cost #3 — Technical Debt</h3><p>This is the most dangerous one.</p><p>Originally, the business rule was simple.</p><pre>Loan Disbursement Date = Immutable</pre><p>Now the rule becomes:</p><pre>Loan Disbursement Date can change</pre><pre>IF</pre><pre>Manager approves</pre><pre>AND no repayment exists</pre><pre>AND accounting isn&#39;t closed</pre><pre>AND insurance isn&#39;t activated</pre><pre>AND branch isn&#39;t locked</pre><pre>AND regulatory report hasn&#39;t been submitted</pre><pre>AND collection hasn&#39;t started</pre><pre>AND customer hasn&#39;t received funds</pre><pre>AND ...</pre><p>Five years later nobody remembers why half these conditions exist.</p><p>Developers become afraid to modify the module.</p><p>Velocity decreases.</p><p>Complexity increases.</p><p>Every future enhancement becomes slower.</p><p>This is how technical debt grows — not because developers wrote bad code, but because the architecture absorbed too many exceptions.</p><h3>Opportunity Cost: The Feature You Didn’t Build</h3><p>One concept that is rarely discussed in software projects is opportunity cost.</p><p>If my team spends two months implementing a low-value feature, they are <strong>not</strong> spending those two months on:</p><ul><li>Digital onboarding</li><li>AI-assisted credit scoring</li><li>Faster end-of-day processing</li><li>Fraud detection</li><li>Performance optimization</li><li>Self-service customer portals</li><li>Better monitoring</li><li>Disaster recovery improvements</li></ul><p>Architecture is as much about choosing <strong>what not to build</strong> as it is about designing what to build.</p><h3>Cost-Benefit Analysis Is Not About Saying “No”</h3><p>Many people think architects block ideas.</p><p>That isn’t the goal.</p><p>The goal is to maximize value.</p><p>When someone requests a feature, I usually ask five questions before discussing technology:</p><ol><li>What business problem are we solving?</li><li>How often does this problem occur?</li><li>What measurable value will this feature create?</li><li>What is the total implementation and maintenance cost?</li><li>Is there a simpler solution?</li></ol><p>Very often the answer is surprising.</p><p>Instead of allowing historical modification, we create a controlled business process:</p><ul><li>Cancel the pending disbursement.</li><li>Create a new disbursement with the correct date.</li><li>Preserve the audit trail.</li><li>Keep accounting consistent.</li><li>Avoid rewriting financial history.</li></ul><p>The business achieves the same objective without compromising system integrity.</p><p>That’s architecture.</p><h3>The Cost of Ownership Is Greater Than the Cost of Development</h3><p>Organizations frequently budget for development.</p><p>Few budget for ownership.</p><p>A feature doesn’t stop costing money after deployment.</p><p>It continues generating cost through:</p><ul><li>Maintenance</li><li>Production support</li><li>Regression testing</li><li>Documentation</li><li>Training</li><li>Infrastructure</li><li>Monitoring</li><li>Future upgrades</li><li>Compliance reviews</li><li>Security assessments</li></ul><p>A feature that takes three weeks to develop may cost ten times more over its lifetime.</p><h3>My Philosophy as a Software Architect</h3><p>I’ve learned that good architecture isn’t measured by how many features a system contains.</p><p>It’s measured by how long the system remains reliable, understandable, and adaptable.</p><p>Every feature should justify the complexity it introduces.</p><p>Every line of code becomes part of the product’s future.</p><p>Every exception becomes tomorrow’s maintenance burden.</p><p>Sometimes the best architectural decision is not building a feature at all.</p><p>Not because it’s impossible.</p><p>Not because the technology can’t support it.</p><p>But because the business value doesn’t justify the architectural cost.</p><p>In enterprise ERP or Core Banking Systems, success is not defined by saying <strong>“yes”</strong> to every request. Success is defined by protecting the long-term health of the platform while delivering the highest possible business value. That means making decisions based not only on development effort, but on <strong>total cost of ownership, operational risk, regulatory impact, maintainability, and return on investment</strong>.</p><p>After all, software architecture is not about building everything that is requested — it’s about building the right things, in the right way, for the next ten years, not just the next release.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1c87f544824a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Do We Really Need a Commercial SIEM?]]></title>
            <link>https://sajid-ict.medium.com/do-we-really-need-a-commercial-siem-f0def68c6417?source=rss-27242807ea5f------2</link>
            <guid isPermaLink="false">https://medium.com/p/f0def68c6417</guid>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[information-security]]></category>
            <category><![CDATA[data-security]]></category>
            <category><![CDATA[devopssec]]></category>
            <dc:creator><![CDATA[Sajidur Rahman]]></dc:creator>
            <pubDate>Tue, 07 Jul 2026 16:10:12 GMT</pubDate>
            <atom:updated>2026-07-07T16:10:12.689Z</atom:updated>
            <content:encoded><![CDATA[<p>Every SIEM vendor markets their platform as the heart of enterprise security.</p><p>Splunk Enterprise.</p><p>Microsoft Sentinel.</p><p>IBM QRadar.</p><p>Falcon Next-Gen SIEM</p><p>LogRhythm SIEM.</p><p>But before purchasing a SIEM that costs hundreds of thousands of dollars annually, organizations should ask a more important question:</p><blockquote><strong><em>Are we buying security capabilities, or are we buying operational convenience?</em></strong></blockquote><p>If an organization already has:</p><ul><li>Security Engineers</li><li>DevOps Engineers</li><li>Infrastructure Engineers</li><li>Database Administrators</li><li>Software Developers</li></ul><p>then an open-source SIEM like <strong>Wazuh + OpenSearch</strong> can deliver nearly all of the core technical capabilities required for an enterprise ERP.</p><h3>What Is a SIEM Actually Responsible For?</h3><p>A SIEM has four fundamental responsibilities.</p><h3>1. Collect and aggregate Logs</h3><p>SIEM agent Collect logs from</p><p>Linux</p><p>Windows</p><p>Active Directory</p><p>Docker</p><p>Kubernetes</p><p>NGINX</p><p>Apache</p><p>IIS</p><p>ERP Application</p><p>PostgreSQL</p><p>MySQL</p><p>Oracle</p><p>SQL Server</p><p>Redis</p><p>RabbitMQ</p><p>Kafka</p><p>Firewalls</p><p>VPN</p><p>WAF</p><p>API Gateway</p><p><strong>Wazuh supports all of these.</strong></p><h3>2. Normalize Data</h3><p>Commercial vendors call this</p><ol><li>Log Normalization</li><li>Common Information Model</li><li>Security Data Lake</li></ol><p><strong>Wazuh already parses</strong></p><ul><li>Windows Event Logs</li><li>Syslog</li><li>JSON</li><li>XML</li><li>CEF</li><li>LEEF</li><li>Custom Logs</li><li>Audit Logs</li></ul><p>through decoders and custom rules.</p><h3>3. Correlation &amp; Threat Detection</h3><p>Commercial SIEM vendors advertise</p><ol><li>Advanced Correlation Engine</li><li>Security Analytics</li><li>Behavior Engine</li><li>Correlation Rules</li></ol><p><strong>Wazuh already supports</strong></p><ol><li>Rule Chaining</li><li>MITRE ATT&amp;CK Mapping</li><li>Rule Groups</li><li>Threshold Detection</li><li>Time-based Correlation</li><li>Event Correlation</li><li>Custom Decoder</li><li>Custom Rules</li></ol><h3>4. Alerting</h3><p>Commercial SIEM</p><p>Email</p><p>Teams</p><p>Slack</p><p>SMS</p><p>PagerDuty</p><p>ServiceNow</p><p>Webhook</p><p>Wazuh supports all of these using integrations and webhooks.</p><h3>Can Wazuh Detect Real Attacks?</h3><p>Yes.</p><p>Example detections include</p><h3>Authentication</h3><ul><li>Multiple failed logins</li><li>Impossible travel (when enriched with additional data)</li><li>Privilege escalation</li><li>New administrator</li><li>Disabled MFA (if integrated)</li><li>Password spraying patterns</li></ul><h3>Malware</h3><p>Detect</p><p>Ransomware</p><p>Trojans</p><p>Backdoors</p><p>Rootkits</p><p>Malicious Processes</p><p>Suspicious Services</p><p>Unauthorized Scheduled Tasks</p><h3>File Integrity</h3><p>Monitor</p><p>/etc</p><p>Windows Registry</p><p>Application Files</p><p>DLL Changes</p><p>Configuration Files</p><p>Docker Compose</p><p>Systemd Services</p><p>Certificates</p><p>SSH Keys</p><h3>Web Attacks</h3><p>Detect</p><p>SQL Injection</p><p>Cross Site Scripting</p><p>Directory Traversal</p><p>Command Injection</p><p>Brute Force</p><p>SSRF</p><p>XXE</p><p>through integration with web server and WAF logs.</p><h3>Docker</h3><p>Detect</p><p>Container Escape</p><p>Privileged Containers</p><p>New Containers</p><p>Container Exec</p><p>Docker Socket Abuse</p><p>Image Changes</p><h3>Kubernetes</h3><p>Detect</p><p>Pod Creation</p><p>Privilege Escalation</p><p>Host Mount</p><p>Root Containers</p><p>Cluster Role Changes</p><p>Secret Access</p><h3>Database</h3><p>Monitor</p><p>Failed Queries</p><p>Privilege Changes</p><p>DDL Changes</p><p>Dropped Tables</p><p>Suspicious Accounts</p><p>Login Failures</p><p>Mass Data Export</p><h3>Linux</h3><p>Monitor</p><p>sudo</p><p>ssh</p><p>cron</p><p>kernel</p><p>auditd</p><p>PAM</p><p>SELinux</p><p>File Integrity</p><p>Package Installation</p><p>USB Devices</p><h3>Windows</h3><p>Monitor</p><p>Event Viewer</p><p>PowerShell</p><p>Sysmon</p><p>Windows Defender</p><p>Registry</p><p>Active Directory</p><p>LSASS</p><p>Credential Dumping</p><p>RDP</p><h3>Threat Intelligence</h3><p>Commercial SIEM vendors include proprietary feeds.</p><p>Open source can integrate with:</p><ul><li>MISP — — <a href="https://www.misp-project.org/">https://www.misp-project.org/</a></li><li>AlienVault OTX — <a href="https://github.com/AlienVault-OTX/OTX-Node-SDK">https://github.com/AlienVault-OTX/OTX-Node-SDK</a></li><li>Spamhaus — <a href="https://www.spamhaus.org/">https://www.spamhaus.org/</a></li><li>VirusTotal (community limits)</li><li>CISA KEV Catalog</li></ul><p>The integration work is yours, but the capability exists.</p><h3>MITRE ATT&amp;CK Mapping</h3><p>Commercial vendors advertise ATT&amp;CK coverage.</p><p>Wazuh already maps detections to MITRE ATT&amp;CK tactics and techniques, helping analysts understand attacker behavior and prioritize investigations.</p><h3>Dashboard</h3><p>Commercial vendors</p><p>Beautiful dashboards.</p><p>OpenSearch Dashboards provides</p><ul><li>Real-time charts</li><li>KPI dashboards</li><li>Attack maps</li><li>Drill-down analysis</li><li>Search</li><li>Correlation</li><li>Visualizations</li><li>Custom dashboards</li></ul><h3>Compliance</h3><p>Wazuh includes reporting and rule sets aligned with frameworks such as:</p><ul><li>PCI DSS</li><li>HIPAA</li><li>GDPR</li><li>CIS Benchmarks</li></ul><p>You still need organizational policies and evidence collection for certification, but the technical controls are supported.</p><h3>What Commercial SIEM Gives You</h3><p>Commercial products excel in areas such as:</p><ul><li>Proprietary threat intelligence feeds</li><li>User and Entity Behavior Analytics (UEBA) with mature ML models</li><li>Large libraries of prebuilt detection content</li><li>Vendor-managed updates</li><li>Managed Detection and Response (MDR)</li><li>Certified support and SLAs</li><li>Turnkey integrations with commercial ecosystems</li><li>Case management and SOAR features (often licensed separately)</li></ul><p>These features reduce operational effort rather than replacing the need for skilled analysts.</p><h3>When Open Source Makes Sense</h3><p>Open-source SIEM is a strong fit when you have:</p><ul><li>A dedicated Security team</li><li>Security engineers who can write and tune rules</li><li>DevOps engineers for automation</li><li>Infrastructure engineers for operations</li><li>Developers who can instrument applications and enrich logs</li><li>Time to maintain integrations and continuously improve detections</li></ul><p>In this model, you invest in <strong>people and processes instead of licenses</strong>.</p><h3>The Bottom Line</h3><p>A SIEM’s job is to <strong>collect, normalize, correlate, detect, alert, and support investigations</strong>.</p><p>Wazuh combined with OpenSearch delivers those core capabilities at enterprise scale.</p><p>The question is not whether open-source SIEM can perform SIEM functions — it can. The question is whether your organization prefers to build and operate that capability internally or pay a vendor to package, maintain, and support it.</p><p>For organizations with mature in-house engineering and security teams, open-source SIEM is often a technically capable and economically compelling choice. For organizations without those teams, commercial SIEMs can reduce time to value and operational burden through managed content, support, and automation.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f0def68c6417" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The New Era of Software Development in the Age of AI: When to Use AI, When Not To, and Why Senior…]]></title>
            <link>https://sajid-ict.medium.com/the-new-era-of-software-development-in-the-age-of-ai-when-to-use-ai-when-not-to-and-why-senior-f7577f0b2552?source=rss-27242807ea5f------2</link>
            <guid isPermaLink="false">https://medium.com/p/f7577f0b2552</guid>
            <category><![CDATA[ai-coding]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Sajidur Rahman]]></dc:creator>
            <pubDate>Tue, 30 Jun 2026 09:58:16 GMT</pubDate>
            <atom:updated>2026-06-30T09:58:16.988Z</atom:updated>
            <content:encoded><![CDATA[<h3>The New Era of Software Development in the Age of AI: When to Use AI, When Not To, and Why Senior Engineers Still Matter</h3><p><em>The software industry is not being replaced by AI. It is being reorganized around it.</em></p><p>For the past 40 years, software engineering evolved through several major shifts:</p><ul><li>Assembly → C</li><li>C → Object-Oriented Programming</li><li>Monolith → Service-Oriented Architecture</li><li>On-Premise → Cloud</li><li>Waterfall → Agile</li><li>Virtual Machines → Containers → Kubernetes</li><li>Human Programming → AI-Assisted Engineering</li></ul><p>The latest shift is fundamentally different.</p><p>Previous revolutions changed <strong>how software runs</strong>.</p><p>AI changes <strong>how software is created</strong>.</p><p>Many executives now ask:</p><blockquote><em>“If AI can write code, why do we still need software engineers?”</em></blockquote><p>The better question is:</p><blockquote><em>“If AI can generate code in seconds, what becomes the competitive advantage?”</em></blockquote><p>The answer is no longer typing speed.</p><p>It is architecture.</p><p>It is systems thinking.</p><p>It is domain expertise.</p><p>It is engineering judgment.</p><h3>Software Development Before AI</h3><p>Traditional development looked like this.</p><pre>Business Requirement<br>        │<br>        ▼<br>Business Analyst<br>        │<br>        ▼<br>System Design<br>        │<br>        ▼<br>Software Architect<br>        │<br>        ▼<br>Developer<br>        │<br>        ▼<br>Testing<br>        │<br>        ▼<br>Deployment</pre><p>Writing code consumed nearly 70% of engineering effort.</p><p>A developer spent hours writing CRUD operations, validation, repetitive APIs, SQL mappings, DTOs, unit tests, documentation, and boilerplate.</p><p>Example:</p><p>Creating an Employee module in .NET could require</p><ul><li>Entity</li><li>DTO</li><li>Repository</li><li>Service</li><li>Controller</li><li>Validation</li><li>Swagger</li><li>Migration</li><li>Unit Test</li><li>Integration Test</li></ul><p>Over 1500 lines of code.</p><p>Most of it repetitive.</p><h3>Software Development After AI</h3><p>Now the workflow becomes</p><pre>Requirement<br>      │<br>      ▼<br>Architecture<br>      │<br>      ▼<br>AI generates implementation<br>      │<br>      ▼<br>Engineer reviews<br>      │<br>      ▼<br>Performance optimization<br>      │<br>      ▼<br>Security review<br>      │<br>      ▼<br>Production deployment</pre><p>Notice something important.</p><p>The coding phase shrinks dramatically.</p><p>The review phase grows significantly.</p><h3>AI Is Excellent at Pattern Recognition</h3><p>Large Language Models are statistical engines trained on billions of examples.</p><p>They excel at recognizing patterns.</p><p>For example:</p><p>Input</p><pre>Create a REST API in .NET 10<br>using Clean Architecture,<br>CQRS,<br>MediatR,<br>Entity Framework,<br>SQL Server.</pre><p>Within seconds AI produces</p><pre>Controller<br>Command<br>Query<br>Repository<br>Dependency Injection<br>DTO<br>Migration<br>Swagger<br>Validation</pre><p>That previously required several hours.</p><h3>But AI Doesn’t Understand Your Business</h3><p>Imagine a banking application.</p><p>Requirement:</p><pre>Transfer money between accounts.</pre><p>AI generates</p><p>Hopefully AI generate something for to manage accounts transfer process</p><p>May be it will Looks correct.</p><p>But is AI thinks this way or are you confirm it will working with following condition?</p><ul><li>ACID transaction</li><li>Double-entry bookkeeping</li><li>Audit logs</li><li>Fraud detection</li><li>AML validation</li><li>Daily limits</li><li>Currency conversion</li><li>Distributed locking</li><li>Retry handling</li><li>Event publishing</li><li>Notification</li><li>Rollback recovery</li></ul><h3>AI Works Best in Structured Problems</h3><p>Excellent use cases include</p><p>1. CRUD Applications</p><pre>Customer</pre><pre>Employee</pre><pre>Inventory</pre><pre>Attendance</pre><pre>Product</pre><pre>Warehouse</pre><p>AI performs exceptionally well.</p><p>2. API Development</p><p>Generate</p><pre>REST APIs<br>GraphQL<br>OpenAPI<br>Authentication<br>JWT<br>Validation<br>Pagination<br>Filtering</pre><p>Very high productivity.</p><p>3. Database Layer</p><p>Generate</p><pre>Entity Models<br>Stored Procedures<br>Queries<br>Indexes<br>Migrations<br>Seed Data</pre><p>4. Unit Testing</p><p>Generate</p><pre>xUnit<br>NUnit<br>Jest<br>Mockito<br>PyTest</pre><p>Coverage increases dramatically.</p><p>5. Documentation</p><p>Generate</p><pre>Swagger<br>README<br>Architecture Docs<br>Deployment Guides<br>API References</pre><p>6. AI Is Dangerous in Complex Systems</p><p>Now consider a payment platform.</p><pre>1000 TPS<br>20 Microservices<br>Kafka<br>Redis<br>Kubernetes<br>Multi-region deployment<br>Event Sourcing<br>CQRS<br>Circuit Breaker<br>Distributed Cache</pre><p>Now ask AI: Optimize performance.</p><p>You’ll likely receive</p><pre>Use caching<br>Add indexes<br>Use async</pre><p>None of these address the actual bottleneck.</p><h3>Example 1 — Cache Stampede</h3><p>Real production issue</p><pre>10000 requests</pre><pre>↓</pre><pre>Redis expires</pre><pre>↓</pre><pre>Everyone hits SQL</pre><pre>↓</pre><pre>SQL CPU 100%</pre><pre>↓</pre><pre>Application timeout</pre><p>AI frequently recommends</p><pre>Increase cache expiration</pre><p>Experienced engineers implement</p><pre>Mutex Lock<br>Request Coalescing<br>Probabilistic Expiration<br>Background Refresh<br>Distributed Lock</pre><p>Huge difference.</p><h3>Example 2 — Distributed Transactions</h3><p>Microservice A</p><pre>Deduct inventory</pre><p>Microservice B</p><pre>Take payment</pre><p>Microservice C</p><pre>Create shipment</pre><p>Payment succeeds.</p><p>Shipping fails.</p><p>Now what?</p><p>AI often suggests</p><pre>Rollback.</pre><p>Impossible.</p><p>There is no distributed rollback.</p><p>Senior engineers design</p><pre>Saga Pattern<br>Compensating Transactions<br>Outbox Pattern<br>Idempotency<br>Dead Letter Queue<br>Retry Policy</pre><h3>Example 3 — Kubernetes</h3><p>AI says</p><pre>Increase replicas.</pre><p>Reality</p><p>CPU is only 12%.</p><p>Problem</p><pre>Node network congestion<br>Service Mesh latency<br>DNS timeout<br>Connection tracking<br>Kernel socket limits<br>Persistent Volume latency</pre><p>AI missed the actual issue.</p><h3>Example 4 — SQL Optimization</h3><p>AI suggests</p><pre>Add index.</pre><p>Production database</p><pre>500 million rows<br>High write workload<br>Heavy reporting<br>Replication<br>Always On</pre><p>Adding an index may</p><p>Increase writes</p><p>Increase storage</p><p>Increase locking</p><p>Increase fragmentation</p><p>Reduce throughput</p><p>Engineering requires workload analysis.</p><h3>AI Cannot Replace Observability</h3><p>Real production investigation.</p><p>Dashboard</p><pre>CPU: 12%<br>Memory: 40%<br>Disk: Healthy<br>Database: Healthy<br>Yet response time: 15 seconds</pre><p>AI suggests</p><pre>Optimize code.</pre><p>Actual issue</p><pre>MTU mismatch<br>Packet fragmentation</pre><pre>TCP retransmission</pre><pre>VPN tunnel</pre><pre>TLS renegotiation</pre><p>Application code was perfect.</p><p>Network was broken.</p><h3>AI Doesn’t Understand Your Infrastructure</h3><p>Imagine</p><pre>Browser<br>↓</pre><pre>Cloudflare</pre><pre>↓</pre><pre>AWS WAF</pre><pre>↓</pre><pre>ALB</pre><pre>↓</pre><pre>Nginx</pre><pre>↓</pre><pre>Kubernetes</pre><pre>↓</pre><pre>Istio</pre><pre>↓</pre><pre>Pod</pre><pre>↓</pre><pre>API</pre><pre>↓</pre><pre>Redis</pre><pre>↓</pre><pre>SQL</pre><p>A request crosses 20+ network components. Latency may occur anywhere.</p><p>AI sees only code.</p><p>Senior engineers see systems.</p><h3>AI Cannot Invent Architecture</h3><p>Prompt: Build Netflix.</p><p>AI produces</p><pre>Microservices<br>Docker</pre><pre>Kubernetes</pre><pre>Redis</pre><p>Architecture is not technology.</p><p>Netflix architecture exists because of</p><pre>300M users</pre><pre>Global CDN</pre><pre>Chaos Engineering</pre><pre>Traffic patterns</pre><pre>Regional replication</pre><pre>Data locality</pre><pre>Failure isolation</pre><p>Architecture follows business constraints, not technology trends.</p><h3>AI Hallucinates with Confidence</h3><p><strong>Consider: Generate Redis Cluster code.</strong></p><p>It compiles.</p><p>Production fails.</p><p>Why?</p><p>Wrong client library.</p><p>Wrong timeout.</p><p>Missing retry logic.</p><p>Improper connection pooling.</p><p>AI rarely says</p><p>“I don’t know.”</p><p>Senior engineers validate assumptions.</p><h3>The Cost of Blind AI Usage</h3><p>Company A</p><p><strong>100% AI generated</strong></p><p>Result</p><ul><li>inconsistent architecture</li><li>duplicated logic</li><li>security holes</li><li>slow queries</li><li>fragile deployments</li></ul><p>Company B</p><p><strong>Uses AI as an engineering assistant.</strong></p><p>Result</p><ul><li>consistent architecture</li><li>reusable components</li><li>reviewed code</li><li>proper testing</li><li>observability</li><li>maintainability</li></ul><p>The difference isn’t AI.</p><p>It’s governance.</p><h3>A Practical Decision Matrix</h3><pre>| Task                          | AI First | Human Review Required | Human-Led  |<br>| ----------------------------- | -------- | --------------------- | ---------  |<br>| CRUD APIs                     | ✅        | Low                   | ❌         |<br>| Unit tests                    | ✅        | Low                   | ❌         |<br>| Documentation                 | ✅        | Low                   | ❌         |<br>| Refactoring                   | ✅        | Medium                | ❌         |<br>| SQL optimization              | ✅        | High                  | ✅         |<br>| Distributed systems           | ❌        | High                  | ✅         |<br>| Database architecture         | ❌        | High                  | ✅         |<br>| Multi-region systems          | ❌        | High                  | ✅         |<br>| High availability             | ❌        | High                  | ✅         |<br>| Incident response             | ❌        | High                  | ✅         |<br>| Capacity planning             | ❌        | High                  | ✅         |<br>| Compliance (PCI, HIPAA, GDPR) | ❌        | High                  | ✅         |</pre><h3>The New Software Development Lifecycle</h3><p>Instead of</p><pre>Think<br>↓</pre><pre>Code</pre><pre>↓</pre><pre>Test</pre><pre>↓</pre><pre>Deploy</pre><p>Engineering becomes</p><pre>Understand Business<br>↓</pre><pre>Design Architecture</pre><pre>↓</pre><pre>Generate with AI</pre><pre>↓</pre><pre>Review</pre><pre>↓</pre><pre>Threat Modeling</pre><pre>↓</pre><pre>Performance Testing</pre><pre>↓</pre><pre>Observability</pre><pre>↓</pre><pre>Deploy</pre><pre>↓</pre><pre>Monitor</pre><pre>↓</pre><pre>Learn</pre><p>Coding becomes only one stage.</p><p>Engineering expands around it.</p><h3>Skills That Matter More Than Ever</h3><p>The most valuable engineers in the AI era are not the fastest coders. They are the ones who can reason across layers of a system.</p><p>Key capabilities include:</p><ul><li><strong>Distributed systems design</strong> (event-driven architecture, CQRS, Saga, idempotency)</li><li><strong>Networking fundamentals</strong> (TCP, TLS, MTU, DNS, HTTP/2, QUIC, load balancing)</li><li><strong>Database internals</strong> (locking, indexing strategies, query plans, replication, partitioning)</li><li><strong>Cloud architecture</strong> (Kubernetes, autoscaling, service mesh, infrastructure as code)</li><li><strong>Security engineering</strong> (authentication, authorization, zero trust, secret management, threat modeling)</li><li><strong>Observability</strong> (metrics, logs, traces, SLOs, distributed tracing)</li><li><strong>Performance engineering</strong> (profiling, caching strategies, concurrency, backpressure)</li><li><strong>Domain modeling</strong> (understanding business rules rather than just implementing features)</li></ul><p>These are areas where AI can assist but not replace human judgment.</p><h3>AI Should Be Treated Like a your Co-Engineer</h3><p>A useful mental model is to think of AI as a highly productive developer.</p><p>It can:</p><ul><li>Generate code rapidly</li><li>Explain unfamiliar APIs</li><li>Create boilerplate</li><li>Draft tests and documentation</li><li>Suggest implementation approaches</li></ul><p>It cannot be trusted to:</p><ul><li>Make architectural decisions</li><li>Understand nuanced business requirements</li><li>Anticipate production-scale failures</li><li>Balance long-term maintainability against short-term delivery</li><li>Accept accountability for outages or security incidents</li></ul><p>Every AI-generated change should undergo the same design review, code review, testing, and production validation as code written by a human.</p><h3>Final Thoughts</h3><p>AI has permanently changed software development. The organizations that benefit most will not be those that replace engineers with AI, but those that combine AI’s speed with human expertise.</p><p>Code generation is becoming a commodity. What remains scarce is the ability to design resilient systems, understand complex business domains, diagnose production failures across application and infrastructure layers, and make sound engineering trade-offs.</p><p>The future belongs to engineers who can collaborate effectively with AI while retaining ownership of architecture, quality, security, and operational excellence.</p><p><strong>In the age of AI, writing code is no longer the defining skill of a software engineer. Designing systems that continue to work under real-world complexity is.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f7577f0b2552" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Hidden Performance Bottleneck: Why Your 10 Gbps Server Transfers Data at Only 5 Mbps]]></title>
            <link>https://sajid-ict.medium.com/the-hidden-performance-bottleneck-why-your-10-gbps-server-transfers-data-at-only-5-mbps-483d97ddf341?source=rss-27242807ea5f------2</link>
            <guid isPermaLink="false">https://medium.com/p/483d97ddf341</guid>
            <category><![CDATA[tcp]]></category>
            <category><![CDATA[performance]]></category>
            <dc:creator><![CDATA[Sajidur Rahman]]></dc:creator>
            <pubDate>Sun, 28 Jun 2026 06:28:34 GMT</pubDate>
            <atom:updated>2026-06-28T06:31:54.077Z</atom:updated>
            <content:encoded><![CDATA[<h3>A Deep Dive into TCP Window Size, Congestion Control, Linux Networking, and Real Production Troubleshooting</h3><p><strong>Audience:</strong> Software Architects, SREs, Platform Engineers, DevOps Engineers, Backend Engineers</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GphE_lFQiIY-Mcd7mp2oYw.png" /></figure><h3>Introduction</h3><p>As software architects, we spend countless hours optimizing application code.</p><p>We tune SQL queries.</p><p>We redesign microservices.</p><p>We introduce Redis.</p><p>We deploy Kubernetes.</p><p>We scale horizontally.</p><p>We add more CPUs.</p><p>We upgrade storage to NVMe.</p><p>Then one day the business reports:</p><blockquote><em>“The system is still slow.”</em></blockquote><p>CPU? 15%</p><p>Memory? 40%</p><p>Disk latency? Less than 1 ms.</p><p>Database? Query time under 10 ms.</p><p>Network? 10 Gbps.</p><p>Everything appears healthy. Yet an API transferring a 300 MB payload still requires nearly a minute to complete.</p><p>The obvious assumption is that something inside the application is inefficient.</p><p>Sometimes that’s true. But many times the application isn’t the bottleneck at all.</p><p>The bottleneck exists inside TCP.</p><p>Not because TCP is “slow.”</p><p>Because TCP is protecting the network exactly as it was designed to do.</p><p>Understanding that behavior is one of the most valuable skills a software architect can develop.</p><h3>The Production Incident</h3><p>Imagine this architecture.</p><pre>Internet<br>                            │<br>                            │<br>                    Load Balancer<br>                            │<br>                            │<br>                  Nginx Reverse Proxy<br>                            │<br>                            │<br>                     Docker Container<br>                            │<br>                            │<br>                   ASP.NET Core API<br>                            │<br>                            │<br>                     SQL Server Cluster<br>Infrastructure<br>• VMware VM<br>• Linux<br>• Docker<br>• ASP.NET Core<br>• SQL Server<br>• 10 Gbps NIC<br>• SSD Storage</pre><p>Users complain that downloading reports is extremely slow.</p><p>Infrastructure engineers check everything.</p><p>CPU</p><p>Healthy.</p><p>Memory</p><p>Healthy.</p><p>Disk</p><p>Healthy.</p><p>Database</p><p>Healthy.</p><p>Network</p><p>Healthy.</p><p>Nothing explains why a server connected to a 10 Gbps network only delivers a few megabits per second.</p><h3>The First Mistake</h3><p>Most engineers immediately run</p><pre>top</pre><p>Everything looks normal.</p><p>Next</p><pre>free -h</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/696/1*8Mptrmn6MFeexWNCPIoX2A.png" /></figure><p>Looks normal.</p><p>Then</p><pre>iostat<br><br></pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/806/1*V4YNcyyNUzfiOmfp8V0QQQ.png" /></figure><p>Also normal.</p><p>Finally</p><pre>ping</pre><p>Latency is only 20 ms.</p><p>Conclusion:</p><blockquote><em>The network cannot be the problem.</em></blockquote><p>That conclusion is wrong.</p><p>Bandwidth and TCP throughput are two completely different things.</p><h3>Bandwidth vs Throughput</h3><p>Many engineers use these terms interchangeably.</p><p>They are not.</p><p>Bandwidth represents capacity.</p><p>Think of it as the width of a highway.</p><p>Throughput represents how much traffic actually moves across that highway.</p><p>Imagine a twelve-lane highway.</p><p>If traffic lights only allow ten cars to move every minute, widening the highway to twenty lanes changes nothing.</p><p>TCP behaves exactly like those traffic lights.</p><h3>How TCP Actually Sends Data</h3><p>Many developers imagine TCP sending data like this:</p><pre>Application<br>↓<br>Socket<br>↓<br>Network<br>↓<br>Receiver</pre><p>Reality is significantly more complicated.</p><pre>Application<br>↓</pre><pre>Kernel Socket Buffer</pre><pre>↓</pre><pre>TCP Send Buffer</pre><pre>↓</pre><pre>Congestion Window</pre><pre>↓</pre><pre>Receive Window</pre><pre>↓</pre><pre>NIC Queue</pre><pre>↓</pre><pre>DMA</pre><pre>↓</pre><pre>Network Card</pre><pre>↓</pre><pre>Switch</pre><pre>↓</pre><pre>Router</pre><pre>↓</pre><pre>Receiver</pre><pre>↓</pre><pre>ACK</pre><pre>↓</pre><pre>Sender</pre><p>Every stage introduces constraints.</p><h3>The Three Windows That Control Performance</h3><p>Many engineers know about the TCP window.</p><p>Few realize there are multiple windows involved.</p><h3>1. Application Send Buffer</h3><p>When your application calls:</p><pre>await socket.SendAsync(buffer);</pre><p>The data is copied into kernel memory.</p><p>If the kernel buffer is full,</p><p>the application blocks.</p><h3>2. Receive Window (rwnd)</h3><p>Controlled by the receiver.</p><p>Suppose the receiver has only 64 KB of free buffer.</p><p>It advertises</p><pre>Window = 65535</pre><p>The sender is forbidden from transmitting beyond that limit.</p><h3>3. Congestion Window (cwnd)</h3><p>Controlled by the sender.</p><p>This is Linux estimating</p><p>“How much data can safely exist inside the network?”</p><p>This value changes continuously.</p><h3>Effective Window</h3><p>Actual throughput is limited by</p><pre>Effective Window = minimum(Receive Window,Congestion Window)</pre><p>This explains why increasing socket buffers alone often has no effect.</p><h3>Bandwidth Delay Product</h3><p>One of the most misunderstood networking concepts.</p><p>Formula</p><pre>BDP=Bandwidth×RTT</pre><p>Example</p><p>Bandwidth</p><p>10 Gbps</p><p>RTT</p><p>50 ms</p><p>Convert bandwidth</p><pre>10 Gbps=1.25 GB/s</pre><p>Multiply</p><pre>1.25 GB×0.05=62.5 MB</pre><p>That means</p><p>TCP must keep approximately 63 MB of data “in flight.”</p><p>Anything smaller underutilizes the network.</p><h3>Why a 10 Gbps Link Behaves Like 5 Mbps</h3><p>Suppose</p><pre>Congestion Window 10 MSS 1460</pre><p>Allowed outstanding data</p><pre>10 × 1460 ≈14 KB</pre><p>RTT</p><p>20 ms</p><p>Maximum throughput</p><pre>14 KB/0.02≈700 KB/s≈5.6 Mbps</pre><p>Nothing is wrong with the network.</p><p>TCP simply cannot inject enough packets before waiting for acknowledgements.</p><h3>TCP Slow Start</h3><p>Every connection begins cautiously.</p><pre>10 MSS<br>↓</pre><pre>20 MSS</pre><pre>↓</pre><pre>40 MSS</pre><pre>↓</pre><pre>80 MSS</pre><pre>↓</pre><pre>160 MSS</pre><pre>↓</pre><pre>320 MSS</pre><p>Growth is exponential.</p><p>Once congestion appears,</p><p>growth becomes linear.</p><p>This algorithm prevents network collapse.</p><p>Unfortunately,</p><p>short-lived HTTP requests often finish before the congestion window grows large enough to utilize available bandwidth.</p><h3>Understanding app_limited</h3><p>During production we observed</p><pre>cwnd:10<br>send 5 Mbps<br>delivery_rate 42 Mbps<br>app_limited</pre><p>Many engineers focused on</p><pre>cwnd:10</pre><p>The real clue was</p><pre>app_limited</pre><p>Inside the Linux kernel,</p><p>this means the TCP stack had nothing left to send.</p><p>The network wasn’t saturated.</p><p>The socket became empty.</p><p>Imagine a factory.</p><p>Workers can assemble</p><p>1,000 products per minute.</p><p>But raw materials arrive every five minutes.</p><p>The workers spend most of their shift waiting.</p><p>That is precisely what app_limited indicates.</p><p><strong>Real ASP.NET Core Example</strong></p><p>Suppose an endpoint generates a report.</p><pre>var customers =<br>await repository.GetCustomers();<br>foreach(var customer in customers)<br>{<br>    await Response.WriteAsync(<br>        JsonSerializer.Serialize(customer));<br>}</pre><p>Looks harmless.</p><p>Actually</p><p>every iteration</p><p>• allocates memory</p><p>• serializes JSON</p><p>• writes a few KB</p><p>• flushes repeatedly</p><p>TCP never accumulates enough queued data.</p><p>Congestion window remains tiny.</p><p>A better design buffers larger chunks before writing to the response stream.</p><h3>Compression Can Become the Bottleneck</h3><p>Many APIs enable Brotli or Gzip.</p><p>Compression reduces bandwidth usage.</p><p>It also delays packet generation.</p><p>Instead of</p><pre>Database<br>↓</pre><pre>Socket</pre><p>The flow becomes</p><pre>Database<br>↓</pre><pre>Serialize</pre><pre>↓</pre><pre>Compress</pre><pre>↓</pre><pre>Allocate Buffer</pre><pre>↓</pre><pre>Copy Memory</pre><pre>↓</pre><pre>Kernel</pre><pre>↓</pre><pre>NIC</pre><p>The network waits while CPU prepares bytes.</p><h3>Why Retransmissions Matter</h3><p>Packet loss is expensive.</p><p>Traditional TCP algorithms assume</p><p>Loss = Congestion</p><p>Therefore</p><pre>Packet Lost<br>↓</pre><pre>Congestion Window Cut In Half</pre><pre>↓</pre><pre>Slow Recovery</pre><p>Even one dropped packet on a long-distance connection can reduce throughput dramatically.</p><h3>Cubic vs BBR</h3><p>Linux defaults to Cubic.</p><p>Cubic increases throughput until packet loss occurs.</p><p>Google’s BBR takes a different approach.</p><p>Instead of waiting for loss,</p><p>BBR continuously estimates</p><p>• bottleneck bandwidth</p><p>• propagation delay</p><p>It sends at the estimated optimal rate rather than filling queues until packets are dropped.</p><p>On high-bandwidth, high-latency paths,</p><p>BBR often achieves significantly higher throughput with lower latency.</p><h3>Why Software Architects Should Understand This</h3><p>When an API is slow,</p><p>the bottleneck could be</p><p>• SQL</p><p>• Serialization</p><p>• Compression</p><p>• Thread Pool</p><p>• TCP</p><p>• Kernel Buffers</p><p>• Virtual NIC</p><p>• Congestion Control</p><p>Without understanding the transport layer,</p><p>architects often optimize the wrong component.</p><h3>Practical Linux Investigation Checklist</h3><p>During every production incident I follow the same order.</p><p>Verify NIC</p><pre>ethtool ens192</pre><p>Verify Errors</p><pre>ip -s link</pre><p>Verify TCP</p><pre>ss -ti</pre><p>Check Socket Memory</p><pre>ss -tm</pre><p>Check Congestion Algorithm</p><pre>sysctl net.ipv4.tcp_congestion_control</pre><p>Verify TCP Buffers</p><pre>sysctl net.ipv4.tcp_rmem<br>sysctl net.ipv4.tcp_wmem</pre><p>Check Retransmissions</p><pre>netstat -s</pre><p>Capture Packets</p><pre>tcpdump</pre><p>Analyze using Wireshark.</p><p>Only after understanding these metrics do I begin optimizing the application itself.</p><h3>Final Thoughts</h3><p>Modern distributed systems are not limited by processors alone.</p><p>Performance emerges from the interaction between applications, operating systems, transport protocols, virtual machines, and physical networks.</p><p>A server connected to a 10 Gbps network can easily behave like a 5 Mbps server — not because the hardware is inadequate, but because TCP is waiting, buffers are undersized, or the application is not producing data fast enough.</p><p>The next time someone says,</p><blockquote><em>“The network is slow,”</em></blockquote><p>don’t just look at the switch or the bandwidth graph.</p><p>Inspect the TCP stack.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=483d97ddf341" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>