Tagged articles
35 articles
Page 1 of 1
Raymond Ops
Raymond Ops
Jun 27, 2025 · Operations

How to Set Up Real‑Time NFS Backup with inotify and rsync

This guide walks through configuring rsync and inotify on multiple Linux hosts to achieve real‑time backup of NFS static resources, covering host preparation, rsync daemon setup, password handling, daemon activation, inotify‑driven monitoring scripts, and verification of successful synchronization.

NFSOperationsSysadmin
0 likes · 12 min read
How to Set Up Real‑Time NFS Backup with inotify and rsync
Linux Code Review Hub
Linux Code Review Hub
Mar 22, 2025 · Fundamentals

Inside Linux inotify: How the Kernel Tracks File Changes

This article dissects Linux’s inotify mechanism, detailing the kernel data structures, system‑call flow, and functions that generate and deliver file‑system event notifications, complete with code walkthroughs and diagrams. It explains how read/write operations trigger event creation, how events are queued in inotify_device, and how user‑space processes retrieve them via read and poll interfaces.

File MonitoringLinux kernelSystem Calls
0 likes · 14 min read
Inside Linux inotify: How the Kernel Tracks File Changes
MaGe Linux Operations
MaGe Linux Operations
Nov 17, 2024 · Operations

How to Set Up Real-Time NFS Backup with Inotify and Rsync on Linux

This step‑by‑step guide shows how to configure Linux servers for real‑time NFS static resource backup using inotify and rsync, covering host preparation, rsync daemon setup, user and password management, inotify script creation, and verification of synchronized files across multiple machines.

LinuxNFS backupinotify
0 likes · 11 min read
How to Set Up Real-Time NFS Backup with Inotify and Rsync on Linux
Architect
Architect
Dec 30, 2023 · Big Data

Designing a Scalable Log Collection Agent: Lessons from Vivo’s Bees‑Agent

This article details the end‑to‑end design of Vivo’s custom log‑collection agent, covering file discovery with inotify, unique file identification using inode and content hash, real‑time reading via RandomAccessFile, checkpointing, Kafka integration, offline HDFS ingestion, resource throttling, and platform‑wide management, while comparing it with open‑source alternatives.

Agent DesignBig DataKafka
0 likes · 26 min read
Designing a Scalable Log Collection Agent: Lessons from Vivo’s Bees‑Agent
Liangxu Linux
Liangxu Linux
Nov 1, 2023 · Operations

Mastering Rsync: From Basics to Real‑Time Sync with Inotify

This guide explains rsync's fundamentals, usage in ssh and daemon modes, detailed configuration options, and how to combine it with inotify‑tools for real‑time, bidirectional file synchronization on Linux systems, including practical command examples and scripting tips.

LinuxShell scriptingdaemon
0 likes · 18 min read
Mastering Rsync: From Basics to Real‑Time Sync with Inotify
Liangxu Linux
Liangxu Linux
Apr 19, 2023 · Operations

Mastering Rsync: From Basic Sync to Daemon and Real‑Time Inotify Integration

This guide explains Rsync’s fundamentals, usage modes (local, SSH, daemon), detailed configuration options, command examples, and how to combine it with inotify‑tools for real‑time, bidirectional synchronization, including setup steps, authentication, logging, and automation via cron.

daemonfile synchronizationinotify
0 likes · 19 min read
Mastering Rsync: From Basic Sync to Daemon and Real‑Time Inotify Integration
Liangxu Linux
Liangxu Linux
Mar 24, 2023 · Operations

Mastering Rsync: From Basic Sync to Daemon and Real‑Time Inotify Integration

This guide explains what Rsync is, its underlying algorithm, key features, and provides step‑by‑step commands for local, LAN, and user‑specific synchronization, daemon configuration, testing scenarios, and how to combine Rsync with inotify‑tools for real‑time bidirectional file replication.

Backupcrondaemon
0 likes · 18 min read
Mastering Rsync: From Basic Sync to Daemon and Real‑Time Inotify Integration
Code Ape Tech Column
Code Ape Tech Column
Dec 6, 2022 · Backend Development

File Change Monitoring in Java: WatchService, JDK Bug, and Inotify

This article examines Java file change monitoring, explains the limitations of a simple timestamp‑polling approach, details a JDK bug that loses millisecond precision, explores the built‑in WatchService and its fallback to polling, and demonstrates how Linux inotify provides a more reliable solution.

File MonitoringJDK bugWatchService
0 likes · 9 min read
File Change Monitoring in Java: WatchService, JDK Bug, and Inotify
Architecture Digest
Architecture Digest
Dec 2, 2022 · Big Data

Design and Implementation of Vivo's Bees Log Collection Agent

This article presents the design principles, core techniques, and practical solutions of Vivo's self‑developed Bees log collection agent, covering file discovery, unique identification, real‑time and offline ingestion, checkpointing, resource control, platform management, and a comparison with open‑source alternatives.

Agent DesignKafkaResource Management
0 likes · 25 min read
Design and Implementation of Vivo's Bees Log Collection Agent
High Availability Architecture
High Availability Architecture
Nov 30, 2022 · Big Data

Design and Implementation of Vivo's Bees Log Collection Agent

This article presents the design principles, core features, and implementation details of Vivo's self‑developed Bees log collection agent, covering file discovery, unique identification, real‑time and offline ingestion, resource control, platform management, and comparisons with open‑source solutions.

HDFSKafkaResource Management
0 likes · 22 min read
Design and Implementation of Vivo's Bees Log Collection Agent
vivo Internet Technology
vivo Internet Technology
Nov 23, 2022 · Big Data

Design and Implementation of Vivo's Bees Log Collection Agent

Vivo’s Bees‑agent is a custom, lightweight log‑collection service that discovers rotating files via inotify, uniquely identifies them with inode and hash signatures, supports real‑time and offline ingestion to Kafka and HDFS, offers checkpoint‑resume, resource isolation, rich metrics, and a centralized management platform, outperforming open‑source collectors in latency, memory usage, and scalability.

Agent DesignHDFSKafka
0 likes · 24 min read
Design and Implementation of Vivo's Bees Log Collection Agent
Open Source Linux
Open Source Linux
Oct 12, 2022 · Operations

Master Rsync: Fast File Sync, Daemon Setup, and Real‑Time Inotify Integration

This guide introduces Rsync’s fast delta‑transfer algorithm, explains its SSH and daemon modes, details configuration parameters, demonstrates common command‑line usage for local, LAN, and user‑specific syncing, and shows how to combine Rsync with inotify‑tools for real‑time bidirectional synchronization.

SSHdaemonfile synchronization
0 likes · 21 min read
Master Rsync: Fast File Sync, Daemon Setup, and Real‑Time Inotify Integration
Liangxu Linux
Liangxu Linux
Oct 12, 2022 · Operations

Mastering Rsync: From Basic Sync to Daemon and Real‑Time Inotify Automation

This guide explains Rsync's fundamentals, SSH‑based and daemon modes, detailed configuration options, practical command examples for local, LAN, and user‑specific synchronization, as well as real‑time file monitoring using inotify‑tools to achieve automated bidirectional replication.

crondaemonfile synchronization
0 likes · 19 min read
Mastering Rsync: From Basic Sync to Daemon and Real‑Time Inotify Automation
Open Source Linux
Open Source Linux
Sep 15, 2022 · Operations

Master Rsync: Fast File Sync Over LAN/WAN with SSH and Daemon Modes

Rsync is a powerful remote synchronization tool that efficiently mirrors directories across multiple hosts using its delta-transfer algorithm, supporting Unix-like systems and Windows, and can operate via SSH, rsh, or daemon mode with extensive configuration options for permissions, modules, authentication, and real-time syncing using inotify.

SSHdaemonfile synchronization
0 likes · 20 min read
Master Rsync: Fast File Sync Over LAN/WAN with SSH and Daemon Modes
Su San Talks Tech
Su San Talks Tech
May 11, 2022 · Backend Development

Why Java’s WatchService Misses File Changes and How to Fix It

This article examines a JDK bug that drops millisecond precision in file timestamps, explains why Java’s WatchService falls back to polling on macOS, contrasts it with Linux’s inotify‑based implementation, and shares practical workarounds for reliable file change detection.

File MonitoringWatchServicebackend-development
0 likes · 10 min read
Why Java’s WatchService Misses File Changes and How to Fix It
Xiao Lou's Tech Notes
Xiao Lou's Tech Notes
May 10, 2022 · Backend Development

Why Java’s WatchService Misses File Changes and How to Fix It

An in‑depth look at a real‑world file‑watching failure caused by a JDK timestamp bug, exploring Java’s WatchService implementation, its reliance on polling versus Linux’s inotify, and practical workarounds to ensure reliable configuration reloads across platforms.

File MonitoringJDK bugPolling
0 likes · 10 min read
Why Java’s WatchService Misses File Changes and How to Fix It
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Feb 18, 2022 · Mobile Development

Understanding Android EventHub: Architecture and Event Handling

EventHub acts as the bridge between Linux input devices and Android’s InputReader by monitoring /dev/input with inotify and epoll, detecting device additions, opening and registering new devices, reading raw input_event structures, converting them into RawEvent objects, and handling closures, rescans, and wake‑up signals in a continuous loop.

AndroidEventHubInput System
0 likes · 9 min read
Understanding Android EventHub: Architecture and Event Handling
Liangxu Linux
Liangxu Linux
Dec 27, 2020 · Operations

Automate Linux File Sync with inotify and rsync

Learn how to use Linux's inotify-tools to monitor directory changes and automatically synchronize modified files with rsync, covering installation, command options, example output, an event‑handling shell script, and running the script in the background with nohup.

File MonitoringLinuxautomation
0 likes · 5 min read
Automate Linux File Sync with inotify and rsync
Top Architect
Top Architect
Jun 28, 2020 · Operations

Design and Implementation of a Log Collection Agent: Challenges and Solutions

This article explains the evolution of logging, the role of log‑collection agents, industry solutions, and step‑by‑step techniques for building a reliable push‑mode log collector on Linux, covering file discovery, offset management, file identification, update detection, and safe resource release.

Agent DesignFile MonitoringLinux
0 likes · 17 min read
Design and Implementation of a Log Collection Agent: Challenges and Solutions
58 Tech
58 Tech
Sep 4, 2019 · Cloud Computing

Designing a Solution to Limit Container Thread Count in a Private Cloud Platform Using cgroup pids and inotify

This article analyzes the lack of thread‑count limits in a Kubernetes‑based private cloud platform, reproduces the issue with a Python multiprocessing script, and proposes a solution that combines the cgroup pids subsystem with inotify to enforce per‑container thread limits and provide real‑time alerts.

Kubernetescgroupcloud platform
0 likes · 8 min read
Designing a Solution to Limit Container Thread Count in a Private Cloud Platform Using cgroup pids and inotify
360 Tech Engineering
360 Tech Engineering
Jun 20, 2019 · Backend Development

Using inotify in Go for Configuration File Hot Reload

This tutorial explains Linux inotify's event model and demonstrates how to employ the Go package golang.org/x/sys/unix to initialize inotify, add watches, and process file system events in order to achieve automatic configuration file hot‑reloading in Go applications.

File MonitoringGoLinux
0 likes · 8 min read
Using inotify in Go for Configuration File Hot Reload
Efficient Ops
Efficient Ops
Mar 25, 2019 · Operations

How to Achieve Real-Time Data Sync with rsync, inotify, and sersync on CentOS

This step‑by‑step guide shows how to set up two CentOS 7 virtual machines, install and configure rsync, inotify‑tools, and sersync, and combine them with scripts and cron jobs to obtain reliable, real‑time file synchronization and automated backups across the network.

CentOSLinux operationsbackup automation
0 likes · 17 min read
How to Achieve Real-Time Data Sync with rsync, inotify, and sersync on CentOS
Efficient Ops
Efficient Ops
Jan 4, 2017 · Information Security

How Deep Defense and Log Analysis Can Thwart Intrusions

This article explains Google’s BeyondCorp concept, the need for deep defense of internal and perimeter networks, and provides practical Linux scripts for monitoring processes, ports, command usage, system events, file changes, and SFTP activity to detect and mitigate host intrusions.

Deep DefenseInformation SecurityLinux monitoring
0 likes · 10 min read
How Deep Defense and Log Analysis Can Thwart Intrusions
MaGe Linux Operations
MaGe Linux Operations
Apr 29, 2015 · Operations

Achieve Real-Time File Sync with rsync + inotify: Step-by-Step Guide

Learn how to replace traditional backup methods with rsync and inotify for fast, secure, incremental file synchronization, covering rsync fundamentals, command options, server and client configuration, inotify monitoring scripts, and testing procedures to achieve real‑time data replication between Linux servers.

BackupSystem Administrationinotify
0 likes · 9 min read
Achieve Real-Time File Sync with rsync + inotify: Step-by-Step Guide