Parottasalna Course Notes

📝 Parottasalna Blog

249 practical articles on backend engineering, system design, databases, Docker, Python, AI and DSA, explained simply.

Security

Learning Notes #55 - API Keys and Tokens

Tokens and API keys are foundational tools that ensure secure communication between systems. They enable authentication, authorization, and access co…

Jan 14, 2025 · 3 min read
Architecture

Learning Notes #54 - Architecture Decision Records

Last few days, i was learning on how to make a accountable decision on deciding technical stuffs. Then i came across ADR. So far i haven’t used or se…

Jan 14, 2025 · 2 min read
Redis

Learning Notes #53 - The Expiration Time Can Be Unexpectedly Lost While Using Redis SET EX

Redis, a high-performance in-memory key-value store, is widely used for caching, session management, and various other scenarios where fast data retr…

Jan 12, 2025 · 2 min read
AWS

Learning Notes #52 - Hybrid Origin Failover Pattern

Today, i learnt about failover patterns from AWS https://aws.amazon.com/blogs/networking-and-content-delivery/three-advanced-design-patterns-for-high…

Jan 12, 2025 · 6 min read
Algorithm

POTD #22 - Longest substring with distinct characters | Geeks For Geeks

Problem Statement Geeks For Geeks : https://www.geeksforgeeks.org/problems/longest-distinct-characters-in-string5848/1 Given a string s , find the le…

Jan 11, 2025 · 1 min read
Database

Learning Notes #51 - Postgres as a Queue using SKIP LOCKED

Yesterday, i came across a blog from inferable.ai https://www.inferable.ai/blog/posts/postgres-skip-locked , which walkthrough about using postgres a…

Jan 11, 2025 · 3 min read
Learning Notes

Learning Notes #50 - Fixed Partition Pattern | Distributed Pattern

Today, i learnt about fixed partition, where it handles about balancing the data among servers without high movement of data. In this blog, i jot dow…

Jan 9, 2025 · 4 min read
APIs

Learning Notes #49 - Pitfall of Implicit Default Values in APIs

Today, we faced a bug in our workflow due to implicit default value in an 3rd party api. In this blog i will be sharing my experience for future refe…

Jan 9, 2025 · 3 min read
Mathematics

POTD #19 - Count the number of possible triangles | Geeks For Geeks

Problem Statement Geeks For Geeks – https://www.geeksforgeeks.org/problems/count-possible-triangles-1587115620/1 Given an integer array arr[] . Find …

Jan 8, 2025 · 1 min read
Architecture

Learning Notes #48 - Common Pitfalls in Event Driven Architecture

Today, i came across Raul Junco post on mistakes in Event Driven Architecture …

Jan 8, 2025 · 3 min read
API

Learning Notes #47 - Idempotent Post Requests

Today, i learnt about how idempotent post api can prevent us from processing duplicate request. In this blog i jot down notes on how to handle Idempo…

Jan 8, 2025 · 3 min read
Programming

Learning Notes #46 - Expand Contract Pattern | Refactor Pattern

Today, i learnt about Expand Contract Pattern from Raul Junco on a linkedin post . This pattern is particularly useful during system migrations, feat…

Jan 8, 2025 · 3 min read