-
Learning Notes #12 – Alternate Exchanges | RabbitMQ
Category: UncategorizedToday i learnt about Alternate Exchange, which provide a way to handle undeliverable messages. In this blog, i share the notes on what alternate exchanges are, why they are useful, and how to implement them in your RabbitMQ setup. What Are Alternate Exchanges? In the normal flow, producer will send a message to the…
-
POTD #7 – Count pairs with given sum | Geeks For Geeks
Category: UncategorizedProblem Statement Geeks For Geeks – https://www.geeksforgeeks.org/problems/count-pairs-with-given-sum–150253/1 Given an array arr[] and an integer target. You have to find numbers of pairs in array arr[] which sums up to given target. My Approach Today’s problem is similar to Two Sum problem, but with a counter.
-
Learning Notes #11 – Sidecar Pattern | Cloud Patterns
Category: UncategorizedToday, I learnt about Sidecar Pattern. Its seems like offloading the common functionalities (logging, networking, …) aside within a pod to be used by other apps within the pod. Its just not only about pods, but other deployments aswell. In this blog, i am going to curate the items i have learnt for my…
-
Learning Notes #10 – Lazy Queues | RabbitMQ
Category: UncategorizedWhat Are Lazy Queues? Key Characteristics Trade-offs Choose Lazy Queues if Implementation Pre-requisites 1. Install and run RabbitMQ on your local machine. 2. Install the pika library Producer (producer.py) This script sends a persistent message to a Lazy Queue. Consumer (consumer.py) Explanation
-
POTD #6 – Two Sum – Pair with Given Sum | Geeks For Geeks
Category: UncategorizedProblem Statement Geeks For Geeks : https://www.geeksforgeeks.org/problems/key-pair5616/1 Given an array arr[] of positive integers and another integer target. Determine if there exists two distinct indices such that the sum of there elements is equals to target. Examples My Approach