1

Part 1 — Mem0 Intro Part 1 — 全景架構 — 為什麼 Agent 需要一個記憶層而不是更長的上下文

Mem0 原始碼導讀系列第一篇:用一張全景圖說清楚這個 6.5 萬星的 AI Agent 記憶層由哪些子系統組成、寫入與讀取兩條路徑各自經過哪些階段、記憶的作用域模型怎麼設計,以及為什麼「把歷史全部塞進 context」在生產環境會失效。

·17 min aiengineeringarchitecture
3

Part 3 — vLLM Intro Part 3 — 連續批次與排程器 — 決定誰在這一輪前進一格

vLLM 原始碼導讀系列第三篇:拆解連續批次的實作、V1 統一 token 預算排程器如何取代 V0 的雙軌制、Chunked Prefill 在 TTFT 與 ITL 之間的取捨、搶佔與重算機制、投機解碼的接受率數學,以及一份可直接套用的調參手冊。

·17 min aiengineeringarchitecture
5

Part 5 — RAGFlow Intro Part 5 — 系統與程式碼結構 — 服務分層、Task Executor 與 Go 遷移

RAGFlow 原始碼導讀系列最終篇:拆解進程拓撲與水平擴充參數、四層服務分層、Redis Stream 任務系統的 13 種任務型別、Agent Canvas 與 ingestion Pipeline 兩套 DAG 引擎,以及正在進行中的 Python → Go 遷移。

·21 min aiengineeringarchitecture
2

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

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

·18 min engineeringarchitecture
1

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

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

·17 min engineeringarchitecture

Building a Sentiment-Driven US Stock Trading System with X.com Real-Time Analysis

Learn how to architect a production-ready sentiment-driven stock trading platform that streams X.com posts in real-time, analyzes market sentiment using AWS Bedrock and HuggingFace, and automatically executes trades on US stocks based on social media signals.

·27 min engineeringarchitecture

Building an Intelligent Bitcoin Trading System with AWS CDK and ML Models

Learn how to architect and deploy an intelligent cryptocurrency trading system on AWS using CDK, with historical price analysis, ML-powered predictions from AWS Bedrock and HuggingFace, and event-driven trade execution.

·18 min engineeringarchitecture

Building Centralized Grafana + Prometheus Monitoring with AWS CDK: Multi-Service Observability Platform

Comprehensive guide to architecting a production-ready centralized Prometheus + Grafana monitoring platform using AWS CDK that aggregates metrics from multiple services, clusters, and infrastructure components with federation, remote storage, and advanced alerting.

·23 min engineeringarchitecture

Building AI Music Generation Platform: AWS CDK Architecture with SageMaker and Bedrock Comparison

Complete guide to architecting a production-ready AI music generation platform on AWS using CDK, comparing SageMaker and Bedrock approaches with detailed pros, cons, and implementation strategies for generating music from text prompts.

·21 min engineeringarchitecture

Deploying Apache Superset at Scale: Production-Ready BI Platform with AWS CDK and ECS Fargate

Comprehensive guide to architecting a highly available, production-grade Apache Superset deployment using ECS Fargate, RDS PostgreSQL, and AWS CDK for enterprise business intelligence at scale.

·26 min engineeringarchitectureinfrastructure

Building a Centralized User Access Control System with AWS Cognito and CDK

Design and implement a production-ready centralized authentication and authorization system using AWS Cognito and CDK (TypeScript). Learn multi-tenant strategies, user pool management, RBAC/ABAC patterns, and how to integrate with multiple services and applications.

·32 min engineeringarchitectureinfrastructure
6

Part 6 — Kubernetes Autoscaling Complete Guide (Part 6): Advanced Autoscaling Patterns

Part 6 of the Kubernetes Autoscaling series: Advanced autoscaling patterns for stateful applications, multi-cluster deployments, cost optimization strategies, batch job scaling, and emerging technologies. Real-world architectures and production-grade implementations.

·33 min engineeringarchitectureinfrastructure

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.

·28 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.

·30 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.

·32 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.

·29 min engineeringarchitecture

MySQL Sharding Strategies: A Comprehensive Guide to Horizontal Scaling, Partitioning Methods, and Implementation Patterns

Master MySQL sharding strategies with detailed comparisons of horizontal partitioning, range-based sharding, hash-based sharding, and directory-based approaches. Learn implementation patterns, pros/cons, and real-world use cases for scaling databases.

·25 min engineeringarchitecture

Essential Design Patterns in Java: A Comprehensive Guide to Creational, Structural, and Behavioral Patterns

Master essential design patterns in Java with practical implementations. Learn Singleton, Factory, Builder, Observer, Strategy, Decorator, and more patterns with real-world examples, best practices, and performance considerations.

·28 min engineeringarchitecture

Building Production Kubernetes Platform on AWS EKS

Deep dive into architecting a comprehensive Kubernetes platform on AWS EKS with integrated data processing, monitoring, and observability using infrastructure as code.

·22 min engineeringarchitectureinfrastructure

Building Scalable WordPress on AWS ECS Fargate

Comprehensive guide to deploying production-ready WordPress on AWS ECS Fargate, exploring containerization strategies, infrastructure decisions, and scalability patterns for high-traffic content management systems.

·26 min engineeringarchitectureinfrastructure

Building Serverless URL Shortener with AWS CDK

Deep dive into designing and building a production-ready URL shortener using AWS serverless services, exploring architectural tradeoffs, and implementing with AWS CDK.

·18 min engineeringarchitectureinfrastructure

Microservices Architecture Patterns: Lessons from Scale

Deep dive into proven microservices architecture patterns that help organizations scale their systems effectively while maintaining reliability and developer productivity.

·12 min engineeringarchitecture

Building Resilient Systems: Handling Failure at Scale

How we built systems that gracefully handle failures and maintain service availability even when components fail.

·10 min engineeringarchitecture
3

Part 3 — Java Concurrency Part 3: Design Patterns with Thread Interfaces - Producer-Consumer, Observer, and Enterprise Patterns

Master concurrent design patterns using Java thread interfaces: Producer-Consumer, Observer, Command, Strategy, and Enterprise patterns. Learn practical implementations with Runnable and Callable, including pros/cons and real-world use cases.

·29 min engineeringarchitecture
2

Part 2 — Java Concurrency Deep Dive Part 2: Mastering Runnable, Callable Patterns and Internal Mechanisms

Deep dive into Java concurrency fundamentals: Runnable and Callable internals, thread synchronization mechanisms, memory models, and advanced patterns. Master the building blocks of Java concurrent programming.

·25 min aiengineeringarchitecture