<?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 Sachintha Dilshan on Medium]]></title>
        <description><![CDATA[Stories by Sachintha Dilshan on Medium]]></description>
        <link>https://medium.com/@sachilz?source=rss-15163c2d314f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*-W2IivjQJEAkZnpR-6oqyw.png</url>
            <title>Stories by Sachintha Dilshan on Medium</title>
            <link>https://medium.com/@sachilz?source=rss-15163c2d314f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 09:24:56 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@sachilz/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[OpenChoreo: Simplifying Kubernetes Through Platform Engineering]]></title>
            <link>https://medium.com/@sachilz/openchoreo-simplifying-kubernetes-through-platform-engineering-336d19a354a0?source=rss-15163c2d314f------2</link>
            <guid isPermaLink="false">https://medium.com/p/336d19a354a0</guid>
            <category><![CDATA[choreo-labs]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[k8s]]></category>
            <dc:creator><![CDATA[Sachintha Dilshan]]></dc:creator>
            <pubDate>Fri, 27 Nov 2026 09:06:13 GMT</pubDate>
            <atom:updated>2026-11-27T09:06:13.999Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RMfqTKzPB0endNNsY0A8sw.png" /></figure><h3>An in-depth look at how Choreo Labs is making cloud-native application development, deployment, and operations more accessible.</h3><p>Modern software development is no longer just about writing code and deploying applications. As organizations adopt cloud-native technologies, engineering teams must deal with containers, Kubernetes clusters, CI/CD pipelines, networking, security, monitoring, and infrastructure management.</p><p>Although Kubernetes has become one of the most widely adopted container orchestration platforms, working directly with Kubernetes can introduce considerable complexity, especially for development teams that want to focus primarily on building software.</p><p>This is where <strong>Platform Engineering</strong> comes into the picture.</p><p>One interesting project addressing this challenge is <strong>OpenChoreo</strong>, an open-source Internal Developer Platform (IDP) developed by Choreo Labs (formerly WSO2).</p><p>In this article, we will explore what OpenChoreo is, the problems it addresses, its architecture, its major components, and how it can simplify application development and deployment in Kubernetes environments.</p><h3>1. What Is OpenChoreo?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pYPZidGO_gbfmFAeZ7AA3A.png" /></figure><p>OpenChoreo is an open-source, Kubernetes-native Internal Developer Platform designed to simplify the way organizations build, deploy, manage, and observe applications.</p><p>It provides a standardized platform experience for developers while allowing platform engineering teams to maintain control over the underlying infrastructure.</p><p>Rather than requiring every developer to understand and configure all the underlying Kubernetes resources, OpenChoreo introduces higher-level abstractions that represent common development activities.</p><p>For example, developers can work with concepts such as:</p><ul><li>Projects</li><li>Components</li><li>Workloads</li><li>Environments</li><li>Deployment pipelines</li><li>Dependencies</li></ul><p>These abstractions help developers interact with the platform without having to manually manage every infrastructure-level configuration.</p><p>OpenChoreo was originally developed by WSO2, drawing on its experience building the Choreo developer platform. It was subsequently brought to the open-source community as a separate implementation and is now a CNCF Sandbox project.</p><p>Official Website: <a href="https://openchoreo.dev/">https://openchoreo.dev/</a>GitHub Repository: <a href="https://github.com/openchoreo/openchoreo">https://github.com/openchoreo/openchoreo</a></p><h3>2. Understanding the Problem OpenChoreo Solves</h3><p>Before understanding OpenChoreo, it is important to understand some challenges organizations face when adopting Kubernetes.</p><p>Imagine a software company with five development teams working on different applications.</p><p>Each team needs to:</p><ul><li>Build Docker images</li><li>Configure Kubernetes deployments</li><li>Manage namespaces and services</li><li>Configure networking and ingress</li><li>Set up CI/CD pipelines</li><li>Manage application secrets</li><li>Configure monitoring and logging</li><li>Handle deployments across development, staging, and production.</li></ul><p>Without a standardized platform, every team might implement these processes differently.</p><p>One team may use Jenkins, another may use GitHub Actions, and another may manually deploy applications using Kubernetes manifests.</p><p>Over time, this creates several operational challenges.</p><p><strong>Inconsistent deployment practices:</strong> Different teams follow different deployment standards, making application management difficult.</p><p><strong>Increased developer complexity:</strong> Developers spend valuable time understanding infrastructure configurations instead of focusing on application development.</p><p><strong>Security and governance challenges:</strong> Enforcing consistent security policies, access permissions, and deployment standards becomes more difficult.</p><p><strong>Operational overhead:</strong> Platform engineering teams repeatedly solve similar infrastructure problems for different development teams.</p><p>OpenChoreo addresses these challenges by providing a centralized platform where platform engineers define reusable standards and developers consume those standards through a self-service experience.</p><p>The key idea is simple:</p><p>Developers should focus on what they want to deploy, while the platform handles how it should be deployed.</p><h3>3. Understanding OpenChoreo Architecture</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RWRdW2bTCbQUObSmXBLSmQ.png" /></figure><p>One of the most interesting aspects of OpenChoreo is its modular, multi-plane architecture.</p><p>Instead of combining every responsibility into one tightly coupled system, OpenChoreo separates different platform responsibilities into dedicated planes.</p><p>Its architecture consists of the following major areas:</p><ol><li>Experience Plane</li><li>Control Plane</li><li>Data Plane</li><li>Workflow Plane</li><li>Observability Plane</li></ol><p>Each plane has a specific responsibility within the overall platform.</p><h3>3.1 Experience Plane</h3><p>The Experience Plane is the interface through which developers, platform engineers, and other authorized users interact with OpenChoreo.</p><p>It provides multiple ways to access and manage the platform.</p><p>Some of its main components include:</p><p><strong>Developer Portal</strong></p><p>OpenChoreo provides a Backstage-based Internal Developer Portal where developers can access their projects, components, deployments, and related platform information.</p><p><strong>Command-Line Interface (CLI)</strong></p><p>OpenChoreo provides a CLI called occ, allowing users to interact with the platform through terminal commands.</p><p><strong>APIs</strong></p><p>OpenAPI-based interfaces allow external systems and automation tools to interact with platform functionality.</p><p><strong>Model Context Protocol (MCP) Servers</strong></p><p>OpenChoreo also provides MCP servers that support AI-assisted development and platform operations.</p><p>The Experience Plane creates a consistent interface for interacting with the platform, regardless of whether users prefer a graphical interface, command line, APIs, or supported AI integrations.</p><h3>3.2 Control Plane</h3><p>The Control Plane is the central management layer of OpenChoreo.</p><p>It acts as the brain of the platform, coordinating resources and ensuring that the desired configuration is reflected in the actual infrastructure.</p><p>Some important responsibilities include:</p><ul><li>Managing platform and developer resources.</li><li>Processing API requests.</li><li>Enforcing authentication and authorization.</li><li>Managing platform configurations.</li><li>Coordinating deployment workflows.</li><li>Monitoring the desired state of resources.</li><li>Communicating with other planes.</li></ul><p>An important concept here is <strong>reconciliation</strong>.</p><p>In Kubernetes-based environments, reconciliation means continuously comparing the desired state with the actual state and taking corrective actions when they differ.</p><p>For example, imagine a developer creates a component that should be deployed in a particular environment.</p><p>The Control Plane processes that request and coordinates the necessary actions across the platform to ensure the component reaches its intended state.</p><p>It uses Kubernetes controllers and platform APIs to coordinate these operations.</p><p>This approach helps maintain consistency between what users declare and what is actually running.</p><h3>3.3 Data Plane</h3><p>The Data Plane is where the actual application workloads run.</p><p>It is responsible for:</p><ul><li>Running application workloads.</li><li>Managing runtime environments.</li><li>Enforcing network policies.</li><li>Exposing application endpoints.</li><li>Managing communication between components.</li><li>Applying required runtime configurations.</li></ul><p>OpenChoreo supports multiple Data Planes, allowing organizations to distribute workloads across different Kubernetes clusters.</p><p>For example, an organization could maintain separate environments:</p><p>Development → Staging → Production</p><p>These environments can be logically or physically separated, depending on the organization’s requirements.</p><p>This is particularly useful for organizations operating across multiple environments, regions, or infrastructure providers.</p><p>The Control Plane coordinates the desired state, while the Data Plane is responsible for executing and maintaining application workloads.</p><h3>3.4 Workflow Plane</h3><p>The Workflow Plane is responsible for executing automated workflows.</p><p>This is particularly important for CI/CD and deployment automation.</p><p>OpenChoreo uses workflows for activities such as:</p><ul><li>Building container images</li><li>Running automated build processes</li><li>Executing deployment-related tasks</li><li>Managing GitOps workflows</li><li>Performing infrastructure provisioning tasks</li><li>Running other platform-defined automation</li></ul><p>Its default workflow engine is <strong>Argo Workflows</strong>, a Kubernetes-native workflow engine.</p><p>An interesting feature is that OpenChoreo can also work with existing CI systems.</p><p>For example, an organization that already uses Jenkins or GitHub Actions can build its application image using its existing CI pipeline and provide the resulting image to OpenChoreo for deployment.</p><p>This allows organizations to adopt OpenChoreo without necessarily replacing their existing build processes.</p><h3>3.5 Observability Plane</h3><p>Deploying applications is only part of operating a reliable system.</p><p>Engineering teams also need to understand how applications behave after deployment.</p><p>This is where the Observability Plane becomes important.</p><p>It provides centralized collection and analysis of:</p><ul><li>Logs</li><li>Metrics</li><li>Distributed traces</li><li>Alerts</li></ul><p>OpenChoreo’s default observability modules include technologies such as:</p><p><strong>OpenSearch:</strong> Used for log storage and searching, and as a backend for tracing.</p><p><strong>Prometheus:</strong> Used for collecting and storing metrics.</p><p><strong>OpenTelemetry Collector:</strong> Used as part of the distributed tracing collection pipeline.</p><p>These capabilities help engineering teams investigate application issues, understand service performance, and monitor operational health.</p><p>OpenChoreo also supports integrating external observability systems, which is useful for organizations that already use tools such as Datadog, Splunk, or Grafana Cloud.</p><h3>4. Understanding Projects, Components, and Workloads</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*01y-aAYpBJ-Mj9eh5PlPzQ.png" /></figure><p>Another important concept in OpenChoreo is how applications are organized.</p><p>OpenChoreo follows a structured hierarchy:</p><p><strong>Namespace → Project → Component → Workload</strong></p><p>Let’s understand each one.</p><p><strong>Namespace<br></strong>A Namespace represents an organizational or team boundary managed by platform engineers.</p><p>It helps organize and separate platform resources.</p><p><strong>Project<br></strong>A Project groups related application components together.</p><p>For example, an e-commerce application might contain several services belonging to the same project.</p><p><strong>Component<br></strong>A Component represents an individual deployable unit, such as a backend service, web application, or scheduled task.</p><p><strong>Workload<br></strong>A Workload defines the runtime requirements of a component.</p><p>It can describe information such as:</p><ul><li>Container image</li><li>Endpoints</li><li>Environment variables</li><li>Dependencies</li></ul><p>This hierarchy provides a more organized approach to application management.</p><p>Instead of treating every Kubernetes resource as an independent configuration, OpenChoreo allows developers to work with concepts that are closer to the structure of their applications.</p><h3>5. ComponentTypes and Traits: Standardizing Application Deployment</h3><p>Two particularly interesting concepts in OpenChoreo are ComponentTypes and Traits.</p><h3>ComponentTypes</h3><p>ComponentTypes act as reusable templates that define how applications should be deployed.</p><p>For example, a platform engineering team could define different ComponentTypes for:</p><ul><li>Backend services</li><li>Frontend applications</li><li>Scheduled tasks</li><li>Stateful applications</li></ul><p>Each ComponentType can specify the workload type, default parameters, and Kubernetes resources that should be created.</p><p>This allows platform teams to establish standardized deployment practices.</p><p>Developers can then select an appropriate ComponentType instead of configuring every deployment detail themselves.</p><h3>Traits</h3><p>Traits represent reusable capabilities that can be attached to components.</p><p>For example, an organization might define traits for:</p><ul><li>Observability configurations.</li><li>Alerting rules.</li><li>OAuth2 proxy integration.</li><li>Additional runtime capabilities.</li></ul><p>This is useful because platform-wide requirements can be implemented once and reused across multiple components.</p><p>Together, ComponentTypes and Traits allow platform engineering teams to establish standardized development and deployment patterns, often referred to as <strong>Golden Paths</strong>.</p><p>A Golden Path is a recommended and supported way for developers to accomplish a particular task without having to design every process independently.</p><h3>6. How an Application Deployment Works with OpenChoreo</h3><p>Let’s consider a practical example.</p><p>Imagine a developer is building an e-commerce application consisting of:</p><ul><li>React frontend</li><li>Node.js backend</li><li>PostgreSQL database</li></ul><p>The development team wants to deploy the application into Kubernetes.</p><p>A simplified OpenChoreo workflow could look like this:</p><p><strong>Step 1: Organize the application</strong></p><p>The developer creates a Project and defines its application Components.</p><p><strong>Step 2: Define the component configuration</strong></p><p>Each Component references a suitable ComponentType and includes its workload requirements.</p><p><strong>Step 3: Build the application</strong></p><p>The application can be provided as a pre-built container image or built from source code through a configured Workflow.</p><p>For source-based builds, the Workflow Plane executes the required build process.</p><p><strong>Step 4: Create the container image</strong></p><p>The build process produces a container image that can be stored in a container registry.</p><p><strong>Step 5: Deploy the application</strong></p><p>The Control Plane coordinates deployment to the appropriate Data Plane.</p><p>Kubernetes resources are created according to the platform-defined configurations and policies.</p><p><strong>Step 6: Expose the application</strong></p><p>The application endpoints are configured according to the defined network visibility and gateway settings.</p><p><strong>Step 7: Monitor the application</strong></p><p>The Observability Plane collects relevant logs, metrics, and traces.</p><p>Engineers can use these signals to understand application health and troubleshoot problems.</p><p><strong>Step 8: Promote across environments</strong></p><p>Once the application is ready, it can be promoted through the configured deployment pipeline.</p><p>For example:</p><p>Development → Staging → Production</p><p>Environment-specific configuration and secrets can be applied during promotion.</p><p>This provides a more consistent approach to application delivery across different environments.</p><h3>7. Security and Governance in OpenChoreo</h3><p>Security is another important part of an enterprise Internal Developer Platform.</p><p>OpenChoreo incorporates several mechanisms to help organizations control access and communication across the platform.</p><h3>Authentication and Authorization</h3><p>OpenChoreo integrates with OAuth2 and OpenID Connect-compatible identity providers.</p><p>It also includes ThunderID as an option for getting started.</p><p>For authorization, it supports:</p><ul><li>Role-Based Access Control (RBAC).</li><li>Attribute-Based Access Control (ABAC).</li><li>Hierarchical resource-level access control.</li></ul><p>These mechanisms allow organizations to define which users can access or modify specific platform resources.</p><h3>Secure Communication Between Planes</h3><p>Another interesting architectural decision is the communication model between the planes.</p><p>The other planes establish outbound secure WebSocket connections to the Control Plane’s Cluster Gateway.</p><p>These connections use mutual TLS (mTLS) authentication.</p><p>This approach helps avoid exposing the Kubernetes API servers of the other planes directly to the internet.</p><p>It provides a more controlled communication model between platform components.</p><p>From an infrastructure perspective, this is an important consideration when designing distributed Kubernetes environments.</p><h3>8. Why Is OpenChoreo Interesting for Platform Engineering?</h3><p>OpenChoreo demonstrates how Platform Engineering can improve the developer experience without removing the flexibility of Kubernetes.</p><p>There are several reasons why this approach is valuable.</p><p><strong>1. Reduced Kubernetes Complexity</strong></p><p>Developers can work with higher-level platform abstractions instead of configuring every Kubernetes resource manually.</p><p><strong>2. Standardized Deployment Processes</strong></p><p>Platform engineers can establish reusable templates, workflows, and deployment practices.</p><p><strong>3. Self-Service Capabilities</strong></p><p>Developers can create and manage application components through the portal, CLI, or APIs while following platform-defined policies.</p><p><strong>4. Centralized Observability</strong></p><p>Logs, metrics, and traces can be collected across different workloads and platform planes.</p><p><strong>5. Flexible Architecture</strong></p><p>Its modular design allows organizations to integrate or replace different tools according to their requirements.</p><p><strong>6. Multi-Cluster Support</strong></p><p>Organizations can distribute workloads across multiple Kubernetes clusters and environments.</p><p>These capabilities make OpenChoreo particularly relevant to organizations that operate multiple development teams and cloud-native applications.</p><h3>9. OpenChoreo Is Not a Replacement for Kubernetes</h3><p>It is important to understand that OpenChoreo does not eliminate the need to understand Kubernetes.</p><p>Instead, it provides an additional platform layer that simplifies how development teams interact with Kubernetes infrastructure.</p><p>Kubernetes remains responsible for the underlying container orchestration and workload execution.</p><p>OpenChoreo provides the abstractions, workflows, governance mechanisms, and developer experience that help organizations operate Kubernetes more consistently.</p><p>This distinction is important.</p><p>Platform Engineering is not about hiding every infrastructure detail. It is about providing the right level of abstraction while allowing platform engineers to maintain visibility and control.</p><p>Organizations still need to manage their Kubernetes infrastructure, networking, storage, security, and operational requirements.</p><p>OpenChoreo helps organize and standardize how these capabilities are delivered to development teams.</p><h3>10. My Key Takeaways</h3><p>While exploring OpenChoreo, one of the things I found particularly interesting is how it brings together different areas of modern cloud-native engineering into a unified platform experience.</p><p>As someone interested in Cloud Computing, DevOps, Kubernetes, and automation, I find the relationship between its Control Plane, Data Plane, Workflow Plane, and Observability Plane especially interesting.</p><p>It demonstrates that modern DevOps is evolving beyond simply automating application deployments.</p><p>Platform Engineering is becoming an important part of how organizations design developer experiences, establish infrastructure standards, and manage application delivery at scale.</p><p>I also find the use of reusable ComponentTypes, Traits, and Golden Paths particularly valuable because they demonstrate how platform teams can balance developer independence with organizational governance.</p><p>OpenChoreo provides an interesting example of how Kubernetes, automation, observability, and platform abstractions can work together to improve the software delivery lifecycle.</p><h3>References and Further Reading</h3><ol><li>OpenChoreo Official Documentation — <a href="https://openchoreo.dev/docs/">https://openchoreo.dev/docs/</a></li><li>OpenChoreo Architecture — <a href="https://openchoreo.dev/docs/overview/architecture/">https://openchoreo.dev/docs/overview/architecture/</a></li><li>OpenChoreo Projects and Components — <a href="https://openchoreo.dev/docs/developer-guide/projects-and-components/overview/">https://openchoreo.dev/docs/developer-guide/projects-and-components/overview/</a></li><li>OpenChoreo Workflow Documentation — <a href="https://openchoreo.dev/docs/platform-engineer-guide/workflows/overview/">https://openchoreo.dev/docs/platform-engineer-guide/workflows/overview/</a></li><li>OpenChoreo GitHub Repository — <a href="https://github.com/openchoreo/openchoreo">https://github.com/openchoreo/openchoreo</a></li><li>Choreo Labs — <a href="https://choreolabs.com/">https://choreolabs.com/</a></li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=336d19a354a0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What is MLOps: Why It’s More Than Just Coding]]></title>
            <link>https://medium.com/@sachilz/what-is-mlops-why-its-more-than-just-coding-3b9b6c9d043b?source=rss-15163c2d314f------2</link>
            <guid isPermaLink="false">https://medium.com/p/3b9b6c9d043b</guid>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[mlops]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[devops]]></category>
            <dc:creator><![CDATA[Sachintha Dilshan]]></dc:creator>
            <pubDate>Thu, 09 Apr 2026 14:01:02 GMT</pubDate>
            <atom:updated>2026-04-09T14:01:02.166Z</atom:updated>
            <content:encoded><![CDATA[<p>Imagine you are a chef. You’ve just created the <strong>perfect recipe</strong> for a spicy Sri Lankan curry. Your friends love it! But now, you want to serve this curry in 100 different restaurants across the country every single day. You want it to taste exactly the same every time, no matter who is cooking it</p><p>That is exactly what <strong>MLOps</strong> does for Machine Learning.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OfxxJeedJZT90kpsQ4A15Q.jpeg" /></figure><p>The<strong> “Recipe”</strong> and the <strong>“Kitchen”</strong></p><p><strong><em>In the tech world:</em></strong></p><ul><li><strong>Machine Learning (ML)</strong> is like creating the recipe (the model)</li><li><strong>Operations (Ops)</strong> is like running the kitchen (the servers/cloud)</li></ul><p>MLOps is the <strong>bridge</strong> that helps you take a smart AI model from your laptop and put it into the real world so people can actually use it reliably.</p><h3>Why can’t we just use regular DevOps?</h3><p>You might wonder, <strong>“Bro, I already know DevOps, why do I need this?”</strong></p><p>Well, traditional software stays the same until you change the code. But AI is different because it depends on <strong>Data</strong>.</p><p>Think about a weather app. If you build it using data from 10 years ago, it won’t predict today’s weather correctly. People’s habits change, and the world changes. This is called <strong>Model Drift</strong>. MLOps helps you watch the model and “retrain” it automatically when it starts getting “stale.”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2tXmP8Z-WTwg0rar5Aa-Cw.jpeg" /></figure><p><strong><em>Now we will how it works:</em></strong></p><ul><li><strong>The Plan:</strong> You pick the problem and gather the “ingredients” (data).</li><li><strong>The Cooking:</strong> You write Python code to train the model and make it smart.</li><li><strong>The Serving:</strong> You put the model on a server using <strong>Docker</strong>.</li><li><strong>The Watching:</strong> You use tools like <strong>MLflow</strong> to check if the model is still doing a good job. If it fails, you fix it and deploy again.</li></ul><h3>Tools you should know</h3><p>If you are already a DevOps fan, you are halfway there! You just need to add a few AI-specific tools to your belt:</p><ul><li><strong>Docker &amp; Kubernetes:</strong> For packaging and running your models</li><li><strong>MLflow:</strong> To track your experiments and versions</li><li><strong>DVC (Data Version Control):</strong> To manage your datasets like you manage your code with Git</li></ul><h3>Learning Resources</h3><p><a href="https://www.coursera.org/resources/mlops-learning-roadmap">https://www.coursera.org/resources/mlops-learning-roadmap</a> : A perfect step-by-step guide for students</p><p><a href="https://devopscube.com/devops-to-mlops/">https://devopscube.com/devops-to-mlops/</a> : Great for people who already know Linux and Docker</p><p><a href="https://www.mygreatlearning.com/academy/learn-for-free/courses/mlops-fundamentals">https://www.mygreatlearning.com/academy/learn-for-free/courses/mlops-fundamentals</a> : A free course with a certificate to get you started</p><p><a href="https://www.youtube.com/watch?v=x4pwv0x6whQ">https://www.youtube.com/watch?v=x4pwv0x6whQ</a> : A quick video on Docker, Kubernetes, and MLflow</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3b9b6c9d043b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How I Solved My React + Node Backend Connection Issue with Nginx in My MERN Todo App]]></title>
            <link>https://medium.com/@sachilz/how-i-solved-my-react-node-backend-connection-issue-with-nginx-in-my-mern-todo-app-57c49eb61d4d?source=rss-15163c2d314f------2</link>
            <guid isPermaLink="false">https://medium.com/p/57c49eb61d4d</guid>
            <category><![CDATA[mern-stack]]></category>
            <category><![CDATA[full-stack-developer]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[technology]]></category>
            <dc:creator><![CDATA[Sachintha Dilshan]]></dc:creator>
            <pubDate>Wed, 08 Apr 2026 14:01:02 GMT</pubDate>
            <atom:updated>2026-04-08T14:01:02.918Z</atom:updated>
            <content:encoded><![CDATA[<p>While building my MERN stack Todo application, I containerized it, set up Jenkins for CI/CD, and wanted to serve it in production using Nginx. Everything worked fine in development React ran on port 3000 and Node backend on port 5000</p><p>But once I tried to access the app via Nginx on port 80, I got a <strong>“Cannot connect to backend” error</strong>, even though Node and MongoDB were running perfectly</p><p>This was one of the most frustrating issues I faced, but solving it taught me a lot about <strong>frontend-backend communication in production</strong></p><h4><strong>The Problem :</strong></h4><p>In development:</p><ul><li>Frontend: <a href="http://localhost:3000/"><strong>http://localhost:3000</strong></a></li><li>Backend: <strong>http://localhost:5000/api/tasks</strong></li></ul><p>Everything worked because CORS was enabled in Express</p><p>In production, with Nginx serving the frontend on port 80:</p><ul><li>Frontend URL: <a href="http://localhost/"><strong>http://localhost</strong></a></li><li>API request from frontend: <a href="http://localhost:5000/api/tasks"><strong>http://localhost:5000/api/tasks</strong></a></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Kryeqkkc07kAC-yNj1QqBA.jpeg" /></figure><p><strong>Problem:</strong> Frontend was trying to reach backend on port 5000, but Nginx only exposes port 80</p><p>Result: <strong>&quot;Cannot connect to backend. Check server and MongoDB&quot;</strong></p><p>I also ran into issues with the React build folder path, because my project had spaces (Project 01) and Nginx didn’t like it</p><p><strong>How I Solved It</strong></p><p>Here’s what I did step by step:</p><h3><strong>01. Make the frontend API calls relative</strong></h3><p>Instead of hardcoding the backend port in React:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/558/1*sMftDU70lh6lMzEcGxfuwA.png" /></figure><ul><li>Using /api makes all API calls <strong>relative to the domain the app is running on</strong>.</li><li>Now, whether in dev or prod, frontend sends API requests to the same server that served the React app.</li></ul><h3><strong>02. Let Node serve the frontend build folder</strong></h3><p>In <strong>server.js</strong>, I added these lines <strong>after all </strong><strong>/api routes</strong>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/776/1*g-isa9qkeRQdCJHtN0dxMg.png" /></figure><ul><li>This made Node handle <strong>both frontend and backend on the same port (5000)</strong></li><li>Nginx was no longer needed for dev, but I could still use it in production for speed</li></ul><h3><strong>03. Build React and test</strong></h3><p><strong>Here is i followed steps:</strong></p><p><em>cd client<br>npm run build<br>cd ../server<br>npm start</em></p><ul><li>Open <a href="http://localhost:5000/">http://localhost:5000</a></li><li>Frontend loaded correctly</li><li>API calls worked perfectly without CORS or port conflicts</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HOiTWL_pbUtpF3Wa4SaeiQ.jpeg" /></figure><h3>04. Use Nginx for production</h3><ul><li>I configured Nginx to serve the /build folder and forward /api requests to Node backend</li><li>Nginx now handles static files <strong>fast</strong>, while Node handles API requests <strong>securely</strong></li></ul><p><strong>Lessons Learned</strong></p><ul><li><strong>Never hardcode API ports in frontend</strong> — always use relative paths or environment variables.</li><li><strong>Let Node serve React build in production</strong> if you don’t want CORS headaches.</li><li><strong>Nginx is optional in dev</strong>, but great for production performance and SSL.</li><li><strong>Watch out for folder names with spaces</strong> — Nginx needs escaped paths or no spaces.</li></ul><p>This issue seemed small, but it blocked my deployment for hours. Once I understood <strong>how frontend, backend, and Nginx interact</strong>, everything clicked.</p><p>Now, my MERN Todo app is fully containerized, CI/CD-enabled with Jenkins, and ready for production.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=57c49eb61d4d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Deep Dive: Architecting a MERN App with Docker & Nginx Reverse Proxy]]></title>
            <link>https://medium.com/@sachilz/deep-dive-architecting-a-mern-app-with-docker-nginx-reverse-proxy-49c45d3816ab?source=rss-15163c2d314f------2</link>
            <guid isPermaLink="false">https://medium.com/p/49c45d3816ab</guid>
            <category><![CDATA[full-stack-developer]]></category>
            <category><![CDATA[nginx]]></category>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[devops]]></category>
            <dc:creator><![CDATA[Sachintha Dilshan]]></dc:creator>
            <pubDate>Thu, 02 Apr 2026 12:51:42 GMT</pubDate>
            <atom:updated>2026-04-02T12:53:32.403Z</atom:updated>
            <content:encoded><![CDATA[<p>Building a full-stack app is one thing, but making it “production-ready” is where the real challenge begins. Recently, I moved away from the standard <strong>npm start</strong> workflow and built a containerized ecosystem for a MERN application using Docker and Nginx.</p><p>In this guide, I’ll share the exact steps, the architecture, and the “aha!” moments I had while setting this up using my specific configuration.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*K6wHYCIUdd-TRPdTCgM1tg.jpeg" /></figure><p><strong>The Architecture: Why Nginx?</strong></p><p>In a typical local setup, your React app runs on port 3000 and your Express server on 5000. This forces the browser to talk to two different places.</p><p>By adding <strong>Nginx</strong> as a <strong>Reverse Proxy</strong>, we create a single entry point (Port 80)</p><p><strong>The Traffic Flow:</strong></p><ol><li>User hits <a href="http://localhost./">http://localhost.</a></li><li><strong>Nginx</strong> receives the request.</li><li>If the path starts with /api/, Nginx strips the prefix and sends it to the <strong>Node.js</strong> container.</li><li>Otherwise, it serves the <strong>React</strong> frontend.</li><li>Node.js communicates with <strong>MongoDB Atlas</strong> in the cloud.</li></ol><h3>Project Structure</h3><pre>root-folder/<br>├── frontend/<br>│   ├── Dockerfile<br>│   └── ... (React files)<br>├── backend/<br>│   ├── Dockerfile<br>│   └── ... (Node files)<br>├── nginx.conf        &lt;-- Nginx configuration<br>└── docker-compose.yml &lt;-- Orchestration file</pre><h3>Step 1: The Nginx Config (nginx.conf)</h3><p>This file is the “brain” of the operation. It tells Nginx exactly where to send incoming traffic.</p><pre>events {}<br><br>http {<br>  server {<br>    listen 80;<br><br>    # Routes /api/requests to the backend<br>    location /api/ {<br>      proxy_pass http://backend:5000/;<br>    }<br><br>    # Routes all other requests to the frontend<br>    location / {<br>      proxy_pass http://frontend:3000/;<br>    }<br>  }<br>}</pre><h3>Step 2: Orchestration with Docker Compose</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IExwvmizLvyrG_9deC5yEg.jpeg" /></figure><p>Docker Compose allows us to run multiple containers as a single application. I used expose for the backend to keep it private within the Docker network, while only Nginx and the Frontend are accessible via mapped ports.</p><pre>services:<br>  frontend:<br>    build: ./frontend<br>    ports:<br>      - &quot;3000:3000&quot;<br><br>  backend:<br>    build: ./backend<br>    expose:<br>      - &quot;5000&quot; # Internal communication only<br><br>  nginx:<br>    image: nginx:latest<br>    ports:<br>      - &quot;80:80&quot; # The main entry point<br>    volumes:<br>      - ./nginx.conf:/etc/nginx/nginx.conf<br>    depends_on:<br>      - backend</pre><h3>Key Technical Insights</h3><p><strong>01. Port vs expose</strong></p><p>In my docker-compose.yml, you&#39;ll notice I used ports for the frontend and Nginx, but expose for the backend.</p><ul><li><strong>Ports:</strong> Maps a port on your laptop to the container (e.g., 80:80).</li><li><strong>Expose:</strong> Only makes the port available to <em>other containers</em> in the same network. This is more secure because it prevents external users from hitting your API directly without going through Nginx</li></ul><p><strong>02. Service-Based Networking</strong></p><p>Inside a Docker network, containers talk to each other using the service names defined in the YAML file. That’s why in my nginx.conf, I can simply use http://backend:5000/. Docker acts as a built-in DNS server.</p><h3>Final Thoughts</h3><p>This project was a huge leap in my understanding of <strong>DevOps</strong> and <strong>System Architecture</strong>. Moving from just “coding” to “architecting” changes the way you think about security and traffic management.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=49c45d3816ab" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[C programming-Introduction]]></title>
            <link>https://medium.com/@sachilz/c-programming-introduction-9e07a18c8776?source=rss-15163c2d314f------2</link>
            <guid isPermaLink="false">https://medium.com/p/9e07a18c8776</guid>
            <category><![CDATA[c-programming-language]]></category>
            <category><![CDATA[c-programming]]></category>
            <dc:creator><![CDATA[Sachintha Dilshan]]></dc:creator>
            <pubDate>Sun, 26 May 2024 15:40:15 GMT</pubDate>
            <atom:updated>2024-05-26T15:40:15.279Z</atom:updated>
            <content:encoded><![CDATA[<blockquote><strong>History of C programming</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vnp0x4UBdpSRg08_j9qTzA.png" /></figure><p>C <strong>language was evolved from two previous languages, BCPL and B by Dennis Ritchie at Bell Laboratories in 1972.</strong></p><p><strong>C initially became widely known as the developing language of the UNIX operating system.</strong></p><p><strong>C99 and C11 are revised standards for C programming language that refines and expands the capabilities of C</strong></p><p><strong>The main reason for its popularity is because it is a fundamental language in the field of computer science.</strong></p><blockquote><strong>Why we learn C</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*3XSi5Ge4QYyezWLvXIqKBg.png" /></figure><p><strong>It is among the most widely used programming languages worldwide.</strong></p><p><strong>Knowing C will make learning other popular programming languages like Java, Python, C++, C#, etc. easy because they all have a similar grammar.</strong></p><p><strong>C is incredibly flexible, it may be applied to a variety of technologies. and also C is very fast than java and python.</strong></p><blockquote><strong>The Format of C</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*tja6CjEvRS_YAVui" /><figcaption>Photo by <a href="https://unsplash.com/@emilep?utm_source=medium&amp;utm_medium=referral">Emile Perron</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>The format of C programming can be simply divided into parts as follows. Now let’s see what those parts are and the details about them in summary.</p><p><strong><em>1. Header files</em></strong></p><p><strong><em>2. Main Function</em></strong></p><p><strong><em>3. Printf in C</em></strong></p><p><strong><em>4. Int main()</em></strong></p><p><strong><em>5. Stdio.h</em></strong></p><p><strong><em>6. Return 0</em></strong></p><h3><strong>Header Files</strong></h3><blockquote><strong>· The files that are specified in the include section is called as header file.</strong></blockquote><blockquote><strong>· These are precompiled files that has some functions defined in them.</strong></blockquote><blockquote><strong>· We can call those functions in our program by supplying parameters.</strong></blockquote><blockquote><strong>· Header file is given an extension .h</strong></blockquote><blockquote><strong>· C source file is given an extension .c</strong></blockquote><h3>Main Function</h3><blockquote><strong>· This is the entry point of a program.</strong></blockquote><blockquote><strong>· When a file is executed , the start point is the main function.</strong></blockquote><blockquote><strong>· From main function the flow goes as per the programmers choice.</strong></blockquote><blockquote><strong>· There may or may not be other functions written by user in a program.</strong></blockquote><blockquote><strong>· Main function is compulsory for any c program.</strong></blockquote><h3>Printf in C</h3><blockquote><strong>· purpose is to print formatted text to the standard output stream.</strong></blockquote><blockquote><strong>· Hence the “f” in the name stands for “formatted”.</strong></blockquote><blockquote><strong>· The basic idea to call printf in C is to provide a string of characters that need to be printed as it is in the program</strong></blockquote><h3>Int main()</h3><blockquote><strong>· The int main() defines the entry or the starting point of the C/C++ program code.</strong></blockquote><blockquote><strong>· Here int is a keyword that tells us about the integer data type.</strong></blockquote><blockquote><strong>· So when one runs the file on their local computer, the operating system executes the main () function.</strong></blockquote><h3>Stdio.h</h3><blockquote><strong>· stdio. h is a header file which has the necessary information to include the input/output related functions in our program.</strong></blockquote><blockquote><strong>· If we want to use printf or scanf function in our program, we should include the stdio. h header file in our source code.</strong></blockquote><h3>Return 0</h3><blockquote><strong>· A return 0 means that the program will execute successfully and did what it was intended to do.</strong></blockquote><blockquote><strong>· The main function is generally supposed to return a value and after it returns something it finishes execution.</strong></blockquote><blockquote><strong>· The return 0 means success and returning a non-zero number means failure. Thus we “return 0” at the end of main function.</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*crt8snkWoOpHjeGs" /><figcaption>Photo by <a href="https://unsplash.com/@altumcode?utm_source=medium&amp;utm_medium=referral">AltumCode</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Although I used Dev C++ IDE in university for C programming, But My personal opinion is that Code blocks are more suitable.</p><p>Use an IDE that is convenient for you, I will put the links of those IDE below for your convenience.</p><p><strong>Codeblocks</strong> <a href="https://sourceforge.net/projects/codeblocks/files/Binaries/20.03/Windows/codeblocks-20.03-setup.exe/download">https://sourceforge.net/projects/codeblocks/files/Binaries/20.03/Windows/codeblocks-20.03-setup.exe/download</a></p><p><strong>Dev C++</strong></p><p><a href="https://sourceforge.net/projects/dev-cpp/files/Binaries/Dev-C%2B%2B%204.9.9.2/devcpp-4.9.9.2_setup.exe/download">Dev-C++</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*9R5tRa4wqpz8y1IJ" /><figcaption>Photo by <a href="https://unsplash.com/@timmossholder?utm_source=medium&amp;utm_medium=referral">Tim Mossholder</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>OK! After install above IDE, you can start to write small C programme like this,</p><p><strong>First of all let’s write Hello World in C,</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/342/1*ZkAqCgBiVsYOuauw7j6IXA.png" /><figcaption><strong>Code 01</strong></figcaption></figure><p>As you can see in the above image I have written “Hello World” in C language. And as you can see its so simple. Wait, I will show you how to show us the output of it,</p><p><strong>Consider the picture shown below:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/666/1*fYzVya_grKD57v5cQscMGQ.png" /><figcaption><strong>Output 01</strong></figcaption></figure><blockquote><strong>Comments in C</strong></blockquote><p>Okay, now let’s see how to post a comment in C. Comment Deep is mainly divided into two parts.</p><p>The first one is Single line comment</p><p>The second one is multi line comment.</p><p>OK, now let’s see how to use those two in C,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ElocHjDJDaslwpRt7Y-C2A.png" /></figure><blockquote><strong>Single line comment</strong></blockquote><p>Single line comment indicate like this : //</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/390/1*qo9WBnJXqYpMWeDp4CVxqw.png" /><figcaption><strong>Single line comment example 01</strong></figcaption></figure><blockquote><strong>Multi line comment</strong></blockquote><p>Multi line comment indicate like this : /* */</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/406/1*rbvmYcq9nyVaxz5ijJwaNQ.png" /><figcaption><strong>Multi line comment example 02</strong></figcaption></figure><p>Okay, This is the introduction and the basic parts of C programming. Let’s do some activities in C in the next article. I hope to explain each activity to you as best as I can. So see you in the next article.</p><blockquote>Thank you!</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9e07a18c8776" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>