Sanyou's Java Diary
Author

Sanyou's Java Diary

Passionate about technology, though not great at solving problems; eager to share, never tire of learning!

207
Articles
0
Likes
506
Views
0
Comments
Recent Articles

Latest from Sanyou's Java Diary

100 recent articles max
Sanyou's Java Diary
Sanyou's Java Diary
Sep 21, 2023 · Big Data

Understanding Kafka: Core Concepts, Architecture, and Reliability Explained

This article provides a comprehensive overview of Kafka, covering its overall architecture, key components such as brokers, producers, consumers, topics, partitions, replicas, and ZooKeeper, as well as logical and physical storage mechanisms, producer and consumer workflows, configuration parameters, partition assignment strategies, rebalancing, and the replication model that ensures data reliability.

Data StreamingKafkaMessage Queues
0 likes · 18 min read
Understanding Kafka: Core Concepts, Architecture, and Reliability Explained
Sanyou's Java Diary
Sanyou's Java Diary
Sep 18, 2023 · Fundamentals

How to Write Effective Technical Articles: Proven Steps and Tips

This guide walks you through the entire process of crafting technical articles—from selecting topics and gathering resources, to structuring drafts, polishing language, using visuals, and final polishing—offering practical tips that help writers produce clear, engaging, and well‑organized content.

article writingcontent creationdocumentation
0 likes · 10 min read
How to Write Effective Technical Articles: Proven Steps and Tips
Sanyou's Java Diary
Sanyou's Java Diary
Sep 11, 2023 · Backend Development

Unveiling Spring’s 12 Core Startup Steps: A Deep Dive

This article walks through the twelve essential steps Spring performs during application startup, explaining each method—from prepareRefresh to finishRefresh—including bean factory preparation, post‑processor registration, and the final context refresh, all illustrated with diagrams and code snippets.

ApplicationContextSpringbeanfactory
0 likes · 16 min read
Unveiling Spring’s 12 Core Startup Steps: A Deep Dive
Sanyou's Java Diary
Sanyou's Java Diary
Sep 7, 2023 · Operations

How to Keep Kafka Stable: Proven Practices for Prevention, Monitoring, and Recovery

This comprehensive guide explains how to ensure Kafka stability by applying proactive prevention, continuous runtime monitoring, and effective fault‑resolution strategies, covering producer and consumer tuning, cluster configuration, performance optimization, alerting, and idempotent consumption to prevent message loss and service disruption.

KafkaPerformance Tuningfault-recovery
0 likes · 30 min read
How to Keep Kafka Stable: Proven Practices for Prevention, Monitoring, and Recovery
Sanyou's Java Diary
Sanyou's Java Diary
Sep 4, 2023 · Backend Development

Inside Nacos Dynamic Service Discovery: Architecture, Protocols, and Code

This article explains the fundamentals of Nacos dynamic service discovery, covering its purpose, communication protocols, registration, heartbeat, subscription, push mechanisms, and client querying, and includes detailed code examples and diagrams to illustrate the internal processes and performance improvements.

Dynamic RegistrationNacosgRPC
0 likes · 17 min read
Inside Nacos Dynamic Service Discovery: Architecture, Protocols, and Code
Sanyou's Java Diary
Sanyou's Java Diary
Aug 31, 2023 · Backend Development

How a Monolith Redesign Boosted Content Ingestion Performance 13‑Fold

The article details how QQ Browser's content architecture was transformed from a fragmented micro‑service system into a single monolithic service with a plugin framework, dramatically improving processing speed, fault tolerance, and development efficiency while handling thousands of content types.

C++backendmicroservices
0 likes · 20 min read
How a Monolith Redesign Boosted Content Ingestion Performance 13‑Fold
Sanyou's Java Diary
Sanyou's Java Diary
Aug 28, 2023 · Fundamentals

16 Proven Tips to Ace Your Tech Interview and Land the Offer

This article shares sixteen practical suggestions—from polishing your résumé and highlighting strengths to mastering technical descriptions, leveraging referrals, preparing for each interview round, handling HR talks, negotiating salary, and post‑interview reflection—to help job seekers improve their interview performance and secure a desirable offer.

Tech Interviewcareer adviceinterview
0 likes · 14 min read
16 Proven Tips to Ace Your Tech Interview and Land the Offer
Sanyou's Java Diary
Sanyou's Java Diary
Aug 21, 2023 · Databases

Master MySQL Optimization: Indexing, Locking, Pagination & Profiling Tips

This article presents practical MySQL optimization techniques—including proper index creation, avoiding index invalidation, choosing appropriate lock granularity, efficient pagination strategies, steering clear of SELECT *, and using EXPLAIN and SHOW PROFILE—to help developers write faster, more reliable SQL queries.

Database LocksIndexingMySQL
0 likes · 10 min read
Master MySQL Optimization: Indexing, Locking, Pagination & Profiling Tips
Sanyou's Java Diary
Sanyou's Java Diary
Aug 17, 2023 · Backend Development

How RocketMQ Achieves High Availability with Master‑Slave Replication

This article explains RocketMQ's master‑slave replication mechanism, comparing synchronous and asynchronous modes, detailing metadata and message data copying processes, and showing how synchronous guarantees are implemented using CompletableFuture to ensure high availability.

Asynchronous ReplicationBackend MessagingRocketMQ
0 likes · 9 min read
How RocketMQ Achieves High Availability with Master‑Slave Replication
Sanyou's Java Diary
Sanyou's Java Diary
Aug 14, 2023 · Backend Development

Mastering Feign Timeout Configuration: From Builder to Ribbon and Hystrix

This article explains how to configure Feign's timeout settings in various scenarios—including standalone usage, Spring Cloud integration, Ribbon, and Hystrix—detailing builder options, method‑level parameters, bean declarations, and configuration‑file approaches while highlighting priority rules and potential pitfalls.

HystrixRibbonSpring Cloud
0 likes · 15 min read
Mastering Feign Timeout Configuration: From Builder to Ribbon and Hystrix