Backend Development

Showing 100 articles max
Cloud Architecture
Cloud Architecture
Jul 14, 2026 · Backend Development

Building a Billion‑Message, Millisecond‑Scale Private Messaging System with Spring Boot, RabbitMQ & Redis

This article presents a production‑grade design for a social private‑messaging system that handles billions of messages with millisecond latency, detailing how MySQL serves as the message fact store, RabbitMQ provides low‑latency distribution, Redis manages online state and indexes, and Outbox plus idempotent consumption ensure reliability and ordering.

idempotencyoutboxprivate-messaging
0 likes · 35 min read
Building a Billion‑Message, Millisecond‑Scale Private Messaging System with Spring Boot, RabbitMQ & Redis
Ray's Galactic Tech
Ray's Galactic Tech
Jul 14, 2026 · Backend Development

How We Built a RAG‑Powered Knowledge Base That Actually Understands Source Code

The article explains why traditional FAQs fail for complex production issues, then details the design of a retrieval‑augmented generation knowledge engine that ingests source code, configuration, design docs, and incident reports, offering version‑consistent, permission‑aware answers with evidence‑backed citations.

Access ControlKnowledge EngineKubernetes Deployment
0 likes · 27 min read
How We Built a RAG‑Powered Knowledge Base That Actually Understands Source Code
IT Learning Made Simple
IT Learning Made Simple
Jul 14, 2026 · Backend Development

Architecture Lessons Learned from Real‑World Failures

The article shares four real‑world failure cases—over‑splitting into microservices, skipping performance testing, accumulating technical debt, and relying on a single‑point database—to illustrate why careful architectural decisions, thorough testing, debt repayment, and high‑availability design are essential for sustainable software systems.

Microserviceshigh availabilityperformance testing
0 likes · 9 min read
Architecture Lessons Learned from Real‑World Failures
Yumin Fish Harvest
Yumin Fish Harvest
Jul 14, 2026 · Backend Development

Mastering CQRS: When to Separate Read and Write in DDD

This article explains how CQRS splits write operations that enforce business rules using domain models from read operations optimized for page performance, illustrates common pitfalls of mixing the two, and provides concrete Java code, SQL examples, migration steps, validation checklists, and best‑practice guidelines for implementing lightweight CQRS in a DDD‑based backend.

Backend ArchitectureCQRSCommand Query Separation
0 likes · 26 min read
Mastering CQRS: When to Separate Read and Write in DDD
IT Services Circle
IT Services Circle
Jul 14, 2026 · Backend Development

Designing a Restaurant Reservation System: How to Slice Time Granularity?

The article compares interview‑style answers and real‑world production for a restaurant reservation system, outlining six design dimensions, three time‑slot strategies, five engineering challenges, and architectural considerations to help engineers choose the right granularity and avoid common pitfalls.

Distributed Systemsbackend designconcurrency control
0 likes · 15 min read
Designing a Restaurant Reservation System: How to Slice Time Granularity?
Java Tech Enthusiast
Java Tech Enthusiast
Jul 14, 2026 · Backend Development

Why Are More Developers Turning to FastAPI?

FastAPI, a modern Python web framework, offers high‑performance APIs, automatic documentation, type‑safe validation and native async support, making it a compelling alternative to Spring Boot and Flask for AI model serving, microservices, and rapid prototyping, as demonstrated by benchmarks, code examples, and real‑world comparisons.

APIASGIFastAPI
0 likes · 25 min read
Why Are More Developers Turning to FastAPI?
AI Engineer Programming
AI Engineer Programming
Jul 14, 2026 · Backend Development

How vLLM Generates Tokens: A Deep Dive into the Source Code

This article walks through vLLM’s token‑generation pipeline by dissecting its source files, process roles, ZMQ communication, scheduling, and deployment considerations, revealing how prompts become streamed token IDs and highlighting the key factors that limit concurrency and performance.

Backend ArchitectureGPU memoryLLM inference
0 likes · 17 min read
How vLLM Generates Tokens: A Deep Dive into the Source Code
Java Backend Technology
Java Backend Technology
Jul 14, 2026 · Backend Development

Why FastAPI Is Gaining Massive Popularity Among Developers

FastAPI, a modern Python web framework built on ASGI, offers high performance, automatic documentation, type‑safe request validation, and native async support, making it an attractive choice for Java developers seeking to build fast APIs, microservices, or AI model deployment services.

APIASGIBackend Development
0 likes · 22 min read
Why FastAPI Is Gaining Massive Popularity Among Developers
java1234
java1234
Jul 14, 2026 · Backend Development

Quarkus: Java Framework Up to 5× Faster Than Spring Boot, Uses Half the Memory

Quarkus, Red Hat's cloud‑native Java framework, achieves dramatically faster startup (0.3‑1 s vs 2‑5 s) and roughly half the memory usage (150‑200 MB vs 300‑500 MB) by moving many optimizations to compile time, and offers a Spring‑like developer experience with extensions, reactive support, and hot‑reload tooling.

Dev ModeJavaMicroservices
0 likes · 9 min read
Quarkus: Java Framework Up to 5× Faster Than Spring Boot, Uses Half the Memory
Java Tech Workshop
Java Tech Workshop
Jul 14, 2026 · Backend Development

Build a Smart Vending Cabinet with Spring Boot and WeChat Pay: Scan‑to‑Open and Auto‑Deduction

This article details a complete Spring Boot implementation of a smart vending cabinet that uses WeChat QR‑code scanning to open doors, reports purchased items, and automatically deducts payment via WeChat's no‑password delegated‑deduction API, covering configuration, database design, code examples, and error‑handling strategies.

Auto DeductionBackend IntegrationDatabase Design
0 likes · 22 min read
Build a Smart Vending Cabinet with Spring Boot and WeChat Pay: Scan‑to‑Open and Auto‑Deduction
Cloud Architecture
Cloud Architecture
Jul 13, 2026 · Backend Development

Production-Grade Payment System Guide: Java Implementation for Alipay & WeChat All-Channel Integration

This article explains why a payment system is more than a simple SDK integration, presents a four‑layer architecture (access, state, event, governance), details state machines, idempotent callbacks, outbox pattern, reconciliation, high‑concurrency handling, observability, security, and provides Java code examples for integrating Alipay and WeChat across all channels.

AlipayHigh ConcurrencyJava
0 likes · 29 min read
Production-Grade Payment System Guide: Java Implementation for Alipay & WeChat All-Channel Integration
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jul 13, 2026 · Backend Development

Beyond Caching: 10 Advanced Redis Use Cases You’re Probably Missing

This article walks through ten advanced Redis features—including Bloom filters, Redisson distributed locks, delayed queues, token‑bucket rate limiting, bitmaps, HyperLogLog, GEO, Streams, Lua scripts, and RedisJSON—explaining their principles, pros and cons, typical scenarios, and providing complete Spring Boot code examples.

BitmapBloom FilterDistributed Lock
0 likes · 23 min read
Beyond Caching: 10 Advanced Redis Use Cases You’re Probably Missing
Java Tech Workshop
Java Tech Workshop
Jul 13, 2026 · Backend Development

Why Switch from WebSocket to MQTT for Real‑Time Messaging?

The article analyzes the limitations of native WebSocket for large‑scale, low‑bandwidth, and unreliable‑network scenarios and demonstrates how MQTT, especially with EMQX, provides built‑in message routing, QoS levels, offline storage, and effortless clustering, reducing development and operational overhead.

EMQXIoTReal-time messaging
0 likes · 16 min read
Why Switch from WebSocket to MQTT for Real‑Time Messaging?
SpringMeng
SpringMeng
Jul 13, 2026 · Backend Development

Add AI to a Spring Boot Project in a Few Lines with Spring AI 2.0

This guide walks through integrating Spring AI 2.0 into a Spring Boot application, covering Maven dependency setup, model configuration, ChatClient usage for synchronous and streaming calls, Redis‑backed chat memory for multi‑turn conversations, and testing with Postman and a UI component.

AIChatbotJava
0 likes · 14 min read
Add AI to a Spring Boot Project in a Few Lines with Spring AI 2.0
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jul 13, 2026 · Backend Development

5 Elegant Spring Boot Gray Release Techniques You Can Implement Immediately

This article walks through five practical ways to implement gray (canary) releases in Spring Boot 3.5.0, covering gateway‑based weight and header routing, programmatic route configuration, a custom reactive load‑balancer, and application‑layer annotations with custom HandlerMapping, each illustrated with concrete code samples.

AnnotationCustom Load BalancerGray Release
0 likes · 12 min read
5 Elegant Spring Boot Gray Release Techniques You Can Implement Immediately
LuTiao Programming
LuTiao Programming
Jul 12, 2026 · Backend Development

Stop Using GPT Just to Write Code—Turn Your Spring Boot Service into an AI‑Callable Tool

Java developers should move beyond using GPT for code generation and instead expose existing Spring Boot services as secure, auditable AI tools, covering permission checks, data desensitization, tool descriptions, system prompts, and comprehensive logging to safely integrate GPT into business workflows.

AI Tool CallingAudit LoggingGPT
0 likes · 17 min read
Stop Using GPT Just to Write Code—Turn Your Spring Boot Service into an AI‑Callable Tool
Coder Trainee
Coder Trainee
Jul 12, 2026 · Backend Development

10 Must‑Know Java Concurrency Interview Questions

This article walks through ten essential Java concurrency interview topics—including the Java Memory Model, volatile semantics, synchronized lock upgrades, CAS pitfalls, AQS internals, ReentrantLock versus synchronized, ThreadPoolExecutor parameters, ThreadLocal memory‑leak issues, CountDownLatch vs CyclicBarrier, and deadlock conditions—providing code snippets, tables and detailed explanations to help candidates answer interview questions confidently.

ConcurrencyJavaThreadPool
0 likes · 12 min read
10 Must‑Know Java Concurrency Interview Questions
21CTO
21CTO
Jul 12, 2026 · Backend Development

How a JPQL JOIN FETCH Query Turned 11,000 Records into 50 Million Rows in Hibernate

A batch‑import of 15,000 templates caused a JPQL query with two JOIN FETCH collections to explode into 50 million rows, triggering out‑of‑memory crashes; the article explains why this happens, how the issue was diagnosed, and three concrete fixes that cut rows by nine‑fold and speed up processing fifteen‑fold.

BatchSizeHibernateJOIN FETCH
0 likes · 10 min read
How a JPQL JOIN FETCH Query Turned 11,000 Records into 50 Million Rows in Hibernate