Hasini Rathnayaka·Jul 19Understanding Web Authentication: Basic Auth, JWT, OAuth, Cookies, OIDC & SAMLEvery web app eventually needs to answer the same two questions: who are you, and are you allowed to do this? The first question is…
Hasini Rathnayaka·Jun 26Understanding Web Servers: Nginx, Apache, Caddy, and IIS ExplainedEvery time you open a website, something on the other end is listening. You type a URL, your browser fires off a request across the…
Hasini Rathnayaka·Jun 26Understanding Caching: Redis, Memcached, and HTTP Caching ExplainedPicture a chef who cooks a dish, and then every time someone orders the same thing, they go back and cook the entire thing from scratch —…
Hasini Rathnayaka·Sep 4, 2023CPU Scheduling in Operating Systems: An OverviewIn a single-core processor computer system, the central processing unit (CPU) can execute only one process at any given moment. When a…