Distributed Message Queue Cluster Setup with ZooKeeper and Kafka
Message Queue Fundamentals
Understanding Message Queues
A message represents data transmitted between applications. Messages can range from simple text strings to complex structures containing embedded objects.
A Message Queue (MQ) serves as an asynchronous communication mechanism in software systems. It decouples communication between differen ...
Posted on Wed, 17 Jun 2026 16:15:00 +0000 by nickmagus
Apache ZooKeeper Fundamentals and Hands-On Setup
Apache ZooKeeper is a centralized, fault-tolerant service for maintaining configuration information, naming, distributed synchronization, and group services in distributed systems.
Installation and Setup
ZooKeeper binaries can be downloaded from the official Apache releases page. After extraction, configure zoo.cfg in the conf/ directory. A min ...
Posted on Tue, 16 Jun 2026 17:49:15 +0000 by php_dev_101
Redis Client Libraries for Go and Python
Go Redis Client Implementation
Installation
The go-redis/redis library provides a rich set of functions for executing Redis commands, unlike older libraries that rely solely on a single execution method. This library supports both sentinel and cluster configurations.
Insatllation command:
go get github.com/go-redis/redis/v8
Connection Methods
...
Posted on Thu, 11 Jun 2026 18:25:21 +0000 by kessels1234
Dubbo: A Distributed Service Framework for Scalable Microservices
As web applications grew in scale, monolithic architectures became unsustainable. The transition from single-tier systems to distributed service-based models became inevitable to support scalability, resilience, and agile development.
Monolithic Architecture
In early-stage applications with low traffic, all components—UI, business logic, and da ...
Posted on Fri, 05 Jun 2026 18:15:27 +0000 by rachelk
Distributed Cron Scheduling with ElasticJob: Sharding, High Availability, and Runtime Rescaling
Consider a typical microservice deployment where an order processing service runs across multiple instances. A common requirement is to daily scan for successfully processed orders from the previous day and notify downstream analytics services.
A naive implemantation using Spring’s @Scheduled annotation leads to duplicate execution in productio ...
Posted on Mon, 01 Jun 2026 16:08:38 +0000 by phillyrob
Getting Started with Apache Storm: Running Topologies
This article provides a comprehensive explanation of Storm topologies. It assumes you have a basic understanding of Storm concepts. The topics covered include:
TopologyBuilder API usage
Submitting topologies to production clusters
Running topologies locally for development and testing
Core Concepts
Building Topologies with TopologyBuilder
Top ...
Posted on Wed, 27 May 2026 17:22:50 +0000 by suge
Redis Cluster Architecture and Data Distribution
Redis cluster addresses storage limitations by distributing data across multiple master-slave node groups. Unlike sentinel mode, where all nodes store complete datasets, cluster mode partitions data to reduce individual node pressure.
Data Partitioning Strategies
Hash Modulo Approach
This method applies a hash function to keys and uses modulo o ...
Posted on Tue, 19 May 2026 23:24:58 +0000 by phpion
Exploring Adaptive Load Balancing: A Deep Dive into Dubbo's P2C Algorithm
Today we're going to explore an interesting load balancing algorithm from Dubbo's source code. While I encountered this in Dubbo's implementation, it's not exclusive to Dubbo—it's a general algorithm concept. You can find Go implementations in go-zero as well.
The official documentation provides two diagrams illustrating these strategies.
When ...
Posted on Sat, 16 May 2026 21:20:25 +0000 by jib0
Deploying and Managing a High-Performance Object Storage Server with MinIO
Comparing Distributed File Storage Solusions
When evaluating distributed storage architectures, MinIO stands out as a prominent solution. It is a high-performance object storage server built using Go, allowing it to run seamlessly across various operating systems including Windows, Linux, macOS, and FreeBSD. Its deployment is streamlined, often ...
Posted on Sat, 16 May 2026 00:38:36 +0000 by seek
Building a Hadoop Cluster on CentOS 7
Biulding a Single-Node Hadoop Installation
For instructions on setting up a single-node Hadoop installation, please refer to: https://example.com/single-node-hadoop-setup
Creating a Hadoop Cluster
Cloning Virtual Machines
Right-click on hadoop1 → Manage → Clone
Click Next
Select the current state of the virtual machine → Click Next
Choose Crea ...
Posted on Fri, 15 May 2026 14:12:50 +0000 by ondi