Tharindu Jayawardhana·Oct 31Understanding ulimits in LinuxI learned about ulimits after a service in one of my Docker Compose setups started failing with Too many open files. It turned out the…
Tharindu Jayawardhana·Oct 29When Configuration Is the Real ProductAt the start of a payroll project, the hard part looks like the code: the calculation engine, the database, the approval screens. It isn’t…
Tharindu Jayawardhana·Jun 18CSRF Attacks: How They Work and How to Stop ThemCross-Site Request Forgery (CSRF) is one of the oldest web vulnerabilities, and it is still common today. It is dangerous precisely because…
Tharindu Jayawardhana·Feb 1Understanding P95 and P99 Latency in System PerformanceWhen building software systems, performance is often discussed using averages such as average response time, average throughput, average…
Tharindu Jayawardhana·Sep 12, 2025Service Discovery in Microservices ArchitectureImagine you’re in a new city trying to find a specific restaurant. You could wander around aimlessly, or you could use a map service that…
Tharindu Jayawardhana·May 19, 2025How Kahn’s Algorithm Helped Me Solve Database Schema DependenciesWhen you’re writing code to automate database creation, there’s one thing that can quickly become a nightmare: foreign key constraints.
Tharindu Jayawardhana·Feb 8, 2025Understanding Kerberos AuthenticationKerberos is a secure network authentication protocol that enables users and services to verify their identities over an untrusted network…
Tharindu Jayawardhana·Jan 11, 2025Linux File DescriptorsRecently, I came across the concept of file descriptors and was intrigued by how they function in Unix/Linux systems. After learning more…A response icon3A response icon3
Tharindu Jayawardhana·Aug 1, 2024Understanding the Factory Method Pattern: A Real-World Example with Python Database Connections
Tharindu Jayawardhana·Jun 5, 2024Deploying a Static Website on AWS S3: A Step-by-Step GuideIntroduction: Static websites are a simple yet effective way to showcase your content on the web. Amazon S3 (Simple Storage Service)…