Gleam Lab · Blog Archive

Blog

Technical exploration and engineering notes, 655 articles in total.

Gleam Lab technical blog cover: AI Engineering, Java backend, and long-form writing
All Articles Java243Backend50Microservices10AI Engineering86LLM35Big Data271Data Engineering57Kubernetes / Cloud Native3Real-time Voice1Robotics40Personal Growth29 More Tags →
Start here

Curated Reading Paths

Start from the main tracks instead of scrolling through the full archive.

Tutorial Series 3 min read

Hive Slowly Changing Dimension Type 2: Order History State Management

Offline data warehouse needs to save order history state at low cost while supporting daily rollback and change analysis.

Project Review 3 min read

Rebuilding My Personal Site with Astro: Tech Stack Choices and Migration Notes

Documenting the complete process of migrating wzk.icu from plain HTML to Astro 6: why I chose Astro, content collection setup, Bun gotchas, and SEO infrastructure buildin...

Original Engineering Practice 4 min read

LLM Application Engineering: Key Practices from Demo to Production

Core experience moving LLM applications from prototype to production: context management, error handling, cost control, observability. No basics, just real pitfalls.

Original Engineering Practice 5 min read

Real-time Voice Interaction Pipeline Latency Optimization

When building voice interaction systems, latency is the core experience metric.

Tutorial Series 4 min read

Deploying Spring Boot on K8s: 5 Pitfalls I Encountered

Documenting real issues encountered when migrating Spring Boot microservices to Kubernetes: health checks, ConfigMap hot-reload, JVM memory, graceful shutdown...

Tutorial Series 4 min read

Spring Cloud Gateway Rate Limiting and Circuit Breaker Practice

Recording the complete process of configuring Spring Cloud Gateway rate limiting (Redis token bucket) and circuit breaker (Resilience4j) in production, including pitfalls...

Original Engineering Practice 4 min read

ESP32 Integration with Home Assistant: Building Temperature/Humidity Sensor with MQTT

Build a temperature and humidity sensor using ESP32 + DHT22, integrate with Home Assistant via MQTT, and achieve automation. Complete steps including troubleshooting guid...

Tutorial Series 5 min read RocketMQ Insights

RocketMQ Terminology and Message Model Quick Reference

RocketMQ core terminology and message model quick reference: Producer, Broker, Consumer, Consumer Group, cluster consumption, broadcast consumption, ordered messages...

Tutorial Series 3 min read RocketMQ Insights

RocketMQ Java API: Sync/Async Producer

Complete RocketMQ Java API tutorial, sync/async message producer (Producer), pull consumer (PullConsumer) and push consumer (PushConsumer) code examples.

Tutorial Series 5 min read RocketMQ Insights

RocketMQ Consumption Modes: Push vs Pull, Long Polling and Offset Management

Deep dive into RocketMQ consumption modes: Push vs Pull comparison, long polling mechanism, consumption backlog handling and Offset management optimization.

Tutorial Series 3 min read RocketMQ Insights

RocketMQ 4.5.1 on JDK9+: Startup Troubleshooting Guide

Complete solution for RocketMQ 4.5.1 startup issues on JDK9+, script modifications (GC parameters, CLASSPATH, java.ext.dirs) and environment configuration.

Tutorial Series 6 min read RocketMQ Insights

RocketMQ Core Architecture: NameServer/Broker/Producer

RocketMQ (formerly MetaQ) technical evolution history and core architecture deep dive, NameServer, Broker, Producer, Consumer roles and deployment topology.

Tutorial Series 6 min read RocketMQ Insights

RocketMQ Core Features: Ordering, Filtering, Transactions and Timed Messages

Deep dive into RocketMQ core features: ordered consumption, Broker-side filtering, transaction messages, scheduled timing messages, consumption retry.

Tutorial Series 5 min read RabbitMQ in Depth

RabbitMQ Message Reliability: Publisher Confirms, mandatory and Persistence

Deep dive into RabbitMQ message reliability, Publisher Confirms mechanism, mandatory Return routing failure callback, message persistence and consumer idempotency practic...

Tutorial Series 4 min read RabbitMQ in Depth

Spring Boot 2.4.1 Integration with RabbitMQ: DirectExchange

Complete Spring Boot integration with RabbitMQ tutorial, DirectExchange configuration, @RabbitListener message listener and Controller HTTP trigger delivery example.

Tutorial Series 2 min read RabbitMQ in Depth

Spring AMQP Integration with RabbitMQ: XML Configuration

Complete Spring AMQP integration with RabbitMQ tutorial, XML configuration to declare queues/exchanges/bindings, RabbitTemplate message sending/receiving and common troub...

Tutorial Series 5 min read RabbitMQ in Depth

Spring AMQP RabbitMQ JavaConfig Annotation Configuration

Spring AMQP JavaConfig annotation configuration to integrate RabbitMQ, ConnectionFactory, RabbitTemplate, Queue Bean configuration and message sending/receiving examples.

Tutorial Series 4 min read RabbitMQ in Depth

RabbitMQ Topic Exchange: Wildcard Matching

Deep dive into RabbitMQ Topic exchange, * and # wildcard rules, RoutingKey format specifications and Java producer/consumer code examples.

Tutorial Series 4 min read RabbitMQ in Depth

RabbitMQ Fanout Pub/Sub Java: Push/Pull Mode, ACK and Binding

RabbitMQ fanout broadcast mode Java tutorial, deep dive into Push vs Pull implementation, applicable scenarios and ACK confirmation mechanism.

Tutorial Series 7 min read RabbitMQ in Depth

RabbitMQ Direct Exchange Routing: RoutingKey Exact Match

RabbitMQ Direct exchange routing mode details, RoutingKey exact match rules, queue multi-binding for log-level consumption and Java code examples.