Skip to content

Stay curious. Build better.

Appearance

Choose how BestHub looks on this device.

Changes apply immediately.

Search articles

Open Discover with these filters

Suggested searches

Explore BestHub

#Backend Development

RSS feed
Follow or choose interest 7-day signal and related keywords

Latest articles

500 articles in the current browsing window, ordered by publication date.

Master Maven: From Plugin Setup to Full Web Project Build

This guide walks through Maven’s core workflow for Java backend development, covering plugin configuration, automatic project setup in IntelliJ IDEA, detailed pom.xml settings—including properties, dependencies, plugins—and code examples for Servlets and JSPs, plus dependency scope handling to avoid runtime conflicts.

How Ant Group Supercharged AI Data Pipelines with Ray: Boosting Index Build Speed and Reliability

This article details Ant Group's use of the Ray distributed computing framework to accelerate massive data indexing, migrate a C++ engine to Ray, implement elastic resource scheduling, improve long‑tail task efficiency, and build a robust RAG operator system with comprehensive governance, achieving up to 2× speed gains and 99.9% success rates.

Explore Free FS: A Modern Spring Boot File Management System with Full Stack Demo

Free FS is an enterprise‑grade, Spring Boot‑based file management system that offers high‑performance storage, plug‑in architecture, and real‑time progress, with detailed backend and frontend installation guides, multi‑format preview, sharing, and support for various storage backends, all available via its public Git repository.

8 Common Java Collection Mistakes That Kill Performance (and How to Fix Them)

This article reveals eight frequent Java collection pitfalls—such as costly ArrayList insertions, inefficient LinkedList access, repeated contains checks, missing initial capacities, unordered HashMaps, modifying collections during streams, misuse of parallelStream, and in‑memory caches—explaining why they degrade performance and providing concrete, code‑driven alternatives.

Should Financial Infrastructure Drop Rust for Go? How Pragmatism Wins

The article analyzes a Reddit discussion comparing Go and Rust for high‑performance, low‑latency financial systems, weighing Rust’s safety and performance against Go’s development speed and ecosystem, and concludes that pragmatic Go adoption is the optimal choice for most backend workloads.

Advanced Go Learning Roadmap for 2025

This article presents a systematic, concise Go learning roadmap covering beginner, intermediate, and advanced stages—detailing fundamentals, tooling, design philosophy, and specialized domains such as embedded systems, GUI, game engines, AI, cloud‑native, blockchain, and more—to help developers boost their skills and career prospects.

Mastering Message Queues: From Flash‑Sale Basics to RabbitMQ Production

This guide walks through why a high‑traffic flash‑sale system needs a message queue, explains the three core benefits of async processing, decoupling and traffic‑shaping, and then details RabbitMQ installation, common work patterns, durability, idempotency, ordering, dead‑letter handling, high‑availability clustering and advanced features such as delayed and priority queues.

When to Use SSE vs WebSocket vs Polling: A Practical Node.js Guide

This article explains the three common server‑to‑client push techniques—polling, WebSocket and Server‑Sent Events (SSE)—detailing their principles, advantages, drawbacks, browser compatibility, key APIs, and provides a complete Node.js/Express demo with front‑end code to help developers choose the right solution for real‑time data scenarios.

How GLM-5 Turns LLMs into System‑Architect Agents: A Deep Technical Review

An in‑depth analysis shows how GLM‑5 surpasses traditional code‑generation LLMs by autonomously designing, implementing, and debugging complex multi‑agent systems, from a fireworks HTML demo to a 35,000‑line TrustGraph refactor, highlighting its architecture, tool integration, and cost‑effective advantages.

Master Easy Work: Build and Control Java Workflows with Code, Breakpoints, and JSON

This article introduces Easy Work, a Java workflow engine, explaining its core concepts, showing how to define work units, compose complex sequential, parallel, and conditional flows, use breakpoints to pause execution, and construct workflows via JSON with complete code examples and repository links.

Master AsyncTask Orchestration in Spring Boot with asyncTool

This guide explains how to integrate the asyncTool library into a Spring Boot project, configure custom thread pools, understand core interfaces like IWorker and ICallback, and use the provided Builder API to define serial, parallel, and mixed task flows with detailed code examples and best‑practice cautions.

What Does the Future Hold for Go in the Next 5‑10 Years?

The article examines Go’s high‑performance, concurrency‑rich, cloud‑native strengths and its weaker AI, data‑analysis and front‑end ecosystems, cites engineers’ mixed opinions on its adoption in large tech firms and traditional sectors, and concludes that while Go’s future remains solid, developers must keep learning to stay relevant.

How Low‑Code Platforms Supercharge Operational Backend Development Efficiency

This article examines how low‑code platforms can dramatically improve the development speed, cost efficiency, and maintainability of operational back‑ends by offering visual page building, reusable components, one‑click publishing, and native code export, ultimately supporting rapid digital transformation.

Mastering Java Code Comments: The Ultimate Guide to High‑Quality, Readable, Architecture‑Level Documentation

The article explains why high‑quality Javadoc is essential for enterprise‑level Java backend projects, walks through the most common Javadoc tags and HTML elements, provides concrete code examples—including @param, @return, @throws, @see, @deprecated—and shows how thorough comments improve readability, maintainability, and serve as a catalyst for refactoring.

Why Microservices May Be Overkill: Embrace Modular Monoliths for Simpler, Faster Deployments

The article examines how the rise of microservices introduced hidden complexity, cost, and operational overhead, and argues that many teams are shifting back to modular monoliths, which offer clearer boundaries, faster deployments, and lower coordination burdens while still supporting future scalability.

Mastering Gray Releases and A/B Testing: Strategies, Code, and Analytics

This article provides a comprehensive guide to gray releases and A/B testing, covering common scenarios, implementation methods, layered experiment design, hash-based bucket allocation, data collection workflows, statistical analysis, and practical Java and SQL code examples for reliable feature validation.

8 Hidden Hibernate Annotations That Supercharge Spring Boot 3

This guide explores eight lesser‑known Hibernate annotations—such as @EntityGraph, @Formula, @SQLRestriction, @SQLDelete, @JoinFormula, @Cache, @DynamicUpdate/Insert, and @Filter/FilterDef—demonstrating how they improve performance, simplify queries, and enhance data handling in Spring Boot 3 applications for developers.

Mastering gRPC with Python: From Basics to Real‑World Microservices

This guide explains the fundamentals of gRPC, why it uses HTTP/2 and Protocol Buffers, walks through writing and compiling .proto files, provides complete Python server and client examples, and outlines common microservice and Kubernetes use cases, giving developers a practical end‑to‑end workflow.

10 Hidden Spring Boot 3 Settings to Supercharge Your Application Performance

This article reveals ten hidden Spring Boot 3 configuration tricks—from disabling the whitelabel error page and shrinking Tomcat threads to enabling HTTP/2, tuning HikariCP, caching static assets, and leveraging Actuator metrics—each illustrated with code snippets and practical steps to boost application performance.

Which Java Backend Framework Reigns Supreme? A Comparative Guide

This article evaluates major Java backend frameworks—Spring Boot, Quarkus, Micronaut, Vert.x, Helidon, Javalin, Dropwizard, Play Framework, Grails, Apache Wicket, Struts 2, JSF, and native Servlet+JSP—across performance, ecosystem maturity, learning curve, development efficiency, enterprise adoption, and innovation, then ranks them into five tiers from top to legacy.

How to Ensure Single-Node Execution of Spring Boot @Scheduled Tasks in Distributed Environments

This guide explains why @Scheduled jobs run on every Spring Boot instance in a cluster, and presents three practical solutions—Spring Integration's Redis lock, Redisson, and ShedLock—complete with Maven dependencies, configuration snippets, code examples, and runtime screenshots to guarantee that only one node executes the scheduled task at a time.

How Go Powers a Smart Factory: Config, Tracing, and Event‑Driven Architecture

This article explains how a Go‑based smart factory evolves from a prototype to a production‑grade system by externalizing configuration with Viper, injecting Trace IDs for end‑to‑end observability, and adopting an event‑driven architecture to achieve flexible, maintainable, and scalable industrial automation.

Why Spring Boot 4.0.1’s Virtual Thread Bug Could Kill Your Performance—and How to Fix It

Spring Boot 4.0.1 introduced a critical virtual‑thread configuration bug that disables Jetty’s virtual threads, causing massive CPU waste and slow responses; the article explains the bug’s cause, the official fix in v4.0.1, and provides upgrade steps, workarounds, and monitoring tips.

How Much Heap Does a Single SpringBoot HTTP Request Consume? A Full GC‑Based Experiment

This article presents a step‑by‑step experiment that uses JMeter to generate 20,000 HTTP calls against a SpringBoot 2.5.4 service, captures detailed GC logs, calculates the heap memory allocated per request, analyses the impact of request payload and logging, and offers practical tuning recommendations.

Node.js vs Python: The Ultimate 2026 Backend Technology Selection Guide

This article compares Node.js and Python for backend development in 2026, examining their architectures, performance benchmarks, ecosystem strengths, and suitable use-cases, and provides a decision framework to help developers choose the most appropriate technology based on project requirements, team skills, and scalability needs.

How phpy 2.2 Enables Seamless PHP‑Python Operator Overloading for Scientific Computing

The article explains how the phpy extension lets PHP import Python libraries like numpy, demonstrates array and matrix operations with operator overloading, compares PHP and Python operators, and shows the new concise syntax introduced in phpy 2.2 for more readable scientific code.

How to Implement Seamless Token Auto‑Renewal: Frontend Refresh, Sliding Window, and Double‑Token Strategies

Token expiration can be handled with three main strategies—frontend‑driven periodic refresh, backend sliding‑window renewal, and the industry‑standard double‑token (access + refresh) scheme—each balancing implementation simplicity, user experience, and security, with the double‑token approach offering the most robust solution.

Preventing Duplicate Consumption in Kafka: Design, Idempotence, and Configuration Strategies

This guide explains how to avoid duplicate message consumption in Kafka by designing unique identifiers, implementing consumer-side idempotence with deduplication tables, leveraging Kafka’s transactional features, and establishing system-level safeguards and monitoring to ensure reliable, exactly‑once processing.

Been Writing Spring Controllers for a Decade? Time to Ditch the Boilerplate Pattern

The article argues that traditional Spring Controllers impose heavy, repetitive scaffolding that outweighs business value, and demonstrates how a functional Java API can replace class‑based controllers with simple handler functions, reducing cognitive load, test complexity, and development overhead.

Spring Task Scheduling in 3 Lines: Automate Jobs and Eliminate Repetitive Code

This guide explains how Spring Task turns Java applications into self‑managed schedulers, showing three quick steps to add the dependency, enable @EnableScheduling, and write @Scheduled methods, then dives into cron syntax, common use cases, pitfalls, performance tuning, and future enhancements.

What’s New in Yii 3? A Deep Dive into Its Modern Backend Architecture

Yii 3, the latest release of the PHP framework, introduces a modular package ecosystem, flexible dependency injection, PSR‑first design, advanced caching, improved database abstraction, and long‑running work mode, offering developers a high‑performance, standards‑compliant foundation for web, API, and console applications.

Master Jackson in Spring Boot 3: Real‑World JSON Tricks & Examples

This tutorial walks through Jackson usage in Spring Boot 3, covering annotations for ignoring fields, renaming properties, custom serialization/deserialization, constructor handling, property visibility, date formatting, efficient JSON read/write, and enum handling with clear code samples and output screenshots.

Is Redis a Viable Message Queue? List, Pub/Sub, and Stream Compared to Kafka & RabbitMQ

This article examines whether Redis can serve as a reliable message queue by comparing its List, Pub/Sub, and Stream features against professional solutions like Kafka and RabbitMQ, covering usage patterns, code examples, performance trade‑offs, persistence, and handling of message loss and backlog.

Mastering Redis: Choosing the Right Data Structure for High‑Performance Systems

Redis offers five core data types—String, Hash, List, Set, and ZSet—each acting as a high‑performance concurrent data structure that determines system throughput, latency, and stability; this guide explains their characteristics, optimal use‑cases, anti‑patterns, and practical code examples for robust architecture design.

Lenovo Backend Interview Secrets: Deadlocks, DNS, TLS & Java ArrayList

The article examines Lenovo’s 2023 graduate hiring salaries across cities, roles, and education levels, then shares a recent backend interview experience, detailing questions on deadlocks, networking layers, DNS resolution, TLS handshakes, common data structures, and Java’s ArrayList implementation, offering practical insights and recommendations.

Why MyBatis-Flex Beats MyBatis-Plus: Features, Benchmarks, and Quick Start

MyBatis-Flex is a lightweight, high-performance MyBatis enhancement offering flexible CRUD, advanced QueryWrapper, extensive database support, and benchmarked speeds up to ten times faster than MyBatis-Plus, with a step-by-step quick-start guide covering table creation, Maven setup, Spring Boot configuration, entity mapping, and usage examples.

Why JDK’s Built‑in GZIP Is Inefficient and How Feat’s Custom Stream Solves It

The article examines the blocking‑IO and loop‑blocking problems of Java’s standard GZIPInputStream in high‑concurrency async scenarios, then details Feat framework’s reimplementation with an async‑friendly state‑machine design, fine‑grained state management, memory optimizations, full RFC 1952 compliance, and provides concrete code examples.

Why State‑Owned Enterprises Shun PHP and What PHP 8 Brings to the Table

The article analyses why central and state‑owned enterprises in China rarely recruit PHP developers while private firms hire them en masse, then details PHP 8’s eight major advantages, seven notable drawbacks, and offers practical career advice for developers targeting different enterprise environments.

Turning PHP Nightmares into Maintainable Code: Modern Backend Practices

This article examines common technical debt in legacy PHP projects—spaghetti code, global variables, missing frameworks, lack of testing, and chaotic deployment—and presents a step‑by‑step roadmap using modern frameworks, Composer, automated testing, coding standards, strategic refactoring, and CI/CD pipelines to transform the codebase into a clean, maintainable system.

How to Visualize Java Servlet Inheritance Using IntelliJ IDEA Diagrams

This guide shows how to use IntelliJ IDEA's diagram feature to display, clean up, and explore the inheritance and interface implementation hierarchy of Java Servlet classes, including filtering unwanted nodes, inspecting members, adjusting visibility, zooming, adding related classes, and jumping to source code.

Unlocking Java ThreadPoolExecutor: Deep Dive, Best Practices, and Real‑World Tuning

This article provides a comprehensive exploration of Java's ThreadPoolExecutor, covering why thread pools are essential, how the executor framework is designed, detailed source‑code analysis of core classes, parameter tuning, rejection policies, monitoring techniques, and practical best‑practice recommendations for production systems.

Detect and Resolve Maven Dependency Conflicts in Java Projects

This guide explains how to view the Maven dependency tree using IntelliJ IDEA, the command line, or the Maven Helper plugin, identify conflicting JARs, and resolve them with exclusion rules or dependencyManagement, providing clear examples and step‑by‑step commands for Java backend developers.

From Procedural PHP to Modern Practices: Transform Your Development Mindset

This article examines how early PHP developers often wrote tangled, procedural code that mixes business logic with presentation, and outlines concrete steps—adopting OOP, design patterns, domain‑driven design, test‑driven development, and modern tooling—to shift toward a cleaner, more maintainable backend development approach.

Unlock Java Code Analysis with Spoon: Real‑World Spring Boot 3 Cases

This article introduces the open‑source Spoon library for Java source‑code analysis and transformation, demonstrates how to integrate it with Spring Boot 3, and provides step‑by‑step examples—including visual AST inspection, empty‑catch detection, architecture rule validation, field usage checks, reflection replacement, and automatic code modifications such as adding fields, constructors, logging, and null‑checks.

Coexisting Multiple DataSources in Spring Boot: No Switching Needed

This guide explains how to configure Spring Boot applications to use multiple coexisting DataSource beans—such as MySQL and TDengine—without runtime switching, covering bean definitions, MyBatis mapper scanning, transaction manager setup, custom @Transactional annotations, and common pitfalls, enabling clean separation of business, log, and time‑series data.

Boost PHP Performance with Webman AOP Plugin – Runtime Proxy, No Files

This article introduces a high‑performance, high‑availability AOP plugin for the Webman framework that works on PHP 8, explains its features, installation, configuration, usage examples, custom aspect creation methods, notification types, execution order, JoinPoint API, and provides complete code samples for caching and transaction aspects.

Up to 500 articles, 100 per page. The archive offers another way to explore older articles.