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.

167
Articles
0
Likes
340
Views
0
Comments
Recent Articles

Latest from samdeepthink

100 recent articles max
samdeepthink
samdeepthink
Aug 6, 2026 · Industry Insights

What Elon Musk’s Internal Email Reveals About Execution Excellence

The article examines Elon Musk’s terse internal memo that forces managers to either explain a mistake, seek clarification, or act, using it to illustrate how high‑performing organizations cultivate judgment and responsibility rather than relying on layered approvals that stall execution.

Decision MakingElon Muskcompany culture
0 likes · 5 min read
What Elon Musk’s Internal Email Reveals About Execution Excellence
samdeepthink
samdeepthink
Aug 6, 2026 · Interview Experience

Interview Question: Find the Single Occurring Number in an Array – Three Solutions

The article presents a classic interview problem of locating the unique element in an integer array where every other value appears twice, and walks through three Java 17 implementations—brute‑force double loop, HashMap counting, and a bitwise XOR trick—detailing their time and space trade‑offs and practical considerations.

Bitwise XORHashMapalgorithm
0 likes · 8 min read
Interview Question: Find the Single Occurring Number in an Array – Three Solutions
samdeepthink
samdeepthink
Aug 5, 2026 · Backend Development

Building Enterprise‑Level CAS SSO: Lessons from Our First Implementation

When a company’s internal tools each required separate logins, the team built an enterprise‑grade CAS single sign‑on system that unified identity, login entry, logout handling, and extensible integration, and they document the entire process across nine detailed articles.

CASEnterprise AuthenticationSSO
0 likes · 7 min read
Building Enterprise‑Level CAS SSO: Lessons from Our First Implementation
samdeepthink
samdeepthink
Aug 4, 2026 · Databases

Choosing the Best Composite Index for A = ?, B IN (...), ORDER BY C

The article explains why placing column C immediately after the equality column A in a composite index (A, C, B) avoids filesort and keeps performance stable regardless of how many values appear in the B IN list, outperforming other index orders such as (A, B, C).

Composite IndexFilesortIN Clause
0 likes · 10 min read
Choosing the Best Composite Index for A = ?, B IN (...), ORDER BY C
samdeepthink
samdeepthink
Aug 4, 2026 · Backend Development

Building a Mini RPC in Java 17: From Zero to Understanding Remote Calls

This article walks through creating a minimal Java 17 RPC framework—from defining a simple binary protocol and using JDK serialization to implementing server loops, dynamic proxy‑based clients, and a runnable demo—while also highlighting the gaps that production‑grade solutions like Dubbo or gRPC must fill.

Java 17RPCSocket
0 likes · 13 min read
Building a Mini RPC in Java 17: From Zero to Understanding Remote Calls
samdeepthink
samdeepthink
Aug 3, 2026 · Backend Development

Is the Classic Update‑DB → Delete‑Cache → TTL Pattern Really the Best Way to Keep Cache Consistent?

The article examines why the common update‑database, delete‑cache, add‑TTL workflow can still produce permanent stale data under high concurrency, explains the underlying race conditions, and compares several alternative strategies—including delete‑first, binlog‑driven invalidation, and lease‑based approaches—to help engineers choose the most reliable and low‑complexity solution for cache consistency.

BinlogCacheMySQL
0 likes · 19 min read
Is the Classic Update‑DB → Delete‑Cache → TTL Pattern Really the Best Way to Keep Cache Consistent?
samdeepthink
samdeepthink
Aug 2, 2026 · Fundamentals

Why Reducing Absolutism Boosts Engineering Judgment

The article argues that technical growth comes from shedding absolute beliefs, prioritizing sound architecture, writing clear code, avoiding needless hype, and applying best‑practice principles only where they truly fit, all backed by concrete development experiences.

Best PracticesSoftware Engineeringarchitecture
0 likes · 5 min read
Why Reducing Absolutism Boosts Engineering Judgment
samdeepthink
samdeepthink
Aug 1, 2026 · R&D Management

Tech Managers Should Spend 80% Coding, 20% Managing

The author argues that a technical manager should devote about 80% of their time to coding and only 20% to management, warning that abandoning hands‑on development erodes technical judgment, team trust, and long‑term career competitiveness.

career advicecoding practicesoftware management
0 likes · 4 min read
Tech Managers Should Spend 80% Coding, 20% Managing
samdeepthink
samdeepthink
Jul 31, 2026 · Interview Experience

Why Interviewers Ask About Your Toughest Problem—and How to Answer

The article explains that interviewers ask about the most difficult problem you solved to evaluate your analytical thinking, decision‑making process, and ability to handle uncertainty, and it offers guidance on how to describe the problem, solution steps, and trade‑offs effectively.

Decision Makingbehavioral questionscareer advice
0 likes · 3 min read
Why Interviewers Ask About Your Toughest Problem—and How to Answer