Architecture Digest
Author

Architecture Digest

Focusing on Java backend development, covering application architecture from top-tier internet companies (high availability, high performance, high stability), big data, machine learning, Java architecture, and other popular fields.

2.4k
Articles
0
Likes
13.6k
Views
0
Comments
Recent Articles

Latest from Architecture Digest

100 recent articles max
Architecture Digest
Architecture Digest
Aug 20, 2026 · Artificial Intelligence

7 Tough RAG Interview Questions ByteDance Asked – Why Most Candidates Fail the First Three

The article breaks down the seven RAG interview questions ByteDance uses, detailing data source classification, multi‑layer cleaning pipelines, PDF parsing strategies, knowledge extraction, incremental updates, conflict resolution, and version control, and explains what interviewers are really looking for.

Conflict ResolutionData EngineeringIncremental Update
0 likes · 26 min read
7 Tough RAG Interview Questions ByteDance Asked – Why Most Candidates Fail the First Three
Architecture Digest
Architecture Digest
Aug 19, 2026 · Big Data

How to Deduplicate 4 Billion QQ IDs with Only 1 GB Memory

The article explains how to solve the classic massive‑data deduplication problem of 4 billion QQ numbers within a 1 GB memory limit by analyzing memory requirements, comparing BitMap and Bloom filter approaches, and detailing a step‑by‑step BitMap implementation with its pros and cons.

AlgorithmBitmapInterview
0 likes · 5 min read
How to Deduplicate 4 Billion QQ IDs with Only 1 GB Memory
Architecture Digest
Architecture Digest
Aug 18, 2026 · Backend Development

How to Design a ThreadPool to Send 10 Million SMS in One Hour – Interview Insights

Sending 10 million marketing SMS within an hour forces careful thread‑pool design: avoid unbounded queues that cause OOM, choose a bounded ThreadPoolExecutor, dynamically tune core/max sizes, use CallerRunsPolicy for natural back‑pressure, and add persistence and compensation mechanisms to guarantee reliability.

Java ConcurrencyOOM preventionThreadPoolExecutor
0 likes · 8 min read
How to Design a ThreadPool to Send 10 Million SMS in One Hour – Interview Insights
Architecture Digest
Architecture Digest
Aug 17, 2026 · Backend Development

From a Naïve Scheduled Task to Scalable Delayed‑Task Solutions for 10M+ Orders

The article dissects a common interview question about automatically canceling unpaid orders, explains why a simple cron job fails at massive scale, and presents three robust designs—Redis expiration, Redis ZSet polling, and MQ/time‑wheel approaches—plus pitfalls and a ready‑to‑use answer template.

Delayed TaskInterview PreparationMessage Queue
0 likes · 11 min read
From a Naïve Scheduled Task to Scalable Delayed‑Task Solutions for 10M+ Orders
Architecture Digest
Architecture Digest
Aug 12, 2026 · Artificial Intelligence

Practical Multi‑Model Routing with Embabel: Mixing DeepSeek and Claude

The article explains why a single LLM cannot satisfy all stages of an AI pipeline, introduces Embabel's declarative routing that separates concerns across four layers, shows how a four‑dimensional decision matrix assigns cheap or best models to each step, and presents benchmark results demonstrating up to 70% cost reduction while retaining 95% of the quality of an all‑Claude solution.

ClaudeDeepSeekEmbabel
0 likes · 16 min read
Practical Multi‑Model Routing with Embabel: Mixing DeepSeek and Claude
Architecture Digest
Architecture Digest
Aug 11, 2026 · Backend Development

Run Your First Embabel Java Agent in 30 Minutes: A Hands‑On Guide

This article walks you through setting up the environment, creating a Spring Boot project, defining strong‑typed domain models, implementing @Action methods, declaring goals, and running an interactive shell so you can build and execute a fully functional Embabel Java Agent that automatically generates a research brief.

AIEmbabelJava
0 likes · 9 min read
Run Your First Embabel Java Agent in 30 Minutes: A Hands‑On Guide
Architecture Digest
Architecture Digest
Aug 9, 2026 · Backend Development

Setting Up Trae IDE for Spring AI: A Quick‑Start Guide

This article walks Java developers through installing Trae IDE, configuring the required JDK, Maven and Spring AI dependencies, creating a Spring Boot project, adding AI model settings, implementing a chat controller with synchronous and streaming endpoints, and troubleshooting common issues.

AIAPI keyBuilder mode
0 likes · 12 min read
Setting Up Trae IDE for Spring AI: A Quick‑Start Guide
Architecture Digest
Architecture Digest
Aug 7, 2026 · Artificial Intelligence

What Do Large AI Models Actually Learn During Pre‑training?

The article explains that large‑model pre‑training is fundamentally a next‑word prediction task that forces the model to compress massive text corpora, discover statistical regularities, build semantic representations, and, at sufficient scale, exhibit emergent abilities, with practical implications for model selection and AI system design.

AI alignmentPretrainingRAG
0 likes · 12 min read
What Do Large AI Models Actually Learn During Pre‑training?