Spring MVC XML Configuration for Apache Dubbo Service Provider and Consumer
Provider Side – Service & Data Layer
1.1 Mavan Dependencies
<dependencies>
<!-- ZooKeeper client -->
<dependency>
<groupId>org.apache.zookeeper</groupId>
<artifactId>zookeeper</artifactId>
<version>${zk.version}</version>
</dependency>
&l ...
Posted on Fri, 05 Jun 2026 18:19:08 +0000 by johnsmith153
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
Hadoop Distributed System Fundamentals and Cluster Setup
Big Data Processing Overview
Big data involves analyzing massive datasets to extract valuable insights for organizational decision-making. Core processing stages include:
Data acquisition
Data processing
Result visualization
Hadoop Framework
Hadoop provides distributed processing capabilities for large datasets across computer clusters. Its a ...
Posted on Tue, 26 May 2026 01:24:57 +0000 by SidewinderX
Setting up a Three-Node Kafka+ZooKeeper Cluster on CentOS 7
Environment Setup
JDK Installation
yum install -y java-1.8.0
ZooKeeper Cluster Configuration
Downloading ZooKeeper
wget https://archive.apache.org/dist/zookeeper/zookeeper-3.7.0/apache-zookeeper-3.7.0-bin.tar.gz
tar xf apache-zookeeper-3.7.0-bin.tar.gz
Configurasion File Adjustments
# Backup sample configuration
# cp zoo_sample.cfg zoo.cfg
c ...
Posted on Fri, 22 May 2026 22:30:35 +0000 by fredriksk
Zookeeper: Distributed Coordination Service for ELK Stack
ZooKeeper is an open-source distributed coordination service designed for high availability, performance, and consistency in distributed applications. It provides a fundamental service: distributed locking. Distributed applications can build more advanced services on top of it, such as synchronization services, configuration maintenance, cluste ...
Posted on Thu, 14 May 2026 21:21:03 +0000 by jcantrell
Troubleshooting Common Errors in Big Data Environment Setup: Hadoop, Spark, HBase, Hive, and ZooKeeper
Hadoop Pseudo-Distributed Mode Issues
Configuration Parsing Failure in hdfs-site.xml
When you encounter FATAL conf.Configuration: error parsing conf hdfs-site.xml, the root cause is typically an encoding mismatch. Resolve it by opening the file and saving it with a uniform character encoding such as UTF-8.
HDFS Command Deprecation Warning
The w ...
Posted on Wed, 13 May 2026 16:56:31 +0000 by ashutosh.titan
Deploying and Operating Kafka with the wurstmeister/kafka Docker Image
Environment Setup
Operating System: CentOS 7
Docker Version: 17.03.2-ce
Docker Compose Version: 1.23.2
Docker Compose Configuration
To deploy Kafka with Zookeeper, create a docker-compose.yml file with the following content. This configuration avoids common issues like build failures and connection errors.
version: '2'
services:
zookeeper:
...
Posted on Thu, 07 May 2026 21:17:43 +0000 by TLawrence
Deploying Multiple ZooKeeper Instances on a Single Host
Environment Setup
Target system: CentOS 7.3 (sinngle machine)
ZooKeeper version: 3.5.2
Installation path: /opt/zk
Instance ports: 2181, 2182, 2183
Config files: /opt/zk/conf/node1.cfg through node3.cfg
Install rqeuired Java runtime:
yum install java-1.8.0-openjdk -y
Installation Steps
Download the distribution package:
wget https://archive.apa ...
Posted on Thu, 07 May 2026 17:00:49 +0000 by HowdeeDoodee
ZooKeeper Watcher Mechanism: Principles and Practical Guide
ZooKeeper Watcher Mechanism: Principles and Practical Guide
This article explores the ZooKeeper Watcher mechanism, a core component for distributed coordination. It covers fundamental concepts, the publish/subscribe model, workflow, application scenarios, and practical command examples.
Background
We have three cloud servers (2C4G each) running ...
Posted on Thu, 07 May 2026 05:59:21 +0000 by markszy