Tagged articles
5000 articles
Page 17 of 50
Architect
Architect
Jul 16, 2024 · Backend Development

Design and Implementation of a FIFO Export Queue for Large Data Exports in Java

This article explains how to handle massive MySQL export operations by introducing a fixed‑size FIFO queue, detailing the Java classes ExportQueue, AbstractExport, and ExportImpl, and showing a test controller that demonstrates queue limits, concurrency handling, and future considerations.

BackendExport QueueFIFO
0 likes · 11 min read
Design and Implementation of a FIFO Export Queue for Large Data Exports in Java
Architect's Guide
Architect's Guide
Jul 16, 2024 · Backend Development

Refactoring Spring Boot Controllers: From Messy to Elegant

The article critiques overly complex Spring Boot controllers filled with repetitive validation and business logic, demonstrates cleaner implementations using @Valid, Assert, and global exception handling, and provides practical code examples and guidelines for building maintainable backend controllers.

@ValidBackendSpringBoot
0 likes · 10 min read
Refactoring Spring Boot Controllers: From Messy to Elegant
Lobster Programming
Lobster Programming
Jul 16, 2024 · Frontend Development

Mastering CORS: 6 Practical Solutions for Frontend‑Backend Integration

This article explains why browsers enforce same‑origin policy, how cross‑origin requests affect front‑end and back‑end communication, and presents six common solutions—including JSONP, Spring @CrossOrigin, WebMvcConfigurer, CorsFilter, Nginx proxy, and other advanced techniques—complete with code examples.

BackendCORSCross-Origin
0 likes · 8 min read
Mastering CORS: 6 Practical Solutions for Frontend‑Backend Integration
php Courses
php Courses
Jul 15, 2024 · Backend Development

Understanding PHP's array_key_first() Function: Syntax, Usage, and Examples

This article introduces PHP 7.3's new array_key_first() function, explains its syntax, demonstrates usage with examples for retrieving the first key and checking for empty arrays, discusses practical scenarios, and highlights precautions when arrays contain null values.

Backendarray functionsarray_key_first
0 likes · 3 min read
Understanding PHP's array_key_first() Function: Syntax, Usage, and Examples
Top Architect
Top Architect
Jul 14, 2024 · Backend Development

Designing Complex Payment Systems: Architecture, Process Decomposition, and Best Practices

The article outlines the challenges of payment systems, detailing business background, process decomposition, flow sequencing, structural design, related product and coupon management, and summarizes key technical considerations such as transaction management, locking, retry mechanisms, and fund settlement for robust backend development.

Backendarchitecturepayment
0 likes · 12 min read
Designing Complex Payment Systems: Architecture, Process Decomposition, and Best Practices
Architect
Architect
Jul 12, 2024 · Backend Development

How to Prevent Message Loss and Duplication in Kafka and RocketMQ

This article analyzes the root causes of message loss and duplication in modern message queues, explains how synchronous and asynchronous sending affect reliability, compares storage strategies like sync‑flush and broker clustering, and offers concrete idempotent handling techniques using database constraints and Redis.

BackendKafkaMessage Queue
0 likes · 8 min read
How to Prevent Message Loss and Duplication in Kafka and RocketMQ
Top Architect
Top Architect
Jul 12, 2024 · Backend Development

Traffic Governance and High Availability in Backend Systems: Circuit Breakers, Isolation, Retries, Timeouts, and Rate Limiting

This article explains how high‑availability backend systems use traffic governance techniques—including circuit breakers, various isolation strategies, retry and timeout policies, degradation mechanisms, and rate‑limiting—to maintain balanced data flow, prevent cascading failures, and ensure performance, scalability, and reliability.

BackendRetryTimeout
0 likes · 30 min read
Traffic Governance and High Availability in Backend Systems: Circuit Breakers, Isolation, Retries, Timeouts, and Rate Limiting
php Courses
php Courses
Jul 12, 2024 · Backend Development

How to Use PHP strlen() to Get String Length

This article explains how PHP's built‑in strlen() function works to calculate a string's length, provides a clear example with code, discusses its byte‑based return value and the implications for multibyte characters, and offers practical guidance for using it correctly in backend development.

Backendprogrammingstring length
0 likes · 3 min read
How to Use PHP strlen() to Get String Length
php Courses
php Courses
Jul 12, 2024 · Backend Development

Using PHP rename() Function to Rename Files and Directories

The article explains PHP's rename() function, detailing its syntax, required $source and $target parameters, return values, and provides clear examples for renaming both files and directories, along with important permission considerations and a concise summary of its usage.

BackendFilesystemfile-handling
0 likes · 3 min read
Using PHP rename() Function to Rename Files and Directories
Architecture Digest
Architecture Digest
Jul 11, 2024 · Backend Development

MyBatis-Plus Data Permission Interceptor: Annotation, Interceptor, and Role-Based Scope Implementation

This guide explains how to implement data permission control in MyBatis-Plus by creating a custom annotation, an interceptor that modifies SQL before execution, a handler that builds WHERE clauses based on user roles, and how to register the interceptor in the MyBatis-Plus plugin, covering both basic and advanced versions.

BackendData PermissionInterceptor
0 likes · 13 min read
MyBatis-Plus Data Permission Interceptor: Annotation, Interceptor, and Role-Based Scope Implementation
Top Architect
Top Architect
Jul 11, 2024 · Information Security

Why Many Developers Discourage Using JWT (JSON Web Token)

This article explains what JWT is, how it works in authentication flows, and details its major drawbacks—including large token size, redundant signatures, revocation difficulties, stale data risks, and lack of encryption—while concluding that JWT may be suitable only for short‑lived, single‑use scenarios.

BackendJWTsecurity
0 likes · 9 min read
Why Many Developers Discourage Using JWT (JSON Web Token)
php Courses
php Courses
Jul 11, 2024 · Backend Development

Using PHP's urldecode() Function: Concepts, Syntax, and Examples

This article explains PHP's urldecode() function, covering URL encoding basics, the function's prototype, usage examples with code demonstrating encoding with urlencode() and decoding back to the original string, and notes on limitations and the alternative rawurldecode() for non‑ASCII characters.

BackendPHPphp-functions
0 likes · 3 min read
Using PHP's urldecode() Function: Concepts, Syntax, and Examples
Architect's Guide
Architect's Guide
Jul 11, 2024 · Backend Development

Using Spring Transaction Hooks to Send Kafka Messages After Commit

This article demonstrates how to leverage Spring's TransactionSynchronizationManager to detect active transactions and register synchronization callbacks that asynchronously push payment‑ledger messages to Kafka only after the transaction successfully commits, ensuring data consistency and minimal impact on the main business flow.

BackendKafkaTransactionSynchronizationManager
0 likes · 9 min read
Using Spring Transaction Hooks to Send Kafka Messages After Commit
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jul 11, 2024 · Backend Development

Implementing Online User Counting with Redis Sorted Sets (zset)

This article explains how to track online users by assigning each user a unique identifier, storing it in a Redis sorted set with an expiration timestamp, and using zadd, zrangeByScore, zremrangeByScore, and zrem commands together with browser fingerprinting to reliably count and clean up active sessions.

BackendFingerprintJSJavaScript
0 likes · 7 min read
Implementing Online User Counting with Redis Sorted Sets (zset)
MaGe Linux Operations
MaGe Linux Operations
Jul 10, 2024 · Backend Development

How tunny Implements a Simple Goroutine Resource Pool in Go

This article explains how the tunny library wraps goroutine processing units into a workWrapper to limit concurrency, describes the workerWrapper.run flow that queues workRequests via reqChan, details the workRequest structure with jobChan and retChan, and outlines the required Worker interface methods for custom processing.

BackendGoresource pool
0 likes · 3 min read
How tunny Implements a Simple Goroutine Resource Pool in Go
php Courses
php Courses
Jul 10, 2024 · Backend Development

Using PHP's array_pop to Remove and Return the Last Element of an Array

This article explains how PHP's array_pop function removes and returns the last element of an array, demonstrates its syntax, provides a complete code example, and shows the resulting output, helping developers efficiently manipulate array data in backend applications.

BackendTutorialarray manipulation
0 likes · 3 min read
Using PHP's array_pop to Remove and Return the Last Element of an Array
21CTO
21CTO
Jul 9, 2024 · Backend Development

Which PHP Versions Dominate Packagist? A Six‑Month Usage Deep Dive

This article analyzes six‑month PHP version adoption trends in the Packagist ecosystem, presenting detailed usage percentages, six‑month growth rates, and the minimum PHP versions required by the most popular Composer packages, highlighting a shift toward newer releases and the importance of raising baseline requirements.

BackendComposerPackagist
0 likes · 6 min read
Which PHP Versions Dominate Packagist? A Six‑Month Usage Deep Dive
Architect
Architect
Jul 9, 2024 · Backend Development

Mastering Distributed Locks with Redis: From Simple SETNX to RedLock and Redisson

This article explains how to implement distributed locks using Redis, starting with a basic SETNX approach, identifying its shortcomings, and then presenting robust solutions such as identifier‑based unlocking, Lua scripts for atomicity, the RedLock algorithm, and Redisson’s advanced features including a watchdog mechanism.

BackendRedlockconcurrency
0 likes · 19 min read
Mastering Distributed Locks with Redis: From Simple SETNX to RedLock and Redisson
Architecture Digest
Architecture Digest
Jul 9, 2024 · Backend Development

Designing a Unified API Response Structure for Backend Services

This article explains how to design a unified API response format for backend services, covering JSON structure, status code conventions, message handling, data payload, a Result wrapper class, controller simplifications, custom annotations, interceptors, and global exception handling to achieve clean and maintainable code.

BackendDesignStatusCode
0 likes · 7 min read
Designing a Unified API Response Structure for Backend Services
php Courses
php Courses
Jul 9, 2024 · Backend Development

Understanding the Boolean true in PHP and Its Common Uses

This article explains the PHP boolean true, its role in conditionals and function return values, and demonstrates common usage through examples such as simple if statements, file writing with file_put_contents, and boolean variable assignments, illustrating how true indicates successful operations.

BackendConditionalsboolean
0 likes · 3 min read
Understanding the Boolean true in PHP and Its Common Uses
php Courses
php Courses
Jul 8, 2024 · Backend Development

Using PHP's array_search() Function: Syntax, Examples, and Best Practices

This article explains PHP's array_search() function, covering its syntax, parameter details, practical examples for finding values in indexed arrays, handling missing elements, strict versus loose comparison, and important usage considerations such as return behavior and limitations with associative arrays.

Backendarray_searchphp-array
0 likes · 5 min read
Using PHP's array_search() Function: Syntax, Examples, and Best Practices
Wukong Talks Architecture
Wukong Talks Architecture
Jul 8, 2024 · Backend Development

Design and Evolution of Ctrip Ticket Booking System for Flash‑Sale Events

This article analyzes the challenges faced by Ctrip's ticket‑booking transaction system during high‑traffic flash‑sale events and presents a series of architectural optimizations—including Redis caching, database load mitigation, supplier‑system safeguards, and fine‑grained traffic‑control strategies—to achieve stable, consistent, and fast performance under extreme concurrency.

BackendDatabase OptimizationSystem Architecture
0 likes · 15 min read
Design and Evolution of Ctrip Ticket Booking System for Flash‑Sale Events
Lobster Programming
Lobster Programming
Jul 7, 2024 · Backend Development

Understanding Linux poll(): Structure, Events, and How It Works

This article explains the Linux poll() system call, detailing its pollfd structure, event flags, parameters like nfds and timeout, return values, and step‑by‑step operation flow for reading and writing data, highlighting differences from select and its advantages on 32‑bit systems.

BackendIO MultiplexingSystem Call
0 likes · 5 min read
Understanding Linux poll(): Structure, Events, and How It Works
Liangxu Linux
Liangxu Linux
Jul 6, 2024 · Backend Development

Mastering Nginx Location Matching: Order, Rules, and Best Practices

This article explains the Nginx location matching hierarchy—including exact, longest‑prefix, regex, ^~, and default matches—illustrates each rule with configuration examples, and offers practical recommendations for writing efficient and reliable server blocks.

BackendNginxlocation
0 likes · 6 min read
Mastering Nginx Location Matching: Order, Rules, and Best Practices
IT Services Circle
IT Services Circle
Jul 6, 2024 · Backend Development

Design Techniques for High Availability in Large‑Scale Internet Architecture

This article explains the essential high‑availability design techniques for large‑scale internet systems, covering system splitting, decoupling, asynchronous processing, retry mechanisms, compensation, backup, multi‑active strategies, isolation, rate limiting, circuit breaking, and graceful degradation to ensure robust, scalable backend services.

BackendDistributed SystemsSystem Design
0 likes · 13 min read
Design Techniques for High Availability in Large‑Scale Internet Architecture
php Courses
php Courses
Jul 5, 2024 · Backend Development

Using PHP in_array() Function to Check for Values in Arrays

This article explains PHP's in_array() function, its syntax, parameters, return values, and demonstrates basic usage, strict mode, and multidimensional array searches with clear code examples, including how to handle type comparison and practical output handling in typical PHP development.

ArrayBackendin_array
0 likes · 4 min read
Using PHP in_array() Function to Check for Values in Arrays
转转QA
转转QA
Jul 5, 2024 · Backend Development

Design and Implementation of a Configuration Checking Tool for an After‑Sales System

The article describes how a configuration‑checking tool was designed and built to automatically compare baseline business configuration data with the after‑sales system's settings, detect mismatches before use, and alert responsible testers, thereby reducing manual verification effort and preventing workflow disruptions.

BackendConfiguration ManagementSystem Design
0 likes · 5 min read
Design and Implementation of a Configuration Checking Tool for an After‑Sales System
php Courses
php Courses
Jul 4, 2024 · Backend Development

Using PHP’s is_numeric() Function to Check Numeric Values

This article explains PHP’s is_numeric() function, detailing how it determines whether a variable is numeric, providing example code for direct checks, form input validation, and discussing edge cases such as trailing decimal points, making it a useful guide for beginner backend developers.

BackendPHPis_numeric
0 likes · 4 min read
Using PHP’s is_numeric() Function to Check Numeric Values
php Courses
php Courses
Jul 4, 2024 · Backend Development

Using PHP fgetc() to Read Characters from Files and User Input

This article explains the PHP fgetc() function, showing how to open a file with fopen(), read characters sequentially, handle end‑of‑file, and also capture single‑character user input from STDIN with practical code examples.

BackendTutorialUser Input
0 likes · 4 min read
Using PHP fgetc() to Read Characters from Files and User Input
Yum! Tech Team
Yum! Tech Team
Jul 3, 2024 · Backend Development

Implementing Sentinel for Traffic Protection and Rate Limiting in a Large-Scale Restaurant Digital Platform

This article details how a large restaurant chain leveraged the open‑source Sentinel framework to implement comprehensive traffic protection, rate limiting, and circuit‑breaking across millions of daily orders, describing challenges, design choices, high‑availability rule distribution, monitoring, user‑experience considerations, and providing Java code examples for integration.

Backendjavaobservability
0 likes · 11 min read
Implementing Sentinel for Traffic Protection and Rate Limiting in a Large-Scale Restaurant Digital Platform
php Courses
php Courses
Jul 3, 2024 · Backend Development

Using PHP rawurldecode() to Decode URL‑Encoded Strings

PHP's rawurldecode() function decodes URL-encoded strings back to their original form, works alongside urlencode(), and is demonstrated with syntax, example code, output, and notes on its behavior versus urldecode(), providing a concise guide for web developers handling URL parameters.

BackendPHPURL decoding
0 likes · 3 min read
Using PHP rawurldecode() to Decode URL‑Encoded Strings
Architect's Guide
Architect's Guide
Jul 3, 2024 · Backend Development

Hot‑Pluggable AOP Implementation in Spring: Dynamically Managing Advice

This article demonstrates how to implement hot‑pluggable AOP in Spring by allowing users to dynamically add or remove advice at runtime, covering prerequisite concepts, core logic, complete code examples, and test scenarios that show logging activation and deactivation without restarting the application.

AdviceBackendDynamic Plugin
0 likes · 9 min read
Hot‑Pluggable AOP Implementation in Spring: Dynamically Managing Advice
Top Architect
Top Architect
Jul 2, 2024 · Backend Development

Token Transmission and Unified Authorization Strategies in Microservices

The article discusses the drawbacks of token pass‑through authentication in microservices, recommends explicit userId parameter passing, compares unified authorization approaches using Spring Cloud Gateway with Feign or Dubbo, and explores non‑unified and Kubernetes‑integrated deployment patterns for backend services.

BackendDubbospring-cloud
0 likes · 13 min read
Token Transmission and Unified Authorization Strategies in Microservices
php Courses
php Courses
Jul 2, 2024 · Backend Development

Using PHP trim() to Remove Whitespace and Specific Characters from Strings

This article explains PHP's trim() function, its syntax, parameters, default behavior, and demonstrates how to remove whitespace or specific characters from strings using practical code examples; it also covers optional character mask usage and highlights important considerations when trimming strings in PHP development.

.trimBackendPHP
0 likes · 3 min read
Using PHP trim() to Remove Whitespace and Specific Characters from Strings
php Courses
php Courses
Jul 2, 2024 · Backend Development

Using PHP is_object Function to Check if a Variable Is an Object

This article explains how to use PHP's built-in is_object function to determine whether a variable is an object, illustrates its syntax, provides sample code comparing an object and an array, and highlights important considerations when distinguishing between these data types.

Backendis_objectobject-check
0 likes · 3 min read
Using PHP is_object Function to Check if a Variable Is an Object
php Courses
php Courses
Jul 2, 2024 · Backend Development

Reading Large Files in PHP Using fread Line by Line

This article explains how to efficiently read large files in PHP by using the fread function to process the file line by line, includes code examples, and discusses additional techniques such as buffering, fseek positioning, and increasing memory limits to avoid memory overflow.

Backendfile-handlingfread
0 likes · 4 min read
Reading Large Files in PHP Using fread Line by Line
Tencent Cloud Developer
Tencent Cloud Developer
Jul 2, 2024 · Backend Development

Mastering Backend Caching: Strategies, Types, Eviction & Common Pitfalls

An in‑depth guide to backend caching covers read‑through and cache‑aside strategies, local versus distributed caches (including Redis and Memcached), eviction algorithms such as FIFO, LRU and LFU, and tackles consistency, avalanche, penetration and breakdown issues with practical mitigation techniques.

BackendCache StrategiesEviction Policies
0 likes · 12 min read
Mastering Backend Caching: Strategies, Types, Eviction & Common Pitfalls
Alibaba Cloud Developer
Alibaba Cloud Developer
Jul 2, 2024 · Backend Development

When Should You Send Messages in a Transaction? Real‑World Order Processing Insights

This article examines the trade‑offs of sending messages before, during, or after database persistence in order‑creation workflows, explores transaction‑message patterns, half‑message checks, and message‑table strategies, and offers practical guidance for building reliable backend messaging systems.

BackendMessage QueueMessaging
0 likes · 10 min read
When Should You Send Messages in a Transaction? Real‑World Order Processing Insights
Open Source Tech Hub
Open Source Tech Hub
Jul 2, 2024 · Backend Development

How to Build RPC Services with ThinkPHP Swoole: Step-by-Step Guide

This guide explains how to set up remote procedure calls in a ThinkPHP application using the Swoole extension, covering extension installation, Composer dependencies, server and client configuration, interface definition, hot‑reload handling, and common pitfalls such as Xdebug conflicts.

BackendDistributed SystemsPHP
0 likes · 6 min read
How to Build RPC Services with ThinkPHP Swoole: Step-by-Step Guide
Java Architect Essentials
Java Architect Essentials
Jul 1, 2024 · Backend Development

Pitfalls of Java Bean Property Copy Tools and Recommended Alternatives

This article explains why generic Java bean property copy utilities like Spring BeanUtils, Apache Commons BeanUtils, and CGLIB can cause runtime type conversion errors and performance issues, demonstrates the problems with code examples, and recommends using custom converters or IDE‑generated mapping code such as MapStruct for safe and efficient object transformation.

BackendBeanUtilsPropertyCopy
0 likes · 8 min read
Pitfalls of Java Bean Property Copy Tools and Recommended Alternatives
php Courses
php Courses
Jul 1, 2024 · Backend Development

Using array_push() to Append Elements to PHP Arrays

This article explains how the PHP array_push() function works, covering its syntax, parameters, return value, and providing clear code examples that demonstrate adding single or multiple elements to an array and retrieving the new array length.

ArrayBackendarray_push
0 likes · 4 min read
Using array_push() to Append Elements to PHP Arrays
php Courses
php Courses
Jul 1, 2024 · Backend Development

Using curl_errno() in PHP to Retrieve cURL Error Codes

This article explains the PHP curl_errno() function, shows how to use it to obtain cURL error codes with example code, lists common error numbers, and demonstrates proper error handling to improve application stability.

BackendNetworkingcURL
0 likes · 4 min read
Using curl_errno() in PHP to Retrieve cURL Error Codes
Java Architect Essentials
Java Architect Essentials
Jun 30, 2024 · Backend Development

Integrating jCasbin Permission Management into Spring Boot Applications

This article demonstrates how to add jCasbin to a Spring Boot project, covering Maven dependencies, configuration files, Enforcer initialization, custom policy objects, a servlet filter for authorization, and dynamic add‑remove permission APIs, enabling lightweight, database‑driven access control.

AuthorizationBackendSpring Boot
0 likes · 10 min read
Integrating jCasbin Permission Management into Spring Boot Applications
Selected Java Interview Questions
Selected Java Interview Questions
Jun 30, 2024 · Backend Development

Design and Implementation of a Unified WebSocket Communication Service for Backend Systems

This article presents a comprehensive design of a unified WebSocket communication service that abstracts messaging, improves reliability with RabbitMQ, replaces polling with push, and provides standardized APIs and message formats for backend developers to quickly integrate real‑time features.

BackendRabbitMQReliability
0 likes · 9 min read
Design and Implementation of a Unified WebSocket Communication Service for Backend Systems
php Courses
php Courses
Jun 28, 2024 · Backend Development

Using PHP usort() to Sort Arrays with Custom Comparison Functions

This article explains how PHP's usort() function sorts arrays using a user‑defined comparison function, covering its syntax, example implementations for numeric and associative arrays, and important usage considerations, including code samples, handling of return values, and common pitfalls such as stability and side effects.

Backendarray-sortingcomparison-function
0 likes · 4 min read
Using PHP usort() to Sort Arrays with Custom Comparison Functions
php Courses
php Courses
Jun 28, 2024 · Backend Development

Implementing Product Purchase Quantity Limits in a PHP E‑Commerce Store

This article explains how to implement product purchase quantity limits in a PHP‑based online store, covering database schema changes, modifications to product detail, cart, and checkout pages, Ajax‑driven updates, inventory checks, and order management to prevent overselling and improve user experience.

BackendPHPajax
0 likes · 4 min read
Implementing Product Purchase Quantity Limits in a PHP E‑Commerce Store
php Courses
php Courses
Jun 28, 2024 · Backend Development

Using PHP's array_replace_recursive() Function to Merge Arrays Recursively

This article explains the PHP array_replace_recursive() function, its syntax, recursive merging behavior, example usage with code snippets, output interpretation, important considerations, and a comparison with array_merge_recursive() for effective backend array handling.

BackendPHPRecursion
0 likes · 4 min read
Using PHP's array_replace_recursive() Function to Merge Arrays Recursively
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 28, 2024 · Backend Development

Master Spring Boot 3.2.5: Custom Failure Analyzer, Environment & Web Server Settings

This guide walks through creating custom FailureAnalyzers, registering EnvironmentPostProcessors, configuring non‑web applications, switching profiles for YAML settings, altering the embedded web server, and customizing server factories in Spring Boot 3.2.5, complete with code examples and screenshots.

Backendfailure-analyzerjava
0 likes · 9 min read
Master Spring Boot 3.2.5: Custom Failure Analyzer, Environment & Web Server Settings
JavaEdge
JavaEdge
Jun 27, 2024 · Backend Development

Build a FastAPI Chatbot with LangChain and WebSocket – Step‑by‑Step Guide

This tutorial walks through installing FastAPI and related packages, creating a basic FastAPI app, adding chat, PDF, and text endpoints, integrating LangChain tools for AI responses, implementing a WebSocket echo service, and running the server with uvicorn, all illustrated with code snippets and screenshots.

APIBackendFastAPI
0 likes · 8 min read
Build a FastAPI Chatbot with LangChain and WebSocket – Step‑by‑Step Guide
Selected Java Interview Questions
Selected Java Interview Questions
Jun 27, 2024 · Backend Development

Caffeine Cache Introduction, Basics, and Spring Boot Integration

This article introduces the Java Caffeine caching library, explains its manual, loading, and async cache APIs, details eviction and refresh strategies, shows how to collect statistics, and demonstrates full integration with Spring Boot using Maven dependencies, cache annotations, constant definitions, configuration classes, and usage examples.

BackendCacheCaffeine
0 likes · 16 min read
Caffeine Cache Introduction, Basics, and Spring Boot Integration
php Courses
php Courses
Jun 27, 2024 · Backend Development

Using PHP fgetc() to Read Characters from Files and User Input

This article explains the PHP fgetc() function for reading a single character from an opened file or user input, demonstrates how to open files with fopen(), shows syntax and practical examples using loops and switch statements, and provides guidance for proper usage.

BackendPHPcharacter input
0 likes · 4 min read
Using PHP fgetc() to Read Characters from Files and User Input
php Courses
php Courses
Jun 27, 2024 · Backend Development

Using PHP’s is_numeric() Function to Determine Numeric Values

This article explains PHP’s is_numeric() function, detailing its purpose, usage, return values, and edge cases, and provides multiple code examples—including variable checks and form input validation—to help developers reliably determine whether a variable or user input is numeric.

BackendCode ExamplesPHP
0 likes · 3 min read
Using PHP’s is_numeric() Function to Determine Numeric Values
Zhuanzhuan Tech
Zhuanzhuan Tech
Jun 26, 2024 · Backend Development

Refactoring the Game Business Product Update MQ Consumer: Architecture, Design, and Implementation

This article details the background, problem analysis, and comprehensive refactoring plan for a game business's product update MQ consumer, outlining architectural redesign using Flyweight and Strategy patterns, phased implementation, testing strategies, idempotent handling, monitoring, and the resulting 50‑80% reduction in downstream interface calls.

BackendDesign PatternsMQ
0 likes · 13 min read
Refactoring the Game Business Product Update MQ Consumer: Architecture, Design, and Implementation
php Courses
php Courses
Jun 26, 2024 · Backend Development

How to Use PHP's usort() Function for Custom Array Sorting

This article explains the PHP usort() function, its syntax, how to write comparison callbacks, and demonstrates sorting numeric arrays, strings, and objects such as student records by age, while highlighting important usage considerations and pitfalls.

Backendarray-sortingcomparison-function
0 likes · 5 min read
How to Use PHP's usort() Function for Custom Array Sorting
php Courses
php Courses
Jun 26, 2024 · Backend Development

Implementing Purchase Quantity Limits in a PHP E‑Commerce Store

This article explains how to design the database, modify product detail, cart, and order pages, and use Ajax in PHP to enforce purchase quantity limits based on stock levels, ensuring accurate inventory management and improved user experience in online stores.

Backenddatabasee‑commerce
0 likes · 4 min read
Implementing Purchase Quantity Limits in a PHP E‑Commerce Store
php Courses
php Courses
Jun 26, 2024 · Backend Development

Using PHP's array_replace_recursive() to Recursively Merge Arrays

This article explains the PHP function array_replace_recursive(), showing its syntax, behavior, and examples of how it recursively merges multiple arrays while handling key conflicts and offering guidance on when to use it versus array_merge_recursive().

ArraysBackendPHP
0 likes · 4 min read
Using PHP's array_replace_recursive() to Recursively Merge Arrays
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 26, 2024 · Backend Development

Master SpringBoot PropertySourcesPlaceholderConfigurer & PropertyOverrideConfigurer

This guide explains how to use SpringBoot's PropertySourcesPlaceholderConfigurer and PropertyOverrideConfigurer to handle missing placeholders, set default values, customize prefixes, load custom property files, and override bean properties—including nested properties—while avoiding common pitfalls like startup errors and NPEs.

Backendjavapropertyoverrideconfigurer
0 likes · 6 min read
Master SpringBoot PropertySourcesPlaceholderConfigurer & PropertyOverrideConfigurer
21CTO
21CTO
Jun 25, 2024 · Backend Development

Why PHP Climbed to #15 in TIOBE’s June Index – What’s Driving Its Resurgence?

PHP’s rise to the 15th spot in the TIOBE June ranking highlights its enduring strength in web development, driven by mature frameworks, performance gains, a vibrant community, and integration with modern tools like Docker and front‑end frameworks, while also facing future challenges in scalability and cloud‑native adoption.

Backendperformance
0 likes · 8 min read
Why PHP Climbed to #15 in TIOBE’s June Index – What’s Driving Its Resurgence?
Architect
Architect
Jun 25, 2024 · Backend Development

Mastering Spring Transaction Hooks: Send Kafka Messages Only After Commit

This article explains how to use Spring's TransactionSynchronizationManager to detect active transactions and register callbacks that asynchronously send Kafka messages after a transaction successfully commits, ensuring data consistency in payment‑system archiving scenarios.

BackendKafkaSpringBoot
0 likes · 10 min read
Mastering Spring Transaction Hooks: Send Kafka Messages Only After Commit
Top Architect
Top Architect
Jun 25, 2024 · Backend Development

Design and Evolution of an Enterprise Unified Push Service

This article outlines the architecture, evolution stages, functional requirements, non‑functional requirements, and component design of a scalable enterprise‑level unified push service that supports multi‑channel notifications such as email, SMS, chat, and mobile push, while addressing high performance, availability, and extensibility.

BackendPush ServiceScalability
0 likes · 16 min read
Design and Evolution of an Enterprise Unified Push Service
Go Development Architecture Practice
Go Development Architecture Practice
Jun 25, 2024 · Backend Development

Common Go Pitfalls Every PHP Developer Should Avoid

A former PHP developer shares six typical Go programming mistakes—incorrect function syntax, map initialization, JSON struct export, slice mutation in loops, array versus slice semantics, and variable shadowing—along with corrected examples and explanations to help newcomers write idiomatic Go code.

BackendPHPPitfalls
0 likes · 6 min read
Common Go Pitfalls Every PHP Developer Should Avoid
php Courses
php Courses
Jun 25, 2024 · Backend Development

Using PHP's file() Function to Read Files into an Array

This tutorial explains how PHP's file() function reads a text file, returns each line as an array element, and how optional flags like FILE_IGNORE_NEW_LINES and FILE_SKIP_EMPTY_LINES can control newline retention and empty‑line handling.

ArrayBackendfile function
0 likes · 4 min read
Using PHP's file() Function to Read Files into an Array
php Courses
php Courses
Jun 25, 2024 · Backend Development

Using PHP fread() to Read Files: Syntax, Parameters, and Example

This article explains PHP’s fread() function, covering its syntax, parameters, return values, and provides a complete example demonstrating how to open a file, read its contents, handle errors, and close the file, along with notes on optional offset usage.

BackendPHPTutorial
0 likes · 4 min read
Using PHP fread() to Read Files: Syntax, Parameters, and Example
Sanyou's Java Diary
Sanyou's Java Diary
Jun 24, 2024 · Operations

How Visualized Full‑Chain Log Tracing Transforms Complex Business Systems

This article explains a new visualized full‑chain log tracing solution that organizes business logs by logical flow, dynamically links them during execution, and provides a visual, searchable view of the entire business process, dramatically improving issue localization in large‑scale distributed systems.

BackendOperationslog tracing
0 likes · 26 min read
How Visualized Full‑Chain Log Tracing Transforms Complex Business Systems
Selected Java Interview Questions
Selected Java Interview Questions
Jun 24, 2024 · Backend Development

Using Alibaba Druid Connection Pool in Spring Boot: Configuration, Monitoring, and Customization

This article provides a comprehensive guide on integrating Alibaba's Druid connection pool into Spring Boot applications, covering its advantages, dependency setup, detailed configuration properties, built‑in filters, monitoring pages, ad removal techniques, and programmatic access to runtime statistics.

BackendConnection PoolDruid
0 likes · 13 min read
Using Alibaba Druid Connection Pool in Spring Boot: Configuration, Monitoring, and Customization
php Courses
php Courses
Jun 24, 2024 · Backend Development

PHP Form Data Validation and Filtering Techniques

This article explains how to use PHP functions to validate required fields, email and phone formats, and to filter HTML tags, special characters, and SQL injection risks, providing code examples that help ensure secure and reliable form data handling.

Backenddata-filteringform-validation
0 likes · 4 min read
PHP Form Data Validation and Filtering Techniques
Top Architect
Top Architect
Jun 23, 2024 · Game Development

When to Use Microservices in Game Server Development: Benefits, Drawbacks, and Real‑Time Constraints

The article discusses a top architect's interview with a game company about microservice adoption, explains why real‑time performance and stateful requirements often make microservices unsuitable for game servers, and presents multiple expert opinions highlighting latency, network overhead, and team size considerations.

BackendReal-Timearchitecture
0 likes · 11 min read
When to Use Microservices in Game Server Development: Benefits, Drawbacks, and Real‑Time Constraints
Cognitive Technology Team
Cognitive Technology Team
Jun 21, 2024 · Backend Development

Setting a Global Timeout for Multi‑threaded API Calls in Java

The article explains how to enforce a global timeout for multiple concurrent API calls in Java, demonstrates the pitfalls of applying per‑task timeouts with Future#get, and presents correct solutions using ThreadPoolExecutor.invokeAll and CompletableFuture.allOf with code examples.

BackendTimeout
0 likes · 13 min read
Setting a Global Timeout for Multi‑threaded API Calls in Java
php Courses
php Courses
Jun 21, 2024 · Backend Development

Using PHP mb_strlen to Handle Multibyte Strings

This article explains how to enable the mbstring extension in PHP and use the mb_strlen function to accurately measure multibyte string lengths, including examples with UTF-8 encoding, handling empty strings, and combining with trim for robust string validation.

Backendmbstringmultibyte
0 likes · 5 min read
Using PHP mb_strlen to Handle Multibyte Strings
Code Ape Tech Column
Code Ape Tech Column
Jun 21, 2024 · Backend Development

Debugging a 100 ms Latency Bug in a Spring Boot Channel System Using Arthas

This article documents the step‑by‑step investigation of an unexpected ~100 ms response delay in a Spring Boot channel service, showing how network checks, curl tests, Arthas trace/stack commands, and source analysis revealed a Tomcat‑embed bug caused by Swagger‑ui resources and how upgrading Tomcat resolved the issue.

ArthasBackendPerformance debugging
0 likes · 14 min read
Debugging a 100 ms Latency Bug in a Spring Boot Channel System Using Arthas
Java Backend Technology
Java Backend Technology
Jun 20, 2024 · Backend Development

Top 20 Essential Java Libraries Every Developer Should Know

This article presents a curated list of the most useful third‑party Java libraries—covering logging, JSON, testing, utilities, HTTP, XML, Excel, bytecode, connection pools, messaging, PDF, HTML parsing, cryptography, embedded databases, JDBC debugging, serialization, networking, and more—to help developers write efficient, maintainable code without reinventing the wheel.

BackendDevelopmentlibraries
0 likes · 13 min read
Top 20 Essential Java Libraries Every Developer Should Know
Java Tech Enthusiast
Java Tech Enthusiast
Jun 20, 2024 · Industry Insights

Why Backend Engineers Often Rise to Leadership: Three Core Reasons

The article explains that backend engineers frequently become leaders because they handle business‑critical data and architecture, possess a broader understanding of company operations, and often have more interaction‑intensive experience, making them better suited for overseeing whole projects.

BackendLeadershipcareer
0 likes · 4 min read
Why Backend Engineers Often Rise to Leadership: Three Core Reasons
php Courses
php Courses
Jun 20, 2024 · Backend Development

Using PHP ltrim() to Remove Leading Whitespace and Characters

This article explains PHP's ltrim function, its syntax, optional character mask, and provides code examples showing how to strip leading whitespace or specific characters from strings, along with notes on behavior and related functions.

BackendPHPString Manipulation
0 likes · 4 min read
Using PHP ltrim() to Remove Leading Whitespace and Characters
php Courses
php Courses
Jun 20, 2024 · Backend Development

Using PHP filetype() Function to Determine File Types

This article explains the PHP filetype() function, its prototype, parameters, return values, and provides two practical code examples—one for retrieving a single file's type and another for listing the types of all files in a directory—helping developers handle files efficiently.

BackendCode ExamplePHP
0 likes · 3 min read
Using PHP filetype() Function to Determine File Types
Alipay Experience Technology
Alipay Experience Technology
Jun 19, 2024 · Backend Development

How Alipay’s “Mantiantianxing” Platform Boosts Development and Operations Efficiency

This article details how Alipay’s Mantiantianxing platform was designed and built to unify page construction, fine‑grained operation, and data feedback, thereby solving low R&D and operation efficiency, reducing duplication, and enabling rapid, scalable innovation across multiple product front‑ends and back‑ends.

BackendOperationsarchitecture
0 likes · 22 min read
How Alipay’s “Mantiantianxing” Platform Boosts Development and Operations Efficiency
Selected Java Interview Questions
Selected Java Interview Questions
Jun 19, 2024 · Backend Development

PowerJob: Introduction, Installation, and Task Configuration Guide

This article introduces the PowerJob Java distributed scheduling framework, explains its features and task types, provides step‑by‑step installation via JAR and Docker, demonstrates database setup, server and worker configuration, and details how to create and configure scheduled tasks with code examples.

BackendDistributed Schedulingjava
0 likes · 11 min read
PowerJob: Introduction, Installation, and Task Configuration Guide
php Courses
php Courses
Jun 19, 2024 · Backend Development

Using PHP file_exists() to Check File and Directory Existence

This article explains the PHP file_exists() function, its syntax, parameters, return values, and provides example code for checking both files and directories, along with important usage notes and best practices for reliable file system operations.

Backendfile checkfile_exists
0 likes · 4 min read
Using PHP file_exists() to Check File and Directory Existence
Code Mala Tang
Code Mala Tang
Jun 18, 2024 · Backend Development

Master Node.js Caching with lru-cache: From Basics to Advanced Techniques

Learn how to boost Node.js application performance using the popular lru-cache package, covering the LRU algorithm fundamentals, basic installation and usage, advanced features like peek, fetchMethod, and custom disposal, plus an in‑depth look at its internal Map and doubly‑linked list implementation.

BackendNode.jslru_cache
0 likes · 9 min read
Master Node.js Caching with lru-cache: From Basics to Advanced Techniques
Top Architect
Top Architect
Jun 18, 2024 · Backend Development

Application Layering and Domain Model Conversion: Best Practices and Alibaba Specification

This article explains the importance of clear application layering, compares Alibaba's multi‑layer architecture with optimized practices, details the conversion between various domain models (DO, DTO, BO, AO, VO, Query), and provides guidelines for maintaining clean responsibilities across Controller, Service, Manager, and DAO layers.

BackendServicearchitecture
0 likes · 12 min read
Application Layering and Domain Model Conversion: Best Practices and Alibaba Specification
php Courses
php Courses
Jun 18, 2024 · Backend Development

Using PHP strlen() to Get String Length

This article explains PHP's strlen() function, detailing its syntax, return value, and providing multiple code examples that demonstrate how to obtain a string's length, check for emptiness, enforce length limits, and handle multibyte characters, while noting the use of mb_strlen() for Unicode strings.

BackendTutorialstring length
0 likes · 4 min read
Using PHP strlen() to Get String Length