Site Roadmap UPDATING 

Main entry points Personal blog https://lv-blog.pages.dev/

2026-06-16 02:20:32 PM · 1 min

This Blog: Update Roadmap UPDATING 

Features to add: A music player in the bottom-left corner Once there’s enough content, stop using the Hugo framework Add a comment system Add a page-view counter

2026-06-16 02:15:46 PM · 1 min

Myanmar: The Golden Pagoda Still Stands, the Buddhist Heart Remains Unwavering — To those Who Don't Know the Truth

I hope my friends who know little about Myanmar can take a moment to read this. From colonization by the Western world to the atrocities of Japanese massacres. From endless civil wars to devastating natural disasters — Myanmar has borne nearly every misfortune a nation can suffer, so much so that it bears a certain resemblance to old China. On top of that, some Chinese people have taken advantage of Myanmar’s political turmoil and the central government’s limited border control to engage in telecom fraud in northern Myanmar. This is not the doing of the Myanmar people, yet the country has been unfairly labeled as dangerous. Ignorant netizens back home have jumped on the bandwagon, painting Myanmar as a hell on earth and plastering it with every dark label imaginable. ...

2026-06-15 05:25:06 PM · 3 min

Eight Lines of Resignation

Looks — a failure. Makeup — hopeless. Skin dark, but sun-proof. Accent — odd. Thick legs, short on calcium. Can’t cook. If I ever get loved, it’s purely by accident.

2026-06-15 09:10:57 AM · 1 min

The Second Dance Arrangement

📥download MSCZ file 📥download PDF file

2026-06-14 09:02:55 PM · 1 min

My Avatar

here are two avatars I used :) avatar1 avatar2

2026-06-14 03:30:07 PM · 1 min

Resume

Bailin Wong 📞 +86 189-5232-0405 | 📧 827650791@qq.com | 📍 Zhenjiang, Jiangsu, China 🎓 B.Sc. Computer Science and Technology — Jingjiang College, Jiangsu University Certified Software Designer (Intermediate, MIIT China) Blog: https://lv-blog.pages.dev/ Target Role: Java Backend Engineer Summary Backend-focused engineer with 3+ years of professional experience delivering data-intensive systems in industrial/water-resource automation, now returning to full-time Java backend development — my degree field and long-term direction. Outside of work I have independently designed, built, and shipped two production microservice applications (both live on app stores), covering API gateway, RPC, distributed transactions, caching, message queues, and object storage end-to-end. Comfortable owning a service from architecture through deployment and on-call troubleshooting. ...

2026-06-14 02:20:24 PM · 6 min
Interviewer

Understanding the CAS Spin Pattern in Java Through Random UPDATING 

Do you understand this snippet? do { oldseed = seed.get(); newseed = (oldseed * ...) & mask; } while (!seed.compareAndSet(oldseed, newseed)); // ← CAS Level 0: First understand why a “variable” is dangerous in multithreading Suppose there’s a variable seed = 100, and two threads want to change it at the same time: Thread A: reads seed=100 → computes new value 200 → writes back seed=200 Thread B: reads seed=100 → computes new value 300 → writes back seed=300 Here’s the problem — both read 100, each computes on its own, and whoever writes later wins. A’s result is overwritten by B, A’s work is wasted, and the program has no idea anything went wrong. ...

2026-06-06 09:40:20 PM · 4 min

Documents a Foreigner Needs to Apply for or Renew a Residence Permit via Marriage Certificate in Zhenjiang, China

Assume the spouse is a foreigner, the wife. The wife’s Registration Form of Temporary Residence (for overseas persons) Obtain it from the local police station. A photocopy of the main page of the wife’s passport (If any) A photocopy of the wife’s previous residence permit inside her passport The husband’s letter of invitation (the immigration administration’s photo studio can provide it) A photocopy of the husband’s household registration booklet (hukou) ...

2026-06-02 11:12:13 AM · 1 min

A Close Look at Common Caching Strategies UPDATING 

The Three Cache Brothers Cache Penetration What it is: a flood of requests querying data that doesn’t exist in the database. The cache has nothing, so it keeps hammering the database. Prevention: Cache null values Even when the database finds nothing, put an empty marker in the cache (with a short TTL, e.g. 2 minutes; only after that TTL expires can the database be queried again) The next time the same id comes in, it’s blocked directly Pros: effectively intercepts large numbers of penetration requests Cons: A malicious attack with many different non-existent keys fills the cache with useless data and wastes memory It delays data consistency; new data has to wait for the cache to expire Bloom filter (recommended) At startup, put all legitimate ids into the Bloom filter If the Bloom filter says no, it really doesn’t exist Pros: No high-memory-usage risk No data-consistency risk Cons: There’s a tiny false-positive rate Insertions and deletions need maintenance; when data updates, the Bloom filter must be updated in sync Rate limiting and validation at the interface layer Intercept at the API gateway or Controller layer Parameter validation, rate limiting, and degradation Mutex-based rebuild A mutex mainly solves cache breakdown (a hot key expiring), but in the cache-empty-object scenario, if there are many concurrent requests for a non-existent key, a lock can be used Each access lets one thread query the DB while the others wait Big companies’ practice ...

2026-05-05 10:46:44 PM · 3 min
Redis Cache Strategies