Parottasalna

AI, Backend Engineering & Architecture Guides

  • POTD #11 – Longest Consecutive Subsequence | Geeks For Geeks

    Category:

    Problem Statement Geeks For Geeks – https://www.geeksforgeeks.org/problems/longest-consecutive-subsequence2449/1 Given an array arr[] of non-negative integers. Find the length of the longest sub-sequence such that elements in the subsequence are consecutive integers, the consecutive numbers can be in any order. My Approach 1. Sort the array.Initialize two variables: 2. Loop through the array starting from the…

  • Learning Notes #23 – Retry Pattern | Cloud Patterns

    Category:

    Today, i refreshed Retry pattern. It handles transient failures ( network issues, throttling, or temporary unavailability of a service). The Retry Pattern provides a structured approach to handle these failures gracefully, ensuring system reliability and fault tolerance. It is often used in conjunction with related patterns like the Circuit Breaker, which prevents repeated retries…

  • Learning Notes #22 – Claim Check Pattern | Cloud Pattern

    Category:

    Today, i learnt about claim check pattern, which tells how to handle a big message into the queue. Every message broker has a defined message size limit. If our message size exceeds the size, it wont work. The Claim Check Pattern emerges as a pivotal architectural design to address challenges in managing large payloads…

  • Learning Notes #21 – Sharding (database) with Postgres

    Category:

    …contd. Early Morning today, i watched a video on partitioning and sharding. In that video, Arpit explained the limitation of Vertical Scaling and ways to infinite scale DB with Sharding and Partitioning. In this blog, i jot down notes on partioining with single node implementation with postgres for my future self. As the volume…

  • Learning Notes #20 – Partitioning (data) With Postgres

    Category:

    Early Morning today, i watched a video on partitioning and sharding. In that video, Arpit explained the limitation of Vertical Scaling and ways to infinite scale DB with Sharding and Partitioning. In this blog, i jot down notes on partioining with single node implementation with postgres for my future self. As the volume of…