Parottasalna Course Notes

📝 Parottasalna Blog

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

Design Patterns

Decorator Design Pattern

Decorator design pattern is used to modify the functionality of an object at runtime . At the same time other instances of the same class will not be…

Jun 10, 2024 · 4 min read
Design Patterns

PRoxy Design Pattern

Proxy is a structural design pattern that lets you provide a substitute or placeholder for another object. A proxy controls access to the original ob…

Jun 9, 2024 · 6 min read
Design Patterns

Composite design pattern

Composite is a structural design pattern that lets you compose objects into tree structures and then work with these structures as if they were indiv…

Jun 9, 2024 · 7 min read
Docker

Is 'Latest' Tag actually refers to the latest image in docker ?

During feature development, we created a PR to be tested in DEV. The pipeline creates the image with my branch and push the image to the registry. Th…

Jun 9, 2024 · 2 min read
Commands

JUST : A Simple command Runner

As a developer, i usually want to run some set of commands to execute/run the application. Like building and running docker container or setting some…

Jun 9, 2024 · 2 min read
Programming

How to cancel an HTTP Request ?

While testing functionalities in an web application, we usually do some actions which triggers the API request. What to do if i triggered an api whic…

Jun 9, 2024 · 3 min read
Technology

Benchmarking UUID4 vs ULID for DB indexing

In DB, for unique identifiers we usually use UUID (Universally Unique Identifier) and ULID (Universally Unique Lexicographically Sortable Identifier)…

Jun 9, 2024 · 8 min read
Caching

Redis : Cache Aside Pattern

Its an Application level caching, where the application checks whether the data is present in the cache (In our case redis). If data is present it re…

Jun 9, 2024 · 3 min read
Caching

Redis : Read Through Cache

Its an Application level caching, where the application reads the data from cache. If the data not present in the cache it will read from database an…

Jun 9, 2024 · 3 min read