Tagged articles
checksum
18 articles · Page 1 of 1
Learn what the Luhn (mod‑10) algorithm is, its real‑world applications such as credit‑card and IMEI validation, step‑by‑step calculation examples, and see practical TypeScript and JavaScript implementations that you can integrate into your web projects.
AlgorithmJavaScriptLuhn
0 likes · 6 min read

This guide explains the principles of MD5 and SHA‑512 checksums, demonstrates how to generate and compare them using md5sum and sha512sum commands, and shows practical steps to ensure files remain unchanged during transfer or storage on Linux systems.
LinuxMD5SHA-512
0 likes · 7 min read

This guide explains how to use the Linux md5sum command to generate checksums, compare files, store checksum data, and employ verification options like -c, --quiet, and --status for reliable file integrity checks in scripts and system operations.
Linuxchecksumfile integrity
0 likes · 4 min read

The Vivo Internet Storage R&D team's article describes an end‑to‑end MySQL data‑consistency verification tool for DTS that uses fixed‑size chunking and CRC32/MD5 fingerprint aggregation to quickly compare source and target tables, pinpoint mismatched rows, and enable automated or manual correction while minimizing impact on replication.
CRC32DTSDatabase Synchronization
0 likes · 13 min read

This guide explains the principles of MD5 and SHA‑512 checksums, demonstrates how to generate and compare them using Linux commands such as md5sum and sha512sum, and shows how to automate integrity verification for files like calico.yaml during transfer or backup.
LinuxMD5SHA-512
0 likes · 7 min read

This guide explains how to use the md5sum command to generate and compare file checksums, save them for later verification, employ options like -c, --quiet, and --status, and script batch integrity checks on Linux systems.
Linuxchecksumcommand-line
0 likes · 4 min read

When using go mod tidy or go get, checksum mismatches in go.sum can occur, indicating possible tampering or download issues, and this guide explains the go.sum file structure, its role, and step‑by‑step solutions such as clearing the module cache, manually editing the file, and adjusting GOSUMDB.
GOSUMDBchecksumgo-mod
0 likes · 6 min read

This guide explains how to generate MD5 checksums for files, compare them to detect changes, save checksum lists, and use md5sum's verification options—including quiet and status modes—to script bulk integrity checks on Linux systems.
LinuxVerificationchecksum
0 likes · 4 min read

This article analyses the security of Hadoop S3A write paths in data lakes, explains fast upload mechanisms, demonstrates disk‑IO and network‑error simulations, compares checksum algorithms, and presents Alibaba Cloud EMR JindoSDK best‑practice results with performance and reliability evaluations.
HadoopNetwork ReliabilityS3A
0 likes · 24 min read

This article describes the design, implementation, and usage of a custom MySQL data consistency checking tool that extends pt-table-checksum, handling composite primary keys, network throttling, scheduled execution, and detailed logging for both successful and failed verification scenarios.
Data ConsistencyMySQLchecksum
0 likes · 21 min read

Although TCP provides reliable transmission, its guarantees have limits—such as incomplete CRC checks, process crashes before data reaches the transport layer, possible ISP tampering, and kernel‑level ACKs that don’t ensure user‑space receipt—so large downloads must still be validated for full integrity.
DownloadLinuxNetwork Reliability
0 likes · 4 min read

This article introduces a custom MySQL data consistency verification tool inspired by pt-table-checksum, explains the challenges of handling complex primary keys, details the implementation logic with shell scripts and SQL, and provides installation, configuration, and usage instructions including parallelism, network monitoring, and scheduling.
Data ConsistencyMySQLautomation
0 likes · 23 min read

This article explains the structure of Chinese citizen ID numbers and provides a PHP function that validates both 15‑digit and 18‑digit IDs by checking format, birthdate correctness, and computing the checksum according to ISO 7064, accompanied by example usage.
checksumidcardregex
0 likes · 4 min read

This article outlines essential security practices for handling file uploads, including type whitelisting, safe filename generation, checksum verification, size limits, access restrictions, and audit logging, helping developers prevent common vulnerabilities and protect their systems.
File Uploadaccess controlchecksum
0 likes · 4 min read

This article explains how to use Percona Toolkit's pt-table-checksum tool to detect and verify data consistency between MySQL master and replica servers, covering its principles, suitable scenarios, safety mechanisms, and step‑by‑step commands for setup, data generation, and checksum execution.
Data ConsistencyMySQLchecksum
0 likes · 16 min read

This tutorial explains the structure of Chinese citizen ID numbers, details the ISO 7064 checksum calculation, and provides Python code to generate random valid IDs and verify existing ones, covering area codes, birth dates, sequence and gender digits.
AlgorithmID numberPython
0 likes · 5 min read

This article explains how HDFS handles file reading and writing, detailing the roles of DFSClient, block selection, hedged reads, packet construction, checksum handling, and the interaction with NameNode and DataNode pipelines to ensure reliability and performance.
DFSClientHDFSRead/Write
0 likes · 7 min read


ITPUBApr 13, 2016 · Databases
This article explains how the Tencent Game DBA team uses Percona's pt-table-sync to detect and automatically repair MySQL replication inconsistencies, achieving up to 30‑fold speed improvements, reducing resource usage, and enabling a data self‑healing service for large‑scale gaming databases.
DBAMySQLchecksum
0 likes · 13 min read
