Pan Zhi's Tech Notes
Author

Pan Zhi's Tech Notes

Sharing frontline internet R&D technology, dedicated to premium original content.

35
Articles
0
Likes
49
Views
0
Comments
Recent Articles

Latest from Pan Zhi's Tech Notes

35 recent articles
Pan Zhi's Tech Notes
Pan Zhi's Tech Notes
Apr 27, 2025 · Cloud Native

Why Alibaba’s Open‑Source Sentinel Beats Other Service Rate‑Limiting Tools

This article introduces Sentinel, Alibaba’s open‑source traffic‑governance component, compares it with Hystrix, demonstrates quick‑start code, shows SpringBoot integration, annotation usage, console setup, and OpenFeign adaptation, illustrating how to implement service rate limiting and circuit breaking in microservices.

JavaSentinelSpring Cloud Alibaba
0 likes · 17 min read
Why Alibaba’s Open‑Source Sentinel Beats Other Service Rate‑Limiting Tools
Pan Zhi's Tech Notes
Pan Zhi's Tech Notes
Apr 21, 2025 · Cloud Native

Build a Clean Microservice Config Center with Nacos in One Step

This article walks through using Nacos as a centralized configuration center for Spring Cloud microservices, showing how to create configuration data, set up a Maven client, enable dynamic refresh with @RefreshScope, and manage multi‑environment and multi‑file configurations.

@RefreshScopeSpring BootSpring Cloud Alibaba
0 likes · 16 min read
Build a Clean Microservice Config Center with Nacos in One Step
Pan Zhi's Tech Notes
Pan Zhi's Tech Notes
Apr 16, 2025 · Cloud Native

Quick 3‑Minute Guide to the Full Spring Cloud Alibaba Suite

This article introduces Spring Cloud Alibaba, outlines its key components such as Nacos, Dubbo, Sentinel, RocketMQ and Seata, explains how to manage its versions with Maven, highlights compatibility checks, and compares the first‑ and second‑generation Spring Cloud stacks.

DubboRocketMQSeata
0 likes · 8 min read
Quick 3‑Minute Guide to the Full Spring Cloud Alibaba Suite
Pan Zhi's Tech Notes
Pan Zhi's Tech Notes
Apr 11, 2025 · Cloud Native

How to Use Spring Cloud Bus with RabbitMQ for Automatic Config Refresh

This article explains how to integrate Spring Cloud Bus with RabbitMQ (or Kafka) to automatically propagate configuration changes across multiple microservice instances, replacing manual /refresh calls with a message‑bus driven refresh workflow, and provides step‑by‑step implementation details.

Config RefreshRabbitMQSpring Cloud Bus
0 likes · 10 min read
How to Use Spring Cloud Bus with RabbitMQ for Automatic Config Refresh
Pan Zhi's Tech Notes
Pan Zhi's Tech Notes
Apr 10, 2025 · Backend Development

Hands‑On Guide: Build Your Own Code Generator (Can You Keep Up?)

This article walks through why repetitive CRUD code wastes development time, reviews existing generators like MyBatis‑Generator and MyBatis‑Plus, and then demonstrates step‑by‑step how to create a custom Java code generator using Freemarker, Maven, and SpringBoot, complete with template and demo code.

FreemarkerJavaMyBatis
0 likes · 11 min read
Hands‑On Guide: Build Your Own Code Generator (Can You Keep Up?)
Pan Zhi's Tech Notes
Pan Zhi's Tech Notes
Mar 19, 2025 · Backend Development

How Spring Cloud Config Works: Build and Use a Service Configuration Center

This article explains why a centralized configuration center is needed for many microservices, introduces Spring Cloud Config, and provides a step‑by‑step tutorial that creates a Git‑backed config server, a client application, and demonstrates dynamic refresh using Spring Boot Actuator.

Dynamic RefreshSpring BootSpring Cloud Config
0 likes · 12 min read
How Spring Cloud Config Works: Build and Use a Service Configuration Center