Skip to content

Widhian Bramantya

coding is an art form

Menu
  • About Me
Menu
rabbitmq

Implementing RPC (Remote Procedure Call) with RabbitMQ

Posted on September 9, 2025September 9, 2025 by admin

Introduction Sometimes, one service needs to send a request and wait for a reply from another service. This is called Remote Procedure Call (RPC). RabbitMQ can be used to build an RPC pattern. Even though RabbitMQ is normally used for async messaging, with the right setup we can also support request/response workflows.

Pages: 1 2
Read more
RabbitMQ Kafka

RabbitMQ vs Kafka: Choosing the Right Messaging System for Your Project

Posted on September 9, 2025September 9, 2025 by admin

Modern applications often need to pass data between services in a reliable and scalable way. Two of the most popular messaging systems are RabbitMQ and Apache Kafka. At first look, both do the same thing: move messages from one place to another. But in reality, they are built for different goals and have very different…

Pages: 1 2
Read more
rabbitmq

Scaling Microservices with RabbitMQ: Patterns and Best Practices

Posted on September 9, 2025September 9, 2025 by admin

When microservices grow, we need to scale them so they can handle more traffic, new features, and spikes. RabbitMQ helps by decoupling services and buffering work with queues. This reduces direct pressure on APIs and databases, and makes it easier to add more workers when needed. This guide explains how to scale with RabbitMQ using…

Pages: 1 2 3 4
Read more
rabbitmq

Dead Letter Queues in RabbitMQ: How to Handle Failed Messages

Posted on September 8, 2025September 8, 2025 by admin

In messaging systems, not every message can be processed successfully. Some messages may be invalid, expired, or cause errors in consumers. Instead of losing these messages, RabbitMQ provides a feature called the Dead Letter Queue (DLQ). DLQs allow you to capture, inspect, and handle failed messages safely. By default, any message that is rejected with…

Pages: 1 2
Read more
rabbitmq

Understanding RabbitMQ Exchange Types with Go: Default, Direct, Fanout, and Topic

Posted on September 8, 2025September 8, 2025 by admin

RabbitMQ is one of the most popular message brokers for building distributed systems. It allows applications to communicate asynchronously by sending and receiving messages through queues. At the heart of RabbitMQ is the concept of an exchange, which decides how messages flow from producers (publishers) to consumers. This article explains RabbitMQ’s most common exchange types…

Pages: 1 2 3
Read more
rabbitmq

Reliable Messaging with RabbitMQ: Acknowledgments, Durability, and Persistence

Posted on September 8, 2025September 8, 2025 by admin

One of the main reasons people use RabbitMQ is reliability. In many systems, losing a message is not acceptable. Imagine if an order is placed in an e-commerce system but disappears before the payment service sees it, that would be a big problem. RabbitMQ offers three important features to ensure reliable messaging: Acknowledgments, Durability, and…

Pages: 1 2 3
Read more
nats

Ensuring Message Ordering in NATS: A Kafka-like Approach

Posted on September 6, 2025September 6, 2025 by admin

In distributed systems, maintaining message ordering is crucial for ensuring data consistency and correctness. While Apache Kafka is well-known for its strong ordering guarantees, NATS JetStream offers a powerful alternative with the right architectural approach. This article explores how to implement Kafka-like message ordering in NATS using partitioned consumers and lease-based coordination.

Pages: 1 2 3 4
Read more
nats

Scalability and Reliability in NATS

Posted on September 6, 2025September 6, 2025 by admin

In the previous articles, we explored messaging patterns (Pub/Sub, Request–Reply, Queue Groups) and storage features (KV and Object Store) in NATS. Now let’s look at how NATS handles scalability and reliability, two critical factors when running systems in production.

Pages: 1 2
Read more
nats

Object Store in NATS: Storing Files and Blobs

Posted on September 6, 2025September 6, 2025 by admin

In the last article, we talked about the NATS Key-Value Store (KV), which is great for lightweight configuration and state management. But what if you need to store something larger, like a file, image, or binary data? For that, NATS provides the Object Store, also built on top of JetStream.

Pages: 1 2
Read more
nats

Key-Value Store in NATS: Simple State Management

Posted on September 6, 2025September 6, 2025 by admin

So far, we’ve looked at different messaging patterns in NATS like Publish–Subscribe, Request–Reply, and Queue Groups. Those patterns are great for communication, but sometimes you need a way to store small pieces of state that services can read, update, or watch for changes. NATS provides this through its Key-Value Store (KV), built on top of…

Pages: 1 2
Read more
  • Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • Next

Linkedin

Widhian Bramantya

Recent Posts

  • Log Management at Scale: Integrating Elasticsearch with Beats, Logstash, and Kibana
  • Index Lifecycle Management (ILM) in Elasticsearch: Automatic Data Control Made Simple
  • Blue-Green Deployment in Elasticsearch: Safe Reindexing and Zero-Downtime Upgrades
  • Maintaining Super Large Datasets in Elasticsearch
  • Elasticsearch Best Practices for Beginners
  • Implementing the Outbox Pattern with Debezium
  • Production-Grade Debezium Connector with Kafka (Postgres Outbox Example – E-Commerce Orders)
  • Connecting Debezium with Kafka for Real-Time Streaming
  • Debezium Architecture – How It Works and Core Components
  • What is Debezium? – An Introduction to Change Data Capture
  • Offset Management and Consumer Groups in Kafka
  • Partitions, Replication, and Fault Tolerance in Kafka
  • Delivery Semantics in Kafka: At Most Once, At Least Once, Exactly Once
  • Producers and Consumers: How Data Flows in Kafka
  • Kafka Architecture Explained: Brokers, Topics, Partitions, and Offsets
  • Getting Started with Apache Kafka: Core Concepts and Use Cases
  • Security Best Practices for RabbitMQ in Production
  • Understanding RabbitMQ Virtual Hosts (vhosts) and Their Uses
  • RabbitMQ Performance Tuning: Optimizing Throughput and Latency
  • High Availability in RabbitMQ: Clustering and Mirrored Queues Explained

Recent Comments

  1. Playing with VPC AWS (Part 2) – Widhian's Blog on Playing with VPC AWS (Part 1): VPC, Subnet, Internet Gateway, Route Table, NAT, and Security Group
  2. Basic Concept of ElasticSearch (Part 3): Translog, Flush, and Refresh – Widhian's Blog on Basic Concept of ElasticSearch (Part 1): Introduction
  3. Basic Concept of ElasticSearch (Part 2): Architectural Perspective – Widhian's Blog on Basic Concept of ElasticSearch (Part 3): Translog, Flush, and Refresh
  4. Basic Concept of ElasticSearch (Part 3): Translog, Flush, and Refresh – Widhian's Blog on Basic Concept of ElasticSearch (Part 2): Architectural Perspective
  5. Basic Concept of ElasticSearch (Part 1): Introduction – Widhian's Blog on Basic Concept of ElasticSearch (Part 2): Architectural Perspective

Archives

  • October 2025
  • September 2025
  • August 2025
  • November 2021
  • October 2021
  • August 2021
  • July 2021
  • June 2021
  • March 2021
  • January 2021

Categories

  • Debezium
  • Devops
  • ElasticSearch
  • Golang
  • Kafka
  • Lua
  • NATS
  • Programming
  • RabbitMQ
  • Redis
  • VPC
© 2025 Widhian Bramantya | Powered by Minimalist Blog WordPress Theme