Rahul Nath
85 FOLLOWERS
I am Rahul. I am a programmer, blogger, youtuber and enjoy running. Blogs are usually technical and about life in general.
Rahul Nath
1w ago
An Exchange in RabbitMQ is a routing mechanism to send messages to queues.
RabbitMQ supports four Exchange Types: Topic Exchange, Direct Exchange, Fanout Exchange, Headers Exchange.
In this blog post, let's understand
RabbitMQ Topic Exchange
Routing messages in Topic Exchange
RabbitMQ Topic Exchange From a .NET application.
I use Amazon MQ, a managed message broker service that supports ActiveMQ and RabbitMQ engine types, to host my RabbitMQ instance. However, you can use one of the various options that RabbitMQ provides to host your instance,
This article is sponsored by AW ..read more
Rahul Nath
2w ago
Headers Exchange in RabbitMQ routes messages using message headers to route messages.
A message is considered a match if the header's value matches that on the binding.
In this post, let’s explore
RabbitMQ Headers Exchanges
Underlying Concepts of Headers Exchange
Headers Exchange in action from a .NET application.
I use Amazon MQ, a managed message broker service that supports ActiveMQ and RabbitMQ engine types, to host my RabbitMQ instance. However, you can use one of the various options that RabbitMQ provides to host your instance.
This article is sponsored by AWS and is p ..read more
Rahul Nath
2w ago
Are you passing around the CancellationToken to all your functions blindly?
Stop using Cancellation Tokens the wrong way in .NET!
CancellationTokens in .NET allows the caller to express lost interest in the result of an operation. This can be at a Function level, class level, API endpoint, etc.
Does that mean all requests are the same and can be canceled similarly?
Short answer - No!
In this post, let’s learn five good practices when using Cancellation Tokens in your application code.
Cancellation tokens are a great way to implement cooperative cancellation of asynchronous or long-running sy ..read more
Rahul Nath
1M ago
Imagine having a long-running request triggered by a user on your server.
But the user is no longer interested in the result and has navigated away from the page.
However, the server is still processing that request and utilizing resources until you come along and implement Cancellation Tokens in the application code.
In this blog post, let's learn
Problem with not using Cancellation Token
What is CancellationToken
Using Cancellation Token to Fix Long Running Processes
Using Cancellation Token in HTTP API Calls
This article is sponsored by AWS.
The Problem with not using Cancellation Token ..read more
Rahul Nath
1M ago
An Exchange in RabbitMQ is a routing mechanism to send messages to queues.
RabbitMQ supports four different Exchange Types.
Topic Exchange
Fanout Exchange
Headers Exchange
Direct Exchange
In this blog post, let's understand
RabbitMQ Fanout Exchange
Routing messages in Fanout Exchange
Set up a Fanout Exchange from .NET app
I use Amazon MQ, a managed message broker service that supports ActiveMQ and RabbitMQ engine types, to host my RabbitMQ instance. However, you can use one of the various options that RabbitMQ provides to host your instance,
AWS sponsors this article and i ..read more
Rahul Nath
1M ago
An Exchange in RabbitMQ is a routing mechanism to send messages to queues.
The type of exchange determines how an Exchange sends the messages to Queues.
In this post let's learn
What it A RabbitMQ Exchange?
Binding and Routing Keys
Different Exchange Types
I will use Amazon MQ, a managed message broker service that supports ActiveMQ and RabbitMQ engine types to host my RabbitMQ instance. However, you can use one of the various options that RabbitMQ provides to host your instance,
This article is sponsored by AWS and is part of my RabbitMQ Series.
What is A RabbitMQ Exch ..read more
Rahul Nath
2M ago
Messages picked up for processing by the consumers are not guaranteed to be successfully processed.
Hence, consumers need a mechanism for processing confirmation.
Delivery processing acknowledgements from consumers are referred to as acknowledgements in messaging protocols.
In this post, let’s learn about different acknowledgement modes and how to use them when working with RabbitMQ from a .NET application.
The concept still applies to other programming languages.
There are two acknowledgement modes supported in RabbitMQ
Automatic ACK
Manual ACK
This article is sponsored by AWS and is part ..read more
Rahul Nath
3M ago
RabbitMQ is a powerful open-source message broker facilitating communication between systems or applications.
It ensures seamless data exchange by enabling asynchronous messaging, making it an essential tool for building scalable and resilient distributed systems.
In this post, we will learn how to set up RabbitMQ and start using it from a .NET application to send and receive messages.
Setting Up RabbitMQ
RabbitMQ can be hosted through self-hosted deployments, major cloud providers, containerization with Docker and Kubernetes, managed RabbitMQ providers, etc, offering a wide range of options ..read more
Rahul Nath
3M ago
The AWS Lambda PowerTools Batch processing utility makes it easy to process a batch of messages from Amazon SQS, Amazon Kinesis Data Streams, and Amazon DynamoDB Streams.
It provides a simple interface to process each batch record, enables parallel processing, report batch item failures to reduce number of retries and also supports customizations to meet your business needs and functionality.
In this post, let’s learn how to use the Lambda Powertools Batch processing utility to process messages in batches from Amazon SQS.
This article is sponsored by AWS and is part of my AWS Series.
Na ..read more
Rahul Nath
4M ago
When building Lambda Functions, we often need to store configuration and sensitive information.
AWS Provides different services like Parameter Store, Secrets Manager, etc., to store sensitive information. The AWS Lambda Powertools library makes it easy to work with these different services and retrieve one of their multiple parameter values.
In this blog post, let’s learn how to get started using the Lambda Powertools Parameters NuGet package, use it when building Lambda Functions, and connect quickly to Parameter Store and Secrets Manager using the library package.
This article is sponsored ..read more