Tagged articles
FIFO
16 articles · Page 1 of 1
When a device runs out of RAM, page replacement algorithms decide which pages to evict; the article defines page replacement, outlines goals, compares OPT, FIFO, LRU and their approximations, explains the Belady anomaly, and shows real‑world uses in Linux, JVM GC, and Redis.
Belady anomalyClock algorithmFIFO
0 likes · 9 min read


liandkAug 29, 2026 · Fundamentals
This tutorial explains the FIFO principle of queues with everyday analogies, compares stacks and queues, lists core operations, provides a full Python implementation, demonstrates real‑world scenarios like server requests and printer jobs, and highlights common beginner pitfalls.
AlgorithmBFSFIFO
0 likes · 7 min read

This guide explains how to handle batch mixing of short‑shelf‑life items in warehouses and stores by establishing clear batch identifiers, maintaining batch‑level inventory ledgers, applying dynamic expiration calculations, and enforcing FIFO through precise inbound recording, storage adjustments, outbound prioritization, regular cycle counts, and staff training to minimize waste and improve turnover.
FIFOWarehouse Operationsbatch tracking
0 likes · 12 min read

This article explains the concepts of FIFO and FILO inventory methods, compares their advantages and suitable scenarios, provides four key questions to help choose the right approach, and shares real‑world case studies illustrating how companies apply these strategies to optimize stock turnover and cash flow.
FIFOFILOWarehouse Operations
0 likes · 6 min read

To avoid performance degradation caused by simultaneous large‑scale data exports, this guide demonstrates building a fixed‑size FIFO export queue in Spring Boot, integrating EasyExcel for million‑row exports, handling asynchronous processing, and providing sample code for the queue, export service, and controller.
BackendConcurrencyEasyExcel
0 likes · 12 min read

The article describes a Java‑based FIFO export queue that limits concurrent MySQL export operations, outlines the related classes (ExportQueue, AbstractExport, ExportImpl, and a test controller), provides full source code, and presents test results showing how the queue manages up to ten simultaneous export requests.
ConcurrencyEasyExcelExportQueue
0 likes · 11 min read

This article explains how to handle massive MySQL export operations by introducing a fixed‑size FIFO queue, detailing the Java classes ExportQueue, AbstractExport, and ExportImpl, and showing a test controller that demonstrates queue limits, concurrency handling, and future considerations.
BackendConcurrencyExport Queue
0 likes · 11 min read

This article walks through a Python solution for validating FIFO inventory rules in Excel files, using pandas and Tkinter to create a GUI tool that reads multiple sheets, checks operation and stock dates, highlights violations, and saves the results, while also addressing common import errors and offering troubleshooting tips.
ExcelFIFOPython
0 likes · 12 min read

This article walks through a Pandas data‑manipulation problem where a user needs to generate sequential dates, convert column types, reorder columns, and produce a FIFO‑style dataset, providing the original code, a step‑by‑step solution with code snippets and illustrative images.
Date GenerationFIFOdata analysis
0 likes · 5 min read

This article demonstrates how to convert Chinese characters into SVG paths using Batik, then creates a D3.js animation that morphs one character into another, addressing path length mismatches with a FIFO‑style point‑by‑point transition and adding a swing effect via setInterval.
D3.jsFIFOJavaScript
0 likes · 8 min read

This article reviews virtual memory concepts and explains five page replacement algorithms—Optimal (OPT), First‑In‑First‑Out (FIFO), Least Recently Used (LRU), CLOCK (including a simple and improved version), and Least Frequently Used (LFU)—detailing their principles, operation, advantages, drawbacks, and illustrative examples.
AlgorithmFIFOLRU
0 likes · 14 min read

The article recounts a real‑world incident where a container engine restart broke a FIFO, causing a Java service to stop responding, and walks through the step‑by‑step debugging process, explains the underlying stdio forwarding mechanism in container runtimes, and shows how a simple flag change fixes the bug.
ContainerdDebuggingFIFO
0 likes · 13 min read

An in‑depth troubleshooting story reveals how a container engine restart broke the FIFO used for stdio forwarding, causing a Java app to hang; the fix was simply changing the FIFO open mode from O_WRONLY to O_RDWR, and the article explains the underlying container I/O architecture.
ContainerdDebuggingFIFO
0 likes · 13 min read


ITPUBFeb 10, 2018 · Operations
This guide explains why serial shell loops become a bottleneck for large‑scale tasks, then demonstrates three pure‑bash techniques—background execution, a simulated queue using arrays, and a FIFO‑based token system—to run multiple loop iterations concurrently while controlling the number of active processes.
FIFObashparallel execution
0 likes · 12 min read


ITPUBMar 23, 2017 · Fundamentals
This article explains the concepts of anonymous and named pipes in Linux, compares their characteristics, shows how to create them with mknod and mkfifo, and provides a complete C example that implements a two‑process chat program using threads and pipe I/O.
C++FIFOIPC
0 likes · 8 min read

This article explains how Zookeeper can be used to build reliable distributed queues, covering both synchronous queues that wait for all members and FIFO queues that follow the classic producer‑consumer model, with step‑by‑step implementation details and illustrative diagrams.
FIFOSynchronous Queuedistributed queue
0 likes · 3 min read
