Tagged articles
6 articles
Page 1 of 1
Liangxu Linux
Liangxu Linux
Jan 21, 2024 · Fundamentals

5 Common Embedded Firmware Bugs and How to Prevent Them

This article outlines five typical errors that plague embedded firmware—race conditions, non‑reentrant functions, missing volatile qualifiers, stack overflows, and heap fragmentation—and provides concrete best‑practice guidelines to detect, avoid, and mitigate each issue.

Reentrancyfirmwarerace condition
0 likes · 13 min read
5 Common Embedded Firmware Bugs and How to Prevent Them
Selected Java Interview Questions
Selected Java Interview Questions
Nov 7, 2023 · Backend Development

Implementing Distributed Locks with Redis: Principles, Challenges, and Optimizations

This article explains why traditional local locks fail in distributed systems, surveys common distributed‑lock approaches, and provides a step‑by‑step guide to building a robust Redis‑based lock in Java—including expiration handling, UUID safety, Lua‑script atomicity, re‑entrancy, automatic renewal, and the RedLock algorithm—while comparing its performance against plain local locks.

JavaLuaRedlock
0 likes · 17 min read
Implementing Distributed Locks with Redis: Principles, Challenges, and Optimizations
ITPUB
ITPUB
Dec 2, 2020 · Backend Development

Why Thread Safety and Reentrancy Matter in C++ Backend Development

The article uses a casual conversation between two backend engineers to introduce multithreading concepts, explain shared vs. private resources, define thread‑safe and reentrant functions, illustrate common pitfalls with code examples, and provide practical guidelines for writing correct concurrent C++ services.

Backend DevelopmentCReentrancy
0 likes · 11 min read
Why Thread Safety and Reentrancy Matter in C++ Backend Development