-
Learning Notes #38 – Choreography Pattern | Cloud Pattern
Category: UncategorizedToday i learnt about Choreography pattern, where each and every service is communicating using a messaging queue. In this blog, i jot down notes on choreography pattern for my future self. What is the Choreography Pattern? In the Choreography Pattern, services communicate directly with each other via asynchronous events, without a central controller. Each…
-
Learning Notes #37 – Orchestrator Pattern | Cloud Pattern
Category: UncategorizedToday, i learnt about orchestrator pattern, while l was learning about SAGA Pattern. It simplifies the coordination of these workflows, making the system more efficient and easier to manage. In this blog i jot down notes on Orchestrator Pattern for better understanding. What is the Orchestrator Pattern? The Orchestrator Pattern is a design strategy…
-
POTD #15 – Count all triplets with given sum in sorted array | Geeks For Geeks
Category: UncategorizedProblem Statement Geeks For Geeks : https://www.geeksforgeeks.org/problems/count-all-triplets-with-given-sum-in-sorted-array/1 Given a sorted array arr[] and a target value, the task is to count triplets (i, j, k) of valid indices, such that arr[i] + arr[j] + arr[k] = target and i < j < k. My Approach: Initially i tried to approach the problem, similar to this.…
-
Learning Notes #36 – Active Active / Active Passive Patterns | HA Patterns
Category: UncategorizedToday, i learnt about High Availability patterns. Basically on how to handle the clusters for high availability. In this blog i jot down notes on Active Active and Active Passive Patterns for better understanding. Active-Active Configuration In an Active-Active setup, all nodes in the cluster are actively processing requests. This configuration maximizes resource utilization…
-
Learning Notes #35 – Durability in ACID | Postgres
Category: UncategorizedAs part of ACID series, i am refreshing on topic Durability. In this blog i jot down notes on durability for better understanding. What is Durability? Durability ensures that the effects of a committed transaction are permanently saved to the database. This property prevents data loss by ensuring that committed transactions survive unexpected interruptions…