Category: Uncategorized
-
Learning Notes #19 – Blue Green Deployments – An near ZERO downtime deployment
Today, i got refreshed on Blue Green Deployment from a podcast https://open.spotify.com/episode/03p86zgOuSEbNezK71CELH. Deployment designing is a plate i haven’t touched yet. In this blog i jot down the notes on blue green deployment for my future self. What is Blue-Green Deployment? Blue-Green Deployment is a release management strategy that involves maintaining two identical environments, referred…
-
Learning Notes #18 – Bulk Head Pattern (Resource Isolation) | Cloud Pattern
Today, i learned about bulk head pattern and how it makes the system resilient to failure, resource exhaustion. In this blog i jot down notes on this pattern for better understanding. In today’s world of distributed systems and microservices, resiliency is key to ensuring applications are robust and can withstand failures. The Bulkhead Pattern is…
-
Learning Notes #17 – Circuit Breaker Pattern | Cloud Pattern
Today, I learned about the circuit breaker pattern, which helps prevent cascading failures in systems. At first, I thought, “Why not just handle this using a retry pattern ?” or “If a server is down, let it just return a failure message. Why bring in an extra layer?” The answer lies in avoiding cascading failures,…
-
Learning Notes #16 – Prefetch Count | RabbitMQ
Today, i learnt about prefetch count and how it saves consumer from overwhelming of messages. Messages in RabbitMQ are pushed from the broker to the consumers. The RabbitMQ default prefetch setting gives clients an unlimited buffer, meaning that RabbitMQ, by default, sends as many messages as it can to any consumer that appears ready to…
-
POTD #9 – Intersection of Two arrays with Duplicate Elements | Geeks For Geeks
Problem Statement Geeks For Geeks – https://www.geeksforgeeks.org/problems/intersection-of-two-arrays-with-duplicate-elements/1 Given two integer arrays a[] and b[], you have to find the intersection of the two arrays. Intersection of two arrays is said to be elements that are common in both arrays. The intersection should not have duplicate elements and the result should contain items in any order. Note:The driver code will sort the…