1

Part 1 — 購物車系統的高並發改造(一):Virtual Threads、HikariCP 與 Redis 快取三管齊下

深入剖析一個真實 Spring Boot 購物車系統如何從「默認設定」升級到能承受 C10K 的生產級高並發架構:JDK 21 Virtual Threads、HikariCP 連線池調校、Redis 分層快取設計,以及升級到 Spring Boot 3.2 過程中的關鍵踩坑。

·30 min engineeringarchitecture
2

Part 2 — 購物車系統的高並發改造(二):Redisson 分散式鎖、讀寫分離路由與 Docker HA 水平擴展

高並發購物車系列第二篇:深入剖析 Redisson 分散式鎖如何防止超賣與重複下單、AbstractRoutingDataSource + LazyConnectionDataSourceProxy 的讀寫分離路由設計細節(含 @Transactional 的坑),以及 Nginx + MySQL 主從複製的 Docker HA 生產架構。

·32 min engineeringarchitecture

Spring Boot 多環境配置完整指南:開發、測試、生產環境管理

深入探討 Spring Boot 多環境配置管理,包括資料庫切換、Redis 配置、以及 Docker 容器化部署的完整實作指南。

·18 min engineeringinfrastructure

Spring Boot 程式碼載入深度解析:從編譯到物件實例化完整流程

深入探討 Spring Boot 應用程式的程式碼載入機制,從 Java 原始碼編譯、類別載入、到 Spring Bean 物件實例化的完整流程分析。

engineering

AWS Load Balancers: Complete Guide - Application, Network, Gateway, and Classic Load Balancers Comparison with Implementation

Master AWS Load Balancers with comprehensive comparisons of ALB, NLB, GWLB, and CLB. Learn when to use each type, advanced features, health checks, auto-scaling integration, and production-ready configurations with real-world examples.

·65 min engineeringarchitectureinfrastructure

AWS API Gateway: Complete Guide with Load Balancer Comparison, Microservices Architecture, and Java Implementation

Master AWS API Gateway with comprehensive comparisons to load balancers, microservices integration patterns, and production-ready Java implementations. Learn when to use API Gateway vs Load Balancer, security best practices, and scaling strategies.

·60 min engineeringarchitectureinfrastructure

Webhooks: Complete Guide with Java Implementation - Event-Driven Architecture, Real-Time Integrations, and Best Practices

Master webhooks with comprehensive comparisons to HTTP calls and polling, real-world Java implementations, and practical examples using Stripe, Shopify, and GitHub APIs. Learn when to use webhooks, security best practices, and production-ready patterns.

·55 min engineeringarchitecture

Redis Sentinel: Complete High Availability Setup Guide with Java Integration and Monitoring

Master Redis Sentinel for high availability with comprehensive setup guides, mode comparisons, failover mechanisms, and production-ready Java integration. Learn monitoring, troubleshooting, and best practices for enterprise deployments.

·50 min engineeringarchitecture

Building Employee Management System with Spring Boot and Vue.js

Comprehensive guide to building a modern employee management system using Spring Boot microservices architecture and Vue.js frontend, designed for enterprise scalability and extensibility.

·20 min engineeringarchitecture

Building Real-Time Chat Room with Spring Boot WebSocket

Comprehensive guide to building a scalable, real-time chat room application using Spring Boot WebSocket, STOMP protocol, and Redis clustering for enterprise-grade messaging solutions.

·16 min engineeringarchitecture

🛍️ Building a Modern E-commerce Shopping Cart with Spring Boot & Stripe Payment Integration

A complete e-commerce shopping cart system built with Spring Boot backend and Vue.js frontend, featuring Stripe payment integration, JWT authentication, and full CRUD operations for products, categories, and cart management.

·18 min engineeringbusiness

SpringDataPlatform: Apache Flink Management System

深度介紹 SpringDataPlatform 專案:一個基於 Spring Boot + Vue.js 的企業級 Apache Flink 任務管理平台,支援多種任務提交方式、即時監控和互動式數據處理。

engineering

Building a Spotify Playlist Application with Spring Boot and Vue.js

使用 Spring Boot 後端與 Vue.js 前端,整合 Spotify API 打造智能音樂推薦系統,突破 Spotify 原生推薦限制,提供更主動的音樂探索體驗。

·15 min engineering

SAGA Pattern: Managing Distributed Transactions in Spring Boot Microservices

Complete guide to implementing SAGA pattern for distributed transactions in Java Spring Boot applications. Learn orchestration vs choreography approaches, failure handling, and best practices with real-world examples.

·30 min aiengineeringarchitecture

Data Consistency Patterns in Java Enterprise Applications

Comprehensive guide to implementing data consistency patterns in Java applications, including optimistic locking, pessimistic locking, and distributed transactions with real-world case studies and trade-off analysis.

·25 min aiengineeringarchitecture