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 7, 2026 · Information Security

How to Implement Seamless Token Auto‑Renewal: Frontend Refresh, Sliding Window, and Double‑Token Strategies

Token expiration can be handled with three main strategies—frontend‑driven periodic refresh, backend sliding‑window renewal, and the industry‑standard double‑token (access + refresh) scheme—each balancing implementation simplicity, user experience, and security, with the double‑token approach offering the most robust solution.

AuthenticationRefresh TokenToken
0 likes · 7 min read
How to Implement Seamless Token Auto‑Renewal: Frontend Refresh, Sliding Window, and Double‑Token Strategies
Senior Tony
Senior Tony
Dec 28, 2025 · Cloud Native

How Nacos Keeps Working When Its Server Fails – 5 Must‑Know Q&A

This article explains how Nacos continues to provide configuration reads and service calls after its server crashes, details its long‑polling mechanism for dynamic updates, describes where configuration data is stored, compares the CAP trade‑offs for service discovery versus configuration management, and clarifies why Nacos implements both Distro and Raft protocols.

CAP theoremDistro ProtocolNacos
0 likes · 7 min read
How Nacos Keeps Working When Its Server Fails – 5 Must‑Know Q&A
Senior Tony
Senior Tony
Dec 15, 2025 · Databases

Avoid the 5 Hidden MySQL Pitfalls That Can Kill Your Performance

This article reveals five common MySQL pitfalls—including uncontrolled InnoDB lock granularity, low default IOPS, misleading VARCHAR length handling, undersized InnoDB Buffer Pool, and a fragile Buffer Pool LRU algorithm—and offers practical configuration tips to prevent performance degradation.

InnoDBMySQLPerformance Tuning
0 likes · 6 min read
Avoid the 5 Hidden MySQL Pitfalls That Can Kill Your Performance
Senior Tony
Senior Tony
Dec 1, 2025 · Databases

How to Efficiently Import 100 Million Excel Rows into MySQL

This article explains how to import a hundred‑million‑row Excel dataset into MySQL by using CSV format, streaming parsers like EasyExcel, batch inserts, asynchronous processing, and partial‑transaction strategies to ensure feasibility, data integrity, and high performance.

Batch InsertEasyExcelExcel
0 likes · 5 min read
How to Efficiently Import 100 Million Excel Rows into MySQL
Senior Tony
Senior Tony
Nov 24, 2025 · Backend Development

9 Powerful Ways to Control Thread Execution Order in Java

This article presents nine practical techniques—including Thread.join, CompletableFuture, CountDownLatch, CyclicBarrier, Semaphore, single‑thread executor, ReentrantLock with Condition, Phaser, and BlockingQueue—to reliably enforce a specific execution sequence among Java threads, a frequent interview challenge.

JavaThread Orderingbackend
0 likes · 5 min read
9 Powerful Ways to Control Thread Execution Order in Java
Senior Tony
Senior Tony
Nov 18, 2025 · Backend Development

Mastering Java Thread Pools: 7 Critical Pitfalls Every Engineer Should Know

This article breaks down seven common thread‑pool pitfalls frequently asked in Java interviews, explains core‑thread reclamation, warm‑up, pool states, task‑completion checks, the risks of the default ForkJoinPool, and when to use single, fixed, or cached thread‑pool executors.

JavaJavaInterviewThreadPool
0 likes · 6 min read
Mastering Java Thread Pools: 7 Critical Pitfalls Every Engineer Should Know
Senior Tony
Senior Tony
Sep 21, 2025 · Backend Development

Configure MCP Map Routing in Cherry Studio Without Writing Code

This tutorial walks you through installing Cherry Studio, configuring Baidu and Amap MCP servers with JSON settings, obtaining the required API keys, and using the built‑in AI model to perform route planning, all without writing a single line of code.

AI toolsAPI integrationCherry Studio
0 likes · 6 min read
Configure MCP Map Routing in Cherry Studio Without Writing Code