Senior Tony
Author

Senior Tony

Former senior tech manager at Meituan, ex‑tech director at New Oriental, with experience at JD.com and Qunar; specializes in Java interview coaching and regularly shares hardcore technical content. Runs a video channel of the same name.

65
Articles
0
Likes
81
Views
0
Comments
Recent Articles

Latest from Senior Tony

65 recent articles
Senior Tony
Senior Tony
Jan 11, 2024 · Backend Development

10 Powerful Redis Use Cases Beyond Simple Caching

This guide explores ten practical Redis scenarios—including login authentication, counters, fan following, leaderboards, anti‑scraping, message queues, browser history, distributed locks, user sign‑in tracking, and website UV statistics—showcasing commands and patterns to boost performance in real‑world applications.

Caching AlternativesData StructuresPerformance
0 likes · 12 min read
10 Powerful Redis Use Cases Beyond Simple Caching
Senior Tony
Senior Tony
Dec 25, 2023 · Databases

Mastering Redis ZSet: Real‑Time Ranking, Set vs List, and Underlying Implementations

This article walks through a real‑world sales‑ranking scenario, explains why a simple SQL solution falls short at scale, and demonstrates how Redis Set and ZSet data structures provide high‑performance, real‑time ranking, including detailed command examples, performance metrics, and an in‑depth look at ZSet's internal listpack and skiplist‑dict implementations.

Data StructuresPerformanceRedis
0 likes · 11 min read
Mastering Redis ZSet: Real‑Time Ranking, Set vs List, and Underlying Implementations
Senior Tony
Senior Tony
Nov 21, 2023 · Operations

How to Shrink Failure Scope with Circuit Breakers, Degradation, and Link Splitting

This article explains how to reduce the impact of failures in distributed systems by simplifying service links, applying circuit‑breaker mechanisms, implementing graceful degradation, performing core‑link isolation, and, as a last resort, switching to a minimal MVP version to keep essential functionality alive.

circuit breakerdegradationhigh availability
0 likes · 11 min read
How to Shrink Failure Scope with Circuit Breakers, Degradation, and Link Splitting
Senior Tony
Senior Tony
Nov 14, 2023 · Operations

Master Availability, Reliability, and Stability for High‑Availability Systems

Understanding the differences between system availability, reliability, and stability is essential for building resilient services; this guide explains each concept, illustrates their distinctions with examples, and outlines practical strategies such as rate limiting, anti‑scraping, timeout settings, system inspections, and fault post‑mortems to reduce failures and downtime.

AvailabilityReliabilityhigh availability
0 likes · 11 min read
Master Availability, Reliability, and Stability for High‑Availability Systems
Senior Tony
Senior Tony
Nov 8, 2023 · Databases

Beyond Row and Table Locks: Uncovering MySQL’s Hidden Lock Types

This article examines MySQL's comprehensive lock taxonomy, starting from common row and table locks, then delving into lesser‑known mechanisms such as global locks, intention locks, auto‑increment locks, and Latch, while explaining their commands, use‑cases, and performance implications for developers and DBAs.

InnoDBLocksMySQL
0 likes · 10 min read
Beyond Row and Table Locks: Uncovering MySQL’s Hidden Lock Types
Senior Tony
Senior Tony
Oct 8, 2023 · Backend Development

When Architecture Becomes Overkill: Real‑World Lessons on Over‑Design

The article recounts a series of real‑world anecdotes exposing how excessive architectural ambitions—such as needless microservice fragmentation, ubiquitous message‑queue usage, multi‑level caching, over‑engineered design patterns, and configuration‑driven code—lead to wasted resources, maintenance headaches, and fragile systems, urging a return to simplicity.

CachingConfiguration ManagementMessage Queue
0 likes · 12 min read
When Architecture Becomes Overkill: Real‑World Lessons on Over‑Design
Senior Tony
Senior Tony
Sep 12, 2023 · Backend Development

What Really Powers High‑Concurrency Systems? Practical Solutions Explained

This article breaks down real‑world high‑concurrency strategies—horizontal scaling, caching, Elasticsearch, sharding, message‑queue smoothing, and cellization—explaining when each applies, their trade‑offs, and practical tips for building scalable, reliable backend services.

CachingHigh ConcurrencyMessage Queue
0 likes · 9 min read
What Really Powers High‑Concurrency Systems? Practical Solutions Explained
Senior Tony
Senior Tony
Aug 30, 2023 · Backend Development

How to Prevent Duplicate Order Submissions in High‑Traffic E‑Commerce Systems

The article examines why duplicate order submissions occur in e‑commerce, outlines four practical solutions—including button disabling, pre‑generated UUIDs, client‑side ID generation, and Redis‑based idempotency—compares their pros and cons, and explains why a Redis key approach was ultimately chosen for production.

backendduplicate submissione-commerce
0 likes · 7 min read
How to Prevent Duplicate Order Submissions in High‑Traffic E‑Commerce Systems
Senior Tony
Senior Tony
Aug 20, 2023 · Fundamentals

Why Elasticsearch Is Called Near‑Real‑Time and How It Works Under the Hood

This article explains Elasticsearch’s near‑real‑time nature, its core mechanisms such as inverted indexes and tokenizers, common interview scenarios, search types, refresh strategies, and the difference between query and filter, helping readers understand when and why to choose ES for full‑text and complex queries.

Inverted IndexQuery vs FilterSearch Types
0 likes · 15 min read
Why Elasticsearch Is Called Near‑Real‑Time and How It Works Under the Hood
Senior Tony
Senior Tony
Aug 12, 2023 · Databases

Mastering SQL Optimization: 15 Practical Tips to Supercharge Your Queries

This article presents a comprehensive guide to SQL performance tuning, covering real‑world interview scenarios, deep‑pagination pitfalls, and fifteen concrete optimization techniques—including index usage, limit tricks, proper joins, batch operations, and data‑type choices—to help developers write faster, more efficient MySQL queries.

MySQLPerformance TuningSQL
0 likes · 12 min read
Mastering SQL Optimization: 15 Practical Tips to Supercharge Your Queries