samdeepthink
Author

samdeepthink

Knowledge Planet: Old Dock's Tech Chronicles Zhihu: SamDeepThinking A technical manager who still codes heavily on the front line. From junior developer to tech lead, then tech manager, now leading the whole front‑ and back‑end development team—leveling up along the way. I have some insights on programming, career development, and tech management.

125
Articles
0
Likes
20
Views
0
Comments
Recent Articles

Latest from samdeepthink

100 recent articles max
samdeepthink
samdeepthink
Jul 18, 2026 · R&D Management

Three CTOs, Three Lessons: The Key Habits They Taught Me

After working with four CTOs, the author highlights three valuable habits learned from three of them—systematic planning, staying hands‑on with code, and aligning technology decisions with business needs—that continue to shape his management approach today.

CTObusiness alignmenthands‑on coding
0 likes · 6 min read
Three CTOs, Three Lessons: The Key Habits They Taught Me
samdeepthink
samdeepthink
Jul 18, 2026 · Fundamentals

Decade-Long Coding Habits That Boost Code Quality

After years of writing code, the author shares three disciplined habits—anticipating non‑functional scenarios, structuring code to reflect business flow, and adopting spec‑driven development—to improve code quality and resilience in production systems.

Spec Driven Developmentbusiness logiccode quality
0 likes · 6 min read
Decade-Long Coding Habits That Boost Code Quality
samdeepthink
samdeepthink
Jul 18, 2026 · Fundamentals

Why DDD Insists on a Single Repository per Aggregate

The article explains that in Domain‑Driven Design a Repository should target the aggregate, not individual tables, because the aggregate defines a consistency boundary; having separate repositories for master and detail tables breaks this boundary, allowing inconsistent writes and bypassing the aggregate root’s validation.

Aggregate rootConsistency boundaryDDD
0 likes · 9 min read
Why DDD Insists on a Single Repository per Aggregate
samdeepthink
samdeepthink
Jul 17, 2026 · Backend Development

When to Apply Domain Services in DDD: Finding the Right Place for Business Logic

The article explains that domain services are not optional in DDD but become necessary when aggregate roots cannot contain certain business rules, such as those requiring external data, batch processing, or rules that don’t belong to a single aggregate, and outlines principles for their proper use.

Anti-Corruption LayerApplication ServiceDDD
0 likes · 5 min read
When to Apply Domain Services in DDD: Finding the Right Place for Business Logic
samdeepthink
samdeepthink
Jul 17, 2026 · Backend Development

Three Crucial Architecture Decisions for Building a Reliable Payment System

The article outlines three core architectural choices—channel isolation, a dedicated payment gateway, and robust callback handling with Redis and distributed locks—that together prevent a single payment channel failure from collapsing the entire payment platform.

Redischannel isolationidempotency
0 likes · 5 min read
Three Crucial Architecture Decisions for Building a Reliable Payment System
samdeepthink
samdeepthink
Jul 17, 2026 · Databases

Designing Redis Leaderboards: From a Single ZSet to Billion‑Scale Rankings

The article walks through the evolution of Redis leaderboard architectures, covering why ZSets are used, handling same‑score ordering, seasonal resets, access patterns, synchronous vs asynchronous updates, big‑key and hot‑key issues, sharding with buckets, and data durability strategies.

AsynchronousCacheLeaderboard
0 likes · 12 min read
Designing Redis Leaderboards: From a Single ZSet to Billion‑Scale Rankings
samdeepthink
samdeepthink
Jul 16, 2026 · Industry Insights

Why Do IT Layoffs Target Managers More Than Front‑Line Staff?

The author argues that in the IT sector layoffs are driven by replaceability, not job title, so core developers and effective managers are retained while positions that can be removed with minimal business impact—often managerial roles—are more likely to be cut.

IT industrylayoffsmanagement
0 likes · 4 min read
Why Do IT Layoffs Target Managers More Than Front‑Line Staff?
samdeepthink
samdeepthink
Jul 16, 2026 · Databases

Checkpoint‑Based Resumption for Billions‑Row Full Migration

When migrating tens of billions of rows, the article explains how a simple progress‑tracking table and failure‑log table enable automatic checkpoint‑based resumption, stateless execution, and dynamic batch tuning without restarting or rewriting code.

Batch ProcessingNacoscheckpoint
0 likes · 5 min read
Checkpoint‑Based Resumption for Billions‑Row Full Migration
samdeepthink
samdeepthink
Jul 16, 2026 · Backend Development

How Off‑Heap Caching Eliminates GC Scanning for Massive Product Data

The article explains why a large product cache moved from an in‑heap Caffeine cache to an off‑heap OHC solution, detailing serialization trade‑offs, per‑dimension cache configuration, singleflight loading, and the performance gains observed during high‑traffic promotions.

GC optimizationKryoPerformance
0 likes · 4 min read
How Off‑Heap Caching Eliminates GC Scanning for Massive Product Data
samdeepthink
samdeepthink
Jul 15, 2026 · Interview Experience

How to Present Your Project Experience in a Programming Interview to Stand Out

The article explains how candidates should showcase only the most relevant, deeply‑involved projects—detailing background, role, challenges, solutions, and impact—to demonstrate technical depth and decision‑making ability during a Java interview, while avoiding superficial or overly lengthy descriptions.

interviewjavaproject experience
0 likes · 8 min read
How to Present Your Project Experience in a Programming Interview to Stand Out