#Spring Boot
11 posts tagged "spring boot"
Part 1 — 購物車系統的高並發改造(一):Virtual Threads、HikariCP 與 Redis 快取三管齊下
深入剖析一個真實 Spring Boot 購物車系統如何從「默認設定」升級到能承受 C10K 的生產級高並發架構:JDK 21 Virtual Threads、HikariCP 連線池調校、Redis 分層快取設計,以及升級到 Spring Boot 3.2 過程中的關鍵踩坑。
Part 2 — 購物車系統的高並發改造(二):Redisson 分散式鎖、讀寫分離路由與 Docker HA 水平擴展
高並發購物車系列第二篇:深入剖析 Redisson 分散式鎖如何防止超賣與重複下單、AbstractRoutingDataSource + LazyConnectionDataSourceProxy 的讀寫分離路由設計細節(含 @Transactional 的坑),以及 Nginx + MySQL 主從複製的 Docker HA 生產架構。
Spring Boot 多環境配置完整指南:開發、測試、生產環境管理
深入探討 Spring Boot 多環境配置管理,包括資料庫切換、Redis 配置、以及 Docker 容器化部署的完整實作指南。
Spring Boot 程式碼載入深度解析:從編譯到物件實例化完整流程
深入探討 Spring Boot 應用程式的程式碼載入機制,從 Java 原始碼編譯、類別載入、到 Spring Bean 物件實例化的完整流程分析。
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.
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.
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.
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.
SpringDataPlatform: Apache Flink Management System
深度介紹 SpringDataPlatform 專案:一個基於 Spring Boot + Vue.js 的企業級 Apache Flink 任務管理平台,支援多種任務提交方式、即時監控和互動式數據處理。
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.
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.