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.

66
Articles
0
Likes
119
Views
0
Comments
Recent Articles

Latest from Senior Tony

66 recent articles
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 toolsCherry StudioMCP
0 likes · 6 min read
Configure MCP Map Routing in Cherry Studio Without Writing Code
Senior Tony
Senior Tony
Sep 16, 2025 · Artificial Intelligence

What Is MCP? Exploring the AI‑LLM Interaction Protocol

MCP, a protocol from Anbhropic, standardizes how large language models communicate with external tools, databases, and APIs through a client‑server architecture, offering three communication modes (Stdio, HTTP with SSE, Streamable HTTP) and enabling use cases such as intelligent analytics, knowledge hubs, AI chatbots, BPM, API integration, automated testing, and programming assistance.

AI protocolLLM integrationMCP
0 likes · 9 min read
What Is MCP? Exploring the AI‑LLM Interaction Protocol
Senior Tony
Senior Tony
Sep 8, 2025 · Artificial Intelligence

Unlock Spring AI: Build Java Generative Apps with Model Switching, Memory, and Prompt Engineering

This article introduces Spring AI, explains its relationship to Spring Boot, outlines support for major AI model providers and capabilities, and provides step‑by‑step code examples for a chatbot, conversational memory, and prompt engineering, while highlighting version pitfalls and future extensions.

AI model integrationConversational MemoryJava
0 likes · 8 min read
Unlock Spring AI: Build Java Generative Apps with Model Switching, Memory, and Prompt Engineering
Senior Tony
Senior Tony
Aug 26, 2025 · Databases

CAP vs BASE: Picking the Right Consistency Model for MySQL, Redis & Elasticsearch

This article explains the CAP and BASE theorems, compares consistency, availability and partition tolerance, and analyzes how MySQL replication modes, Redis Cluster, and Elasticsearch clusters fit into CP, AP or BASE models to help you choose the appropriate consistency strategy for distributed systems.

BASE theoremCAP theoremElasticsearch
0 likes · 9 min read
CAP vs BASE: Picking the Right Consistency Model for MySQL, Redis & Elasticsearch
Senior Tony
Senior Tony
Aug 20, 2025 · Backend Development

Why Volatile Solves Memory Visibility and Reordering in Java?

This article explains how the volatile keyword guarantees visibility of shared variables and prevents instruction reordering in Java, covering the Java Memory Model, memory barriers, practical code examples, and the Happens‑Before principle for reliable multithreaded programming.

Instruction ReorderingJMMJava
0 likes · 10 min read
Why Volatile Solves Memory Visibility and Reordering in Java?
Senior Tony
Senior Tony
Aug 4, 2025 · Databases

Understanding MySQL Master‑Slave Replication: Core Principles, Modes, and Latency Mitigation

This article provides a comprehensive overview of MySQL master‑slave replication, explaining its core mechanisms, the push‑pull hybrid model, replication modes (asynchronous, full‑sync, semi‑sync), binlog formats, and practical strategies to reduce replication lag caused by large transactions, server load, and network constraints.

AsynchronousPerformanceSemi‑Sync
0 likes · 9 min read
Understanding MySQL Master‑Slave Replication: Core Principles, Modes, and Latency Mitigation
Senior Tony
Senior Tony
Jul 19, 2025 · Databases

Why Your MySQL Index Fails: 8 Common Pitfalls and How to Fix Them

This article examines eight typical situations that cause MySQL indexes to become ineffective—such as violating the leftmost‑prefix rule, leading‑wildcard LIKE patterns, OR conditions, functions, calculations, implicit type conversions, large result sets, and mismatched ORDER BY directions—providing SQL examples, execution‑plan screenshots, and practical explanations.

DatabaseIndex OptimizationSQL
0 likes · 11 min read
Why Your MySQL Index Fails: 8 Common Pitfalls and How to Fix Them
Senior Tony
Senior Tony
Jun 18, 2025 · Backend Development

Mastering High‑Concurrency Account Balance Deductions with Kafka, Sharding, and Parallel Processing

This article examines the challenges of high‑concurrency write scenarios in ad‑billing systems, explains why row‑level locking becomes a bottleneck, and presents a step‑by‑step solution using Kafka for asynchronous peak shaving, parallel consumer processing, database sharding, hotspot dispersion, and batch deduction to achieve reliable real‑time balance updates.

KafkaShardingaccount balance deduction
0 likes · 8 min read
Mastering High‑Concurrency Account Balance Deductions with Kafka, Sharding, and Parallel Processing