Tagged articles
5000 articles
Page 25 of 50
php Courses
php Courses
Oct 26, 2023 · Backend Development

Building a ChatGPT-Powered Chatbot with PHP

This tutorial explains how to build a PHP‑based ChatGPT chatbot, covering environment setup, API key acquisition, library installation, core code implementation, a simple web interface, and steps to run and extend the application.

APIBackendChatGPT
0 likes · 4 min read
Building a ChatGPT-Powered Chatbot with PHP
Bilibili Tech
Bilibili Tech
Oct 25, 2023 · Backend Development

Performance Optimization Practices in Bilibili's Risk Control Engine

To overcome storage, compute, and I/O bottlenecks in Bilibili’s risk‑control engine, the team combined pre‑fetching with Redis caching, batch retrieval, asynchronous writes via Railgun, aggressive log compression, and a multi‑level cache plus Bloom filter, cutting latency to sub‑100 ms, reducing Redis QPS by over 90 % and storage by ~38 %, while supporting million‑level query throughput.

AsyncBackendBatch Processing
0 likes · 22 min read
Performance Optimization Practices in Bilibili's Risk Control Engine
JD Retail Technology
JD Retail Technology
Oct 23, 2023 · Backend Development

Understanding Java Exceptions and Custom Assertions for Elegant Error Handling

This article explains Java's Error and Exception hierarchy, differentiates compile-time and runtime exceptions, demonstrates standard try‑catch handling, shows how to throw custom exceptions, and introduces custom assertion interfaces that combine readable assertions with tailored exception types for cleaner backend code.

BackendCustom AssertionError Handling
0 likes · 9 min read
Understanding Java Exceptions and Custom Assertions for Elegant Error Handling
php Courses
php Courses
Oct 23, 2023 · Backend Development

Using PHP 8 Attributes to Manage Code Metadata

This article explains PHP 8’s new Attributes feature, describing what attributes are, how to attach custom attributes such as @Table and @Route to classes and methods, and demonstrates retrieving attribute values via reflection, providing clear code examples for backend developers.

AttributesBackendPHP
0 likes · 5 min read
Using PHP 8 Attributes to Manage Code Metadata
Liangxu Linux
Liangxu Linux
Oct 22, 2023 · Backend Development

How to Eliminate 95% of Try‑Catch Blocks with Unified Exception Handling in Spring

This article explains why excessive try‑catch blocks hurt readability, introduces Spring's @ControllerAdvice and custom Assert utilities combined with enums to create a clean, centralized exception handling framework, and demonstrates the approach with full code examples and practical test scenarios.

AssertBackendException Handling
0 likes · 22 min read
How to Eliminate 95% of Try‑Catch Blocks with Unified Exception Handling in Spring
Su San Talks Tech
Su San Talks Tech
Oct 22, 2023 · Backend Development

Mastering Rate Limiting: Algorithms, Scenarios, and Practical Implementations

Rate limiting controls request flow to protect system stability, covering its definition, motivations, common algorithms such as token bucket, leaky bucket, fixed and sliding windows, their pros and cons, single‑machine vs distributed implementations, and practical component choices for backend services.

BackendDistributed Systemsalgorithm
0 likes · 17 min read
Mastering Rate Limiting: Algorithms, Scenarios, and Practical Implementations
php Courses
php Courses
Oct 21, 2023 · Backend Development

Using the Stringable Interface in PHP 8 for Simplified String Operations

This article introduces PHP 8’s new Stringable interface, explains its purpose, shows how to implement it with example code, and demonstrates its seamless integration with common string functions such as str_replace, strlen, and substr for more concise string handling.

BackendInterfacePHP
0 likes · 5 min read
Using the Stringable Interface in PHP 8 for Simplified String Operations
Liangxu Linux
Liangxu Linux
Oct 21, 2023 · Backend Development

Why Nginx Doesn’t Fall Victim to the Thundering Herd Problem

This article explains the thundering herd phenomenon in multi‑process servers, walks through Nginx’s master‑worker architecture and its use of epoll, and compares three practical mitigation techniques—accept_mutex, EPOLLEXCLUSIVE, and SO_REUSEPORT—complete with code excerpts and configuration examples.

BackendNginxSO_REUSEPORT
0 likes · 9 min read
Why Nginx Doesn’t Fall Victim to the Thundering Herd Problem
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Oct 21, 2023 · Backend Development

Comprehensive Spring Boot Tutorial: Configuration, Logging, MVC, Data Access, Docker, and Custom Starters

This tutorial provides an in‑depth guide to Spring Boot covering core concepts such as project setup, configuration files, logging frameworks, MVC architecture, CRUD examples, error handling, embedded servlet containers, Docker integration, JDBC/MyBatis/JPA data access, startup process, and how to create custom starter modules.

BackendConfigurationDocker
0 likes · 47 min read
Comprehensive Spring Boot Tutorial: Configuration, Logging, MVC, Data Access, Docker, and Custom Starters
Architecture Digest
Architecture Digest
Oct 20, 2023 · Backend Development

Simplified Seckill Project: Architecture, Core Implementations, and Code Overview

This article introduces a simplified Seckill (flash‑sale) system built with SpringBoot, detailing its overall architecture, key backend techniques such as distributed sessions, Redis caching, RabbitMQ asynchronous ordering, security measures, oversell prevention, rate limiting, and provides essential code snippets and deployment screenshots.

BackendRabbitMQSeckill
0 likes · 8 min read
Simplified Seckill Project: Architecture, Core Implementations, and Code Overview
Open Source Tech Hub
Open Source Tech Hub
Oct 20, 2023 · Backend Development

Master PHP Exception Handling with Tinywan: Install, Configure, and Customize Errors

This guide explains the distinction between exceptions and errors in PHP, shows how to install the Tinywan exception‑handler package, configure it for Webman, use built‑in and custom exception classes, customize JSON responses, and extend the handler for advanced scenarios such as DingTalk notifications.

BackendException Handlingerror-management
0 likes · 9 min read
Master PHP Exception Handling with Tinywan: Install, Configure, and Customize Errors
macrozheng
macrozheng
Oct 19, 2023 · Information Security

How to Perform Fuzzy Search on Encrypted Phone Numbers in MySQL

This article explores multiple strategies for enabling fuzzy search on encrypted phone numbers, including in‑memory caching, database decryption functions, segment‑wise storage, and dedicated fuzzy‑search fields, comparing their trade‑offs in performance, memory usage, and data consistency.

Backendencryptionfuzzy-search
0 likes · 10 min read
How to Perform Fuzzy Search on Encrypted Phone Numbers in MySQL
php Courses
php Courses
Oct 17, 2023 · Databases

Choosing and Optimizing Indexes in PHP and MySQL

This article explains the fundamentals and types of MySQL indexes, provides guidelines for selecting appropriate indexes based on query frequency, uniqueness and complexity, and presents PHP code examples for adding and using indexes, along with optimization strategies such as proper schema design, data types, and index maintenance.

BackendDatabase OptimizationPHP
0 likes · 5 min read
Choosing and Optimizing Indexes in PHP and MySQL
Architecture Digest
Architecture Digest
Oct 16, 2023 · Backend Development

Comparison of Delayed Task Implementation Strategies in Java: Database Polling, JDK DelayQueue, Time Wheel, Redis, and RabbitMQ

The article examines various delayed‑task solutions for order timeout handling in Java, including database polling with Quartz, JDK DelayQueue, Netty's HashedWheelTimer, Redis sorted‑set and key‑space notifications, and RabbitMQ delayed queues, analyzing their implementation steps, advantages, and drawbacks.

BackendRabbitMQScheduling
0 likes · 18 min read
Comparison of Delayed Task Implementation Strategies in Java: Database Polling, JDK DelayQueue, Time Wheel, Redis, and RabbitMQ
Code Ape Tech Column
Code Ape Tech Column
Oct 14, 2023 · Backend Development

Implementing Sign‑In and Statistics with Redis BitMap in Spring Boot

This article explains how to use Redis BitMap to build a memory‑efficient sign‑in feature and continuous‑sign‑in statistics in a Spring Boot microservice, covering basic BitMap commands, key design, core Java code, testing steps, and a bitmap‑based solution for cache‑penetration protection.

BackendBitmapSign-in
0 likes · 10 min read
Implementing Sign‑In and Statistics with Redis BitMap in Spring Boot
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Oct 13, 2023 · Fundamentals

Understanding Java Annotations and Custom Annotation Usage with Spring AOP

This article explains Java annotations, their purposes such as providing compiler metadata, generating code, runtime processing, and documentation, introduces built‑in and meta‑annotations, and demonstrates how to create and use custom annotations both via reflection and with Spring AOP for logging, including full code examples.

BackendCustomAnnotationReflection
0 likes · 7 min read
Understanding Java Annotations and Custom Annotation Usage with Spring AOP
Top Architect
Top Architect
Oct 12, 2023 · Backend Development

Cache Strategies: Consistency Issues, Penetration, Avalanche and Mitigation Techniques

The article explains why high‑frequency disk reads can become a performance bottleneck, introduces common caching patterns such as Cache‑Aside, Read‑Through, Write‑Through and Write‑Behind, discusses consistency problems, cache penetration and avalanche, and presents practical solutions like null‑caching, Bloom filters, distributed locks, staggered TTLs, Redis‑Cluster and Hystrix.

Backendcache-avalanchecache-consistency
0 likes · 10 min read
Cache Strategies: Consistency Issues, Penetration, Avalanche and Mitigation Techniques
Selected Java Interview Questions
Selected Java Interview Questions
Oct 12, 2023 · Backend Development

Spring Framework Utility Classes Overview: Assertions, ObjectUtils, StringUtils, CollectionUtils, FileCopyUtils, ResourceUtils, StreamUtils, ReflectionUtils, AopUtils

This article provides a comprehensive overview of Spring Framework utility classes—including Assert, ObjectUtils, StringUtils, CollectionUtils, FileCopyUtils, ResourceUtils, StreamUtils, ReflectionUtils, and AopUtils—explaining their purpose, key methods, and usage examples with code snippets for backend developers.

BackendReflectionassertions
0 likes · 14 min read
Spring Framework Utility Classes Overview: Assertions, ObjectUtils, StringUtils, CollectionUtils, FileCopyUtils, ResourceUtils, StreamUtils, ReflectionUtils, AopUtils
Ctrip Technology
Ctrip Technology
Oct 12, 2023 · Backend Development

Evolution and Optimization of Ticket Product Structure at Trip.com

This article examines the evolution of Trip.com’s ticket product structure, detailing its transition from low to high‑level schema, the technical challenges faced across user, merchant, platform and R&D perspectives, and the systematic solutions—including structure integration, sales‑attribute standardization, and description‑attribute layering—that improved efficiency, data quality, and internationalization.

BackendData MigrationSystem Integration
0 likes · 17 min read
Evolution and Optimization of Ticket Product Structure at Trip.com
ByteDance Data Platform
ByteDance Data Platform
Oct 11, 2023 · Backend Development

How Volcano Engine Rebuilt Its Ad‑Testing Platform for Scalability and Reliability

This article explains how Volcano Engine identified the tangled authorization, data‑fetching, and performance problems of its advertising AB‑testing platform and refactored it by splitting services, redesigning the data model with MySQL and ClickHouse, applying DAG scheduling, time‑wheel algorithms, Domain‑Driven Design, and rigorous unit testing to achieve a more stable, extensible backend solution.

AB testingAdvertisingBackend
0 likes · 16 min read
How Volcano Engine Rebuilt Its Ad‑Testing Platform for Scalability and Reliability
Architect
Architect
Oct 9, 2023 · Backend Development

Netty TCP Long‑Connection Demo with Spring Boot, Redis, and Message‑Queue Simulation

This article presents a complete Netty TCP long‑connection demo built with Spring Boot 2.2.0 and Redis, explains the project architecture, module layout, business flow using a local BlockingQueue instead of RocketMQ, and provides detailed source code for the queue holder, processing logic, client implementation, handler, and test controllers.

BackendNettySpring Boot
0 likes · 17 min read
Netty TCP Long‑Connection Demo with Spring Boot, Redis, and Message‑Queue Simulation
Selected Java Interview Questions
Selected Java Interview Questions
Oct 4, 2023 · Backend Development

Implementing Captcha‑Based Login in a Frontend‑Backend Separated Spring Boot Application

This article demonstrates how to implement a captcha‑based login mechanism in a Spring Boot application with a front‑end/back‑end separation, detailing the traditional session‑based approach, the new Redis‑backed token solution, and providing complete code examples for configuration, service, controller, and data objects.

BackendCaptchaKaptcha
0 likes · 12 min read
Implementing Captcha‑Based Login in a Frontend‑Backend Separated Spring Boot Application
ITPUB
ITPUB
Oct 3, 2023 · Backend Development

How to Build a 100% Test‑Coverage Automated Backend Testing System

This article presents a self‑developed automated testing platform for backend services that achieves full test‑case coverage with low maintenance cost by unifying HTTP and RPC access, introducing a parameter‑pool, integrating JSON Schema and JSONPath validation, and leveraging traffic‑driven test‑case generation and scheduling.

Automated TestingBackendJSON Schema
0 likes · 23 min read
How to Build a 100% Test‑Coverage Automated Backend Testing System
Architect
Architect
Oct 3, 2023 · Backend Development

Understanding RocketMQ Scheduled Tasks and Their Implementation

This article explains the various scheduled tasks in RocketMQ, covering architecture overview, producer and consumer periodic operations, broker maintenance jobs, and NameServer housekeeping, while providing concrete Java code examples to illustrate how each task contributes to message handling, monitoring, and system reliability.

BackendRocketMQScheduled Tasks
0 likes · 25 min read
Understanding RocketMQ Scheduled Tasks and Their Implementation
Architect
Architect
Sep 30, 2023 · Backend Development

Mastering Nginx ip_hash for Session Affinity and Its Common Pitfalls

This article explains how Nginx's ip_hash directive implements session affinity by routing all requests from the same client IP to a single backend server, demonstrates configuration examples, analyzes behavior when servers go down, and discusses the method's limitations such as load imbalance and dynamic IP issues.

BackendConfigurationIP Hash
0 likes · 11 min read
Mastering Nginx ip_hash for Session Affinity and Its Common Pitfalls
Java Architect Essentials
Java Architect Essentials
Sep 30, 2023 · Backend Development

Optimizing Apache HttpClient for High Concurrency: Pooling, Keep‑Alive, and Configuration

This article explains how to dramatically improve the performance of a high‑traffic Java service by reusing a singleton HttpClient, enabling connection pooling and keep‑alive, tuning timeout and retry settings, and adding an idle‑connection monitor to reduce average request latency from 250 ms to about 80 ms.

BackendConnectionPoolingHttpClient
0 likes · 13 min read
Optimizing Apache HttpClient for High Concurrency: Pooling, Keep‑Alive, and Configuration
政采云技术
政采云技术
Sep 28, 2023 · Backend Development

Common Scenarios Where Spring @Transactional Fails and How to Avoid Them

This article explains the fundamentals of database transactions, introduces Spring's @Transactional annotation, and enumerates nine typical situations—such as incorrect method visibility, final methods, self‑invocation, unmanaged beans, multithreading, wrong propagation, swallowed exceptions, unsupported exception types, and non‑transactional storage engines—where transactions may not work as expected, offering guidance to prevent these pitfalls.

Backendaopjava
0 likes · 13 min read
Common Scenarios Where Spring @Transactional Fails and How to Avoid Them
Top Architect
Top Architect
Sep 27, 2023 · Backend Development

Understanding Finite State Machines and Implementing Spring Statemachine in Java

This article explains the fundamentals of finite state machines, illustrates their concepts and diagramming, and provides a comprehensive guide on using Spring Statemachine in Java—including schema design, configuration, event handling, persistence strategies, testing, and common pitfalls with solutions.

BackendPersistencejava
0 likes · 28 min read
Understanding Finite State Machines and Implementing Spring Statemachine in Java
php Courses
php Courses
Sep 27, 2023 · Backend Development

Building a Simple Online Recruitment System with PHP

This article explains how to design and implement a basic online recruitment platform using PHP, covering requirement analysis, system architecture, database schema, front‑end layout, back‑end logic, and provides a complete code example for user registration, illustrating the core functionalities of such a system.

BackendPHPRecruitment System
0 likes · 5 min read
Building a Simple Online Recruitment System with PHP
HomeTech
HomeTech
Sep 27, 2023 · Backend Development

Design and Evolution of a High‑Availability SMS Platform at AutoHome

This article details the architectural evolution, high‑availability strategies, fault‑monitoring mechanisms, and performance optimizations of AutoHome's enterprise SMS platform, covering its migration from .Net to Java, service decomposition with Kafka, multi‑datacenter deployment, and operational safeguards for large‑scale events.

BackendKafkaSMS
0 likes · 9 min read
Design and Evolution of a High‑Availability SMS Platform at AutoHome
Architect
Architect
Sep 26, 2023 · Backend Development

Comprehensive Guide to Spring MVC Annotations and Related Spring Annotations

This article provides a detailed overview of Spring MVC and Spring Boot annotations such as @RequestMapping, @GetMapping, @PostMapping, @RequestBody, @ControllerAdvice, @Component, @Bean, @Scope, @Autowired, and others, explaining their purposes, attributes, usage patterns, and offering practical code examples for each.

BackendSpring BootSpring MVC
0 likes · 15 min read
Comprehensive Guide to Spring MVC Annotations and Related Spring Annotations
Architecture Digest
Architecture Digest
Sep 26, 2023 · Backend Development

Comparative Implementation of a Student Score Statistics Query Using Fluent Mybatis, Native Mybatis, and Mybatis Plus

This article demonstrates how to implement a statistical query on a student_score table—calculating count, min, max, and average scores per term and subject—using Fluent Mybatis, native Mybatis, and Mybatis‑Plus, compares their code complexity, and provides code generation settings for each framework.

BackendFluent MyBatisORM
0 likes · 9 min read
Comparative Implementation of a Student Score Statistics Query Using Fluent Mybatis, Native Mybatis, and Mybatis Plus
Java Backend Technology
Java Backend Technology
Sep 26, 2023 · Backend Development

Why Does Using 'YYYY' in Java Date Formatting Show the Wrong Year?

A Java date‑formatting bug occurs when the week‑based year pattern 'YYYY' is used instead of the calendar year 'yyyy', causing dates near year‑end to display the next year, and this article explains the cause, demonstrates it with code, and shows how to avoid it.

BackendDate FormattingSimpleDateFormat
0 likes · 4 min read
Why Does Using 'YYYY' in Java Date Formatting Show the Wrong Year?
php Courses
php Courses
Sep 25, 2023 · Backend Development

Implementing Data Merging with PHP Backend and Vue Frontend

This article demonstrates how to implement a data merging feature by creating MySQL tables, building a PHP API that retrieves and combines records from two tables, and developing a Vue.js front‑end that fetches and displays the merged data, complete with full code examples.

APIBackendPHP
0 likes · 5 min read
Implementing Data Merging with PHP Backend and Vue Frontend
Architect
Architect
Sep 24, 2023 · Backend Development

Mastering Unified Exception Handling in Spring Boot: Clean Code with Assertions

This article explains how to replace repetitive try‑catch blocks with a unified exception handling framework in Spring Boot, using @ControllerAdvice, custom Assert utilities, and enum‑based error codes, while showing concrete code examples, configuration steps, and runtime results.

BackendException HandlingSpring Boot
0 likes · 24 min read
Mastering Unified Exception Handling in Spring Boot: Clean Code with Assertions
php Courses
php Courses
Sep 23, 2023 · Backend Development

Applying SOLID Principles in PHP for Maintainable Code

This article explains how to use the SOLID design principles—SRP, OCP, LSP, ISP, and DIP—in PHP, providing clear bad and good code examples for each principle to help developers write more reliable, extensible, and maintainable backend applications.

BackendPHPSOLID
0 likes · 8 min read
Applying SOLID Principles in PHP for Maintainable Code
macrozheng
macrozheng
Sep 23, 2023 · Frontend Development

Top Free Website Builders to Launch Your Site in Minutes

This guide introduces a curated list of ready-to-use website generators—including Mall, WordPress, Docsify, Dumi, Img Cook, Ant Design Landing, Tencent Rabbit Nest, Baidu Analytics, One Nav, Discuz, and popular admin templates—showcasing their key features, deployment methods, and how they enable rapid site creation without deep coding.

BackendWordPressfrontend
0 likes · 10 min read
Top Free Website Builders to Launch Your Site in Minutes
Test Development Learning Exchange
Test Development Learning Exchange
Sep 23, 2023 · Backend Development

Using ConfigObj to Read, Write, and Manage INI Files in Python

This article introduces Python's ConfigObj library for parsing INI files, demonstrating how to read configuration values, write new settings, update existing entries, handle multiple files, and dynamically generate sections and options, with five practical code examples for interface automation tasks.

BackendConfigurationautomation
0 likes · 4 min read
Using ConfigObj to Read, Write, and Manage INI Files in Python
php Courses
php Courses
Sep 21, 2023 · Backend Development

Top PHP Frameworks to Use in 2023

This article reviews the leading PHP frameworks expected to thrive in 2023, including Laravel, Symfony, CodeIgniter, Laminas, Yii, Phalcon, CakePHP, Slim, and others, helping developers choose the most suitable backend solution based on project size, performance needs, and team expertise.

2023BackendPHP
0 likes · 5 min read
Top PHP Frameworks to Use in 2023
High Availability Architecture
High Availability Architecture
Sep 21, 2023 · Backend Development

Content Ingestion System Refactoring: From Microservices to a High‑Performance Monolithic Plugin Architecture

The article details the comprehensive redesign of QQ Browser's content ingestion platform, highlighting the shortcomings of the legacy micro‑service architecture, the migration to a single‑process monolithic design with a plugin framework, fault‑tolerant Kafka integration, thread separation, memory‑allocator improvements, and the resulting dramatic gains in throughput, latency, CPU utilization, and development efficiency.

Backendplugin architecture
0 likes · 19 min read
Content Ingestion System Refactoring: From Microservices to a High‑Performance Monolithic Plugin Architecture
Java Architect Essentials
Java Architect Essentials
Sep 20, 2023 · Backend Development

Creating a Simple Demo with Spring 6 HTTP Interface

This article introduces Spring 6's new HTTP Interface feature, walks through building a Spring Boot demo with a User entity, a controller, an HTTP Interface annotated with @GetExchange, and a test using WebClient and HttpServiceProxyFactory, and explains related annotations and reactive dependencies.

BackendHTTP Interfacejava
0 likes · 7 min read
Creating a Simple Demo with Spring 6 HTTP Interface
Java High-Performance Architecture
Java High-Performance Architecture
Sep 20, 2023 · Backend Development

How to Build a High‑Performance Flash‑Sale System: Architecture & Code

This article explores the challenges of designing a flash‑sale (秒杀) system—such as overselling, high concurrency, URL protection, and database bottlenecks—and presents a comprehensive backend architecture using Redis clustering, dynamic URLs, static pages, Nginx, rate‑limiting, asynchronous order processing, and service degradation strategies, complete with code examples.

BackendSystem Designflash sale
0 likes · 14 min read
How to Build a High‑Performance Flash‑Sale System: Architecture & Code
php Courses
php Courses
Sep 19, 2023 · Artificial Intelligence

Integrating Midjourney AI Painting API with PHP: A Step-by-Step Guide

This tutorial explains how to use PHP to connect to Midjourney's AI painting API, covering preparation, request construction, cURL transmission, response handling, and a complete example that enables developers to generate and manage AI‑created artwork.

AI paintingArtificial IntelligenceBackend
0 likes · 6 min read
Integrating Midjourney AI Painting API with PHP: A Step-by-Step Guide
Top Architect
Top Architect
Sep 18, 2023 · Backend Development

Evolution of Backend Architecture: N‑Layered, DDD, Hexagonal, Onion and Clean Architecture

The article traces the historical development of backend architectural styles—from early N‑layered designs through Domain‑Driven Design, Hexagonal (Ports and Adapters), Onion, and finally Clean Architecture—explaining their motivations, key principles, layer responsibilities, and practical trade‑offs for modern developers.

BackendHexagonalN‑layered
0 likes · 18 min read
Evolution of Backend Architecture: N‑Layered, DDD, Hexagonal, Onion and Clean Architecture
JD Cloud Developers
JD Cloud Developers
Sep 18, 2023 · Backend Development

Mastering Rust gRPC Streaming with Tonic: Build Server & Client

This guide walks through creating a Rust project that uses the Tonic library to implement gRPC streaming, covering project setup, protobuf definitions, server and client code, testing with grpcurl, and enabling the reflection API for service introspection.

AsyncBackendRust
0 likes · 15 min read
Mastering Rust gRPC Streaming with Tonic: Build Server & Client
MaGe Linux Operations
MaGe Linux Operations
Sep 15, 2023 · Backend Development

Understanding Tomcat’s Startup Process: From Bootstrap to Lifecycle

This article explains how Tomcat starts by running the startup script, invoking the BootStrap main method, initializing Catalina, loading configuration, and managing component lifecycles through the Lifecycle interface, while also detailing default implementations, endpoint types, and protocol handlers.

BackendLifecycleServlet
0 likes · 5 min read
Understanding Tomcat’s Startup Process: From Bootstrap to Lifecycle
Architecture Digest
Architecture Digest
Sep 15, 2023 · Backend Development

Unified Exception Handling in Spring Boot Using @ControllerAdvice, Custom Assertions, and Enums

This article explains how to replace repetitive try‑catch blocks in Java Spring applications with a unified exception handling mechanism that leverages @ControllerAdvice, custom Assert utilities, enum‑based error codes, and standardized response objects to improve code readability, maintainability, and internationalization.

AssertBackendenum
0 likes · 19 min read
Unified Exception Handling in Spring Boot Using @ControllerAdvice, Custom Assertions, and Enums
php Courses
php Courses
Sep 15, 2023 · Backend Development

Advanced PHP Techniques: Closures, Generators, and Reflection

This article introduces three advanced PHP features—Closures, Generators, and Reflection—explaining their concepts, advantages, and providing detailed code examples that demonstrate how closures enable access to outer scope variables, generators reduce memory usage by yielding data lazily, and reflection allows runtime inspection and modification of classes and methods.

Advanced TechniquesBackendGenerators
0 likes · 5 min read
Advanced PHP Techniques: Closures, Generators, and Reflection
Java Captain
Java Captain
Sep 15, 2023 · Backend Development

A Comprehensive Guide to the 50 Most Common Spring Boot Annotations

This article provides an in‑depth overview of the most frequently used Spring Boot annotations, categorizing them into Spring MVC, Spring Data JPA, Spring Security, and other essential annotations, and demonstrates their practical usage with concise examples.

BackendSpring BootSpring MVC
0 likes · 5 min read
A Comprehensive Guide to the 50 Most Common Spring Boot Annotations
Su San Talks Tech
Su San Talks Tech
Sep 15, 2023 · Backend Development

What Is Microservices? Architecture, Challenges, and Popular Solutions Explained

This article introduces microservices as a lightweight, autonomous architecture, compares it with monolithic and SOA approaches, outlines the complexities it brings, and reviews the most common open‑source solutions, registration and configuration centers, remote‑call mechanisms, resilience patterns, load‑balancing algorithms, tracing, and monitoring tools.

BackendDistributed Systemsservice discovery
0 likes · 44 min read
What Is Microservices? Architecture, Challenges, and Popular Solutions Explained
Architect
Architect
Sep 14, 2023 · Backend Development

Message Queue Evolution, Architecture, and Storage Analysis

From the early days of ActiveMQ and RabbitMQ to the high‑throughput designs of Kafka, RocketMQ, and Pulsar, this article traces the development stages of message queues, explains core concepts such as topics, producers, consumers, and partitions, and compares their architectural and storage designs.

BackendPulsarRocketMQ
0 likes · 16 min read
Message Queue Evolution, Architecture, and Storage Analysis
Architecture Digest
Architecture Digest
Sep 14, 2023 · Backend Development

Integrating Dataway with Spring Boot: A Step‑by‑Step Guide

This guide explains how to embed Dataway—a DataQL‑based API configuration tool—into a Spring Boot application, covering dependency setup, property configuration, datasource integration, Hasor module wiring, enabling Hasor, launching the app, accessing the UI, creating and publishing APIs using SQL or DataQL, and verifying the results.

API ConfigurationBackendDataQL
0 likes · 12 min read
Integrating Dataway with Spring Boot: A Step‑by‑Step Guide
JD Tech
JD Tech
Sep 14, 2023 · Mobile Development

Switchquery: A High‑Performance Mobile Configuration Platform with Second‑Level Real‑Time Delivery

This article introduces Switchquery, a high‑performance mobile configuration platform that achieves second‑level real‑time delivery through a novel architecture involving a CMS, unified gateway, header‑based version signaling, and SDKs for Android and iOS, and demonstrates its optimization, multi‑app support, and successful large‑scale deployment in major promotional events.

BackendConfigurationMobile
0 likes · 19 min read
Switchquery: A High‑Performance Mobile Configuration Platform with Second‑Level Real‑Time Delivery
Ctrip Technology
Ctrip Technology
Sep 14, 2023 · Backend Development

Trip.com Train Ticket Globalization Architecture Evolution and Practices

This article presents a comprehensive case study of Trip.com’s train ticket service global expansion, detailing the business background, challenges such as multi‑region deployment, performance, data compliance and scalability, and the step‑by‑step architectural evolution across region selection, network, data, infrastructure, and business layers to achieve a resilient, low‑latency, and compliant worldwide service.

Backenddata complianceglobalization
0 likes · 17 min read
Trip.com Train Ticket Globalization Architecture Evolution and Practices
macrozheng
macrozheng
Sep 14, 2023 · Information Security

How to Secure API Endpoints: Prevent Tampering and Replay Attacks with SpringBoot

This article explains why public APIs need protection, outlines anti‑tampering and anti‑replay strategies using timestamps and nonces, and provides complete SpringBoot code—including request signing, filter implementation, and Redis utilities—to safeguard API calls from manipulation and replay attacks.

API SecurityAnti-replayBackend
0 likes · 15 min read
How to Secure API Endpoints: Prevent Tampering and Replay Attacks with SpringBoot
Sohu Tech Products
Sohu Tech Products
Sep 13, 2023 · Backend Development

Unlocking Redis Streams: How Radix Tree & Listpack Power Modern MQs

This article explains why using Redis List for a message queue is limited, introduces Redis Stream as a purpose‑built MQ with consumer groups, ACKs, and persistence, and dives into its internal Radix‑Tree and listpack structures, command usage, and memory‑saving techniques.

BackendListpackMessage Queue
0 likes · 14 min read
Unlocking Redis Streams: How Radix Tree & Listpack Power Modern MQs
dbaplus Community
dbaplus Community
Sep 13, 2023 · Backend Development

How We Boosted Content Ingestion Performance 13× by Redesigning a Microservice System

This article details the complete redesign of a large‑scale content ingestion platform, explaining why the original microservice‑heavy architecture suffered from low development efficiency and poor performance, how a monolithic‑plus‑plugin approach solved these issues, and the resulting 13‑fold speedup, 10‑fold batch improvement, and 70% latency reduction.

BackendMicroservicesc++
0 likes · 20 min read
How We Boosted Content Ingestion Performance 13× by Redesigning a Microservice System
Senior Tony
Senior Tony
Sep 12, 2023 · Backend Development

What Really Powers High‑Concurrency Systems? Practical Solutions Explained

This article breaks down real‑world high‑concurrency strategies—horizontal scaling, caching, Elasticsearch, sharding, message‑queue smoothing, and cellization—explaining when each applies, their trade‑offs, and practical tips for building scalable, reliable backend services.

BackendMessage QueueSystem Design
0 likes · 9 min read
What Really Powers High‑Concurrency Systems? Practical Solutions Explained
Architect's Guide
Architect's Guide
Sep 12, 2023 · Backend Development

Using Java 8 Optional API to Eliminate NullPointerException

This article explains how Java 8's Optional class and its methods—of, ofNullable, empty, orElse, orElseGet, orElseThrow, map, flatMap, isPresent, ifPresent, and filter—can replace verbose null‑checks, making code more concise and safer while providing concrete examples and source code.

APIBackendfunctional programming
0 likes · 10 min read
Using Java 8 Optional API to Eliminate NullPointerException
JD Retail Technology
JD Retail Technology
Sep 11, 2023 · Backend Development

Diagnosing and Resolving a Java Application Memory Leak During Load Testing

During a load test of a Java 1.6 application on a CentOS server, memory usage climbed from 20% to 100% after an hour of 300‑concurrent requests, prompting a detailed investigation that identified off‑heap leaks caused by GZIP compression in a JimDB client and led to fixes such as upgrading the JDK and avoiding unnecessary compression.

BackendGoogle PerftoolsJDK
0 likes · 7 min read
Diagnosing and Resolving a Java Application Memory Leak During Load Testing
FunTester
FunTester
Sep 10, 2023 · Backend Development

Mastering Java ShutdownHook: Clean Up Resources and Track Tasks Gracefully

This article demonstrates practical ways to leverage Java's ShutdownHook API for task statistics, connection cleanup, handling JVM abnormal exits, and persisting state during performance testing, providing code examples, pitfalls of daemon threads, and strategies for reliable resource management in backend applications.

BackendJVMResource Management
0 likes · 8 min read
Mastering Java ShutdownHook: Clean Up Resources and Track Tasks Gracefully
IT Services Circle
IT Services Circle
Sep 8, 2023 · Backend Development

Implementing Server-Sent Events (SSE) with NestJS and React

This article explains how to use HTTP Server-Sent Events (SSE) as an alternative to WebSocket for one‑way data push, demonstrating a NestJS backend implementation with @Sse decorator and Observable streams, and a React frontend using EventSource to receive real‑time JSON messages, including handling logs and binary data.

BackendEventSourceNestJS
0 likes · 7 min read
Implementing Server-Sent Events (SSE) with NestJS and React
Ximalaya Technology Team
Ximalaya Technology Team
Sep 8, 2023 · Backend Development

Cache Selection and Usage Guidelines for Ximalaya Services

Ximalaya’s cache guidelines define four Redis‑based types (master‑slave, Codis‑Redis, Cloud Database Redis, XCache) with cache or store modes, prescribe using Cloud Redis for clusters and XCache for large KV, enforce short readable keys, TTLs, limited batch sizes, safe commands, isolated clusters, and compression to ensure stability and performance.

BackendKey Designcache best practices
0 likes · 9 min read
Cache Selection and Usage Guidelines for Ximalaya Services
php Courses
php Courses
Sep 7, 2023 · Backend Development

PHP strtolower() Function: Syntax, Parameters, Return Value, Examples, and Usage Tips

The article explains PHP's strtolower() function, detailing its syntax, parameters, return value, and providing multiple code examples—including full string conversion, partial conversion, word-level manipulation, and multibyte handling—while also noting important considerations for case sensitivity and non‑alphabetic characters.

BackendPHPString Functions
0 likes · 5 min read
PHP strtolower() Function: Syntax, Parameters, Return Value, Examples, and Usage Tips
dbaplus Community
dbaplus Community
Sep 6, 2023 · Backend Development

How to Scale a Schema‑Free Classification Platform to 100 Billion Records

This article explains how to design a classification‑information system that handles 100 billion rows, ten‑thousand dynamic attributes, and hundreds of thousands of QPS by using vertical partitioning, unified metadata services, and an external search layer for scalable storage and retrieval.

Backenddatabasesmetadata
0 likes · 12 min read
How to Scale a Schema‑Free Classification Platform to 100 Billion Records