Real-Time Table Mirroring within One MySQL Instance Using Otter
Business Requirement
Both the source and target schemas on the same MySQL instance contain a table named student. Any INSERT, UPDATE, or DELETE executed against source.student must be reflected in target.student with sub-second latency.
Candidate Approaches
1. Shell Script
Quick PoC with bash + mysqldump was abandoned because the team lacked sh ...
Posted on Wed, 08 Jul 2026 16:31:47 +0000 by Solemn
Big Data Final Review Guide 2023 Beta
Chapter 3: HDFS
http://master:50070
1.1 NameNode
NameNode is the manager.
It stores metadata, which is data about data.
Files in HDFS are split into data blocks of 128 MB (originally 64 MB) for storage.
Replication strategy: The default replication factor in HDFS is 3.
1.2 Secondary NameNode
1.3 DataNode
1.4 Client
1.5 File Write Process
NameN ...
Posted on Wed, 01 Jul 2026 16:57:39 +0000 by james13009
Integrating Flink 1.20.0 with DataSophon
Preparing the Flink 1.20.0 Distribution
Begin by downloading the official Flink 1.20.0 binary distribution for Scala 2.12:
wget https://archive.apache.org/dist/flink/flink-1.20.0/flink-1.20.0-bin-scala_2.12.tgz
tar -xzf flink-1.20.0-bin-scala_2.12.tgz
tar -czf flink-1.20.0.tar.gz flink-1.20.0
If Hudi support is required, copy the compatible H ...
Posted on Mon, 22 Jun 2026 18:05:48 +0000 by nyy2000
Building a Scalable Data Pipeline with Zookeeper, Kafka, and the ELK Stack
Setting Up a Zookeeper Ensemble
A Zookeeper cluster maintains coordination metadata for distributed systems. For production, deploy an odd number of nodes (minimum three) to achieve quorum.
Configuration Essentials
On each node, prepare the configuration file conf/zoo.cfg:
tickTime=2000
dataDir=/var/lib/zookeeper
dataLogDir=/var/log/zookeeper
c ...
Posted on Mon, 22 Jun 2026 17:18:48 +0000 by bios
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
Big Data Fundamentals and Core Technologies Overview
HDFS File System Commands
Disk Usage Information
Retrieve disk usage statistics for a specific path:
hadoop fs -df /home/myfile
Merge Files
Combine multiple files from HDFS into a single local file:
hadoop fs -getmerge /user/hduser0011/test /home/myfile/dir
Write Output to HDFS
Direct console output to an HDFS file:
echo abc | hadoop fs -put ...
Posted on Thu, 11 Jun 2026 18:46:45 +0000 by brucensal
Service Registration and Discovery: From Theory to Practice
Service Registration and Discovery: From Theory to Practice
1. What is Service Registration and Discovery?
Let's start by understanding what service registration and discovery means.
Service Registration is the process of registering information about a module that provides a specific service (typically its IP address and port) with a common in ...
Posted on Thu, 11 Jun 2026 17:15:56 +0000 by mohabitar
Distributed Lock Implementations in Java with Redis and ZooKeeper
Redis-Based Distributed Locking with Redisson
Distributed systems often require mechanisms to ensure that only one process or thread can access a shared resource at a time across different service instances. Redis, a popular in-memory data store, can be effectively leveraged for this purpose, particularly through libraries like Redisson.
Maven ...
Posted on Sun, 07 Jun 2026 18:00:34 +0000 by Pilly
Orchestrating Distributed Systems with Apache Zookeeper and Kafka
Overview of Apache Zookeeper
Apache Zookeeper is a high-performance coordination service for distributted applications. It exposes a simple set of primitives—often used to implement higher-level services for synchronization, configuration maintenance, and groups/naming. It is designed to be highly available and reliable, forming the backbone of ...
Posted on Sat, 06 Jun 2026 18:34:36 +0000 by suttercain