Tag

file monitoring

0 views collected around this technical thread.

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.

Backend DevelopmentJDK BugJava
0 likes · 9 min read
File Change Monitoring in Java: WatchService, JDK Bug, and Inotify
IT Services Circle
IT Services Circle
May 13, 2022 · Backend Development

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

This article examines a real‑world file‑watching failure caused by a JDK bug, explains how Java's WatchService works (including its polling fallback), compares it with Linux's inotify mechanism, and presents practical work‑arounds for reliable configuration reloads in backend services.

JDK BugJavaWatchService
0 likes · 10 min read
File Change Monitoring in Java: WatchService Pitfalls, JDK Bug, and Inotify Alternatives
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 monitoringinotify
0 likes · 17 min read
Design and Implementation of a Log Collection Agent: Challenges and Solutions
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.

Gofile monitoringhot reload
0 likes · 8 min read
Using inotify in Go for Configuration File Hot Reload