Ops Development & AI Practice
Ops Development & AI Practice
May 20, 2024 · Backend Development

Why Go Module Checksums Fail and How to Fix go.sum Errors

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
Why Go Module Checksums Fail and How to Fix go.sum Errors
Alibaba Terminal Technology
Alibaba Terminal Technology
Mar 7, 2022 · Backend Development

Why Node.js Hot Module Reload Can Leak Memory—and How to Avoid It

This article examines Node.js hot‑update mechanisms, explains how modules like clear‑module and decache can cause memory, resource, and versioning leaks, demonstrates real‑world examples with code, and offers guidance on when hot‑reloading is safe and how to mitigate its pitfalls.

Backend DevelopmentMemory LeakNode.js
0 likes · 17 min read
Why Node.js Hot Module Reload Can Leak Memory—and How to Avoid It