Tagged articles

backend

5000 articles · Page 19 of 50
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.

CacheCaffeineJava
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.

File HandlingPHPbackend
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.

PHPbackendcode examples
0 likes · 3 min read
Using PHP’s is_numeric() Function to Determine Numeric Values
dbaplus Community
dbaplus Community
Jun 26, 2024 · Backend Development

How Bilibili Scaled Its Membership Store: Async Order Processing and Sharding Strategies

This article details how Bilibili's Membership Store tackled massive traffic spikes by optimizing call chains, introducing asynchronous order processing, and implementing a sharding strategy that split databases and tables, ultimately achieving over 4000 TPS and stable performance during large‑scale promotions.

asyncbackendorder processing
0 likes · 14 min read
How Bilibili Scaled Its Membership Store: Async Order Processing and Sharding Strategies
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.

Design PatternsMQbackend
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.

array-sortingbackendcomparison-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.

DatabaseE‑commerceInventory
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().

ArraysPHParray_replace_recursive
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.

Javabackendpropertyoverrideconfigurer
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.

Performancebackend
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.

JavaKafkaSpring
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.

Push Servicebackendnotification architecture
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.

PHPbackendbeginners
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.

File HandlingPHPbackend
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.

Observabilitybackendlog 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.

DruidJavaSpring Boot
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.

Performancearchitecturebackend
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.

ArthasJavaSpring Boot
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.

DevelopmentLibrariesProductivity
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.

Leadershipbackendcareer
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.

PHPString Manipulationbackend
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.

Code ExampleFile HandlingPHP
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.

Platformarchitecturebackend
0 likes · 22 min read
How Alipay’s “Mantiantianxing” Platform Boosts Development and Operations Efficiency
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.

LRU cacheNode.jsPerformance
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.

DAODomain Modelarchitecture
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.

backendstring lengthstrlen
0 likes · 4 min read
Using PHP strlen() to Get String Length
php Courses
php Courses
Jun 18, 2024 · Backend Development

Using PHP getcwd() to Retrieve the Current Working Directory

This article explains how the PHP getcwd() function retrieves the absolute path of the current working directory, demonstrates usage with example code, discusses changing directories with chdir(), and highlights important considerations such as false returns and server‑side path differences.

PHPbackendfilesystem
0 likes · 4 min read
Using PHP getcwd() to Retrieve the Current Working Directory
MaGe Linux Operations
MaGe Linux Operations
Jun 17, 2024 · Backend Development

10 Common Go Pitfalls Every PHP Developer Should Avoid

This article shares ten frequent mistakes PHP developers encounter when switching to Go, covering function syntax, map initialization, JSON marshaling, loop variable handling, array vs slice semantics, and variable declaration nuances, each with problem description and corrected code examples.

PHPbackendpitfalls
0 likes · 7 min read
10 Common Go Pitfalls Every PHP Developer Should Avoid
DaTaobao Tech
DaTaobao Tech
Jun 17, 2024 · Backend Development

Cache Consistency Issues and Solutions in a High‑Concurrency Push System

The article examines a cache‑consistency failure in Tmall International’s high‑concurrency push system, explains classic cache problems and mitigation techniques, analyzes the delete‑then‑update bug that caused null‑plan errors, and evaluates four corrective strategies ranging from double‑write to delayed double‑delete.

CacheData Consistencybackend
0 likes · 13 min read
Cache Consistency Issues and Solutions in a High‑Concurrency Push System
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 17, 2024 · Backend Development

20 Essential Spring Boot Best Practices to Boost Your Java Backend

This article presents a comprehensive collection of Spring Boot best practices—including package structuring, design patterns, starter usage, dependency management, constructor injection, SLF4J logging, pagination, caching, exception handling, naming conventions, and code quality tools—to help developers build more efficient, maintainable, and robust Java backend applications.

Design PatternsJavaLogging
0 likes · 10 min read
20 Essential Spring Boot Best Practices to Boost Your Java Backend
php Courses
php Courses
Jun 17, 2024 · Backend Development

Using PHP's array_reverse() Function to Reverse Arrays

This article explains the PHP array_reverse() function, its syntax, optional preserve_keys parameter, and provides multiple code examples demonstrating how to reverse indexed and associative arrays and combine the function with sort() for more complex array manipulations.

ArraysPHParray_reverse
0 likes · 3 min read
Using PHP's array_reverse() Function to Reverse Arrays
Lobster Programming
Lobster Programming
Jun 15, 2024 · Backend Development

Choosing the Right Distributed ID Generation Strategy for Scalable Systems

This guide examines ten popular distributed ID generation techniques—from simple UUIDs and database auto‑increment keys to advanced Snowflake, Redis, Zookeeper, and open‑source solutions like Baidu uid‑generator, Meituan Leaf, and Didi Tinyid—highlighting their pros, cons, and suitable scenarios for high‑traffic systems.

backenddistributed IDsnowflake
0 likes · 8 min read
Choosing the Right Distributed ID Generation Strategy for Scalable Systems
php Courses
php Courses
Jun 14, 2024 · Backend Development

Using PHP basename() Function to Extract File Names from Paths

This article explains the PHP basename() function, its syntax, parameters, and demonstrates its usage through multiple examples showing how to extract file names from absolute and relative paths and optionally remove suffixes.

File PathPHPbackend
0 likes · 4 min read
Using PHP basename() Function to Extract File Names from Paths
Go Programming World
Go Programming World
Jun 13, 2024 · Backend Development

Using Wire for Dependency Injection in Go Web Applications: A Practical Guide

This article demonstrates how to apply Google’s Wire tool in a production‑grade Go web service, covering project layout, a four‑layer architecture, code generation for constructors, comparisons with dig and inject, and practical CLI usage to streamline dependency injection and improve development efficiency.

GoWeb Developmentarchitecture
0 likes · 23 min read
Using Wire for Dependency Injection in Go Web Applications: A Practical Guide
Top Architect
Top Architect
Jun 13, 2024 · Backend Development

FastJSON Serialization Mechanics: Why isChinaName() Executes and How to Control Serialized Output

This article analyzes a FastJSON serialization issue where a newly added log line triggered unexpected method calls, explains the underlying ASM‑generated serializer and JavaBeanSerializer logic, demonstrates code examples, outlines common pitfalls such as @JSONField annotations and getter patterns, and proposes best‑practice conventions for reliable backend serialization.

ASMJSONFieldJava serialization
0 likes · 9 min read
FastJSON Serialization Mechanics: Why isChinaName() Executes and How to Control Serialized Output
php Courses
php Courses
Jun 13, 2024 · Backend Development

Using PHP rewind() Function to Reset the File Pointer

This article explains PHP's rewind() function, detailing its syntax, parameters, return values, and providing two practical code examples that demonstrate resetting a file pointer for both reading and writing operations within a.

File HandlingPHPbackend
0 likes · 4 min read
Using PHP rewind() Function to Reset the File Pointer
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jun 13, 2024 · Backend Development

Comprehensive Guide to Parameter Validation in Spring Boot Backend Development

This article explains why parameter validation is essential in Java web development, compares traditional manual checks with validator libraries, demonstrates practical usage of Bean Validation, Hibernate‑Validator, and Spring Boot starter‑validation, and covers advanced topics such as nested validation, group validation, custom constraints, and the underlying validation mechanism.

Custom AnnotationHibernate ValidatorJava
0 likes · 32 min read
Comprehensive Guide to Parameter Validation in Spring Boot Backend Development
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 13, 2024 · Backend Development

Master SpringBoot 3.2.5: 9 Essential Techniques to Access Request Data

This tutorial demonstrates nine practical ways to handle SpringBoot 3.2.5 request data, including Optional‑wrapped parameters, direct Servlet API access, retrieving the authenticated Principal, extracting method and locale, reading InputStream, using HttpEntity for headers and body, building request URIs, handling multipart parts, and passing flash attributes on redirects.

Javabackendmultipart
0 likes · 7 min read
Master SpringBoot 3.2.5: 9 Essential Techniques to Access Request Data
DevOps
DevOps
Jun 12, 2024 · Backend Development

Analysis and Implementation of Various WeChat Red Packet Distribution Algorithms in PHP

This article examines four common WeChat red packet distribution algorithms—simple random, double‑mean, line‑segment division, and array_rand optimization—explaining their principles, PHP implementations, performance characteristics, and how to verify randomness, providing code samples and comparative analysis for developers.

AlgorithmPHPPerformance
0 likes · 13 min read
Analysis and Implementation of Various WeChat Red Packet Distribution Algorithms in PHP
Top Architect
Top Architect
Jun 12, 2024 · Backend Development

Payment Business Architecture: Process Decomposition, Sequence Design, and Structural Design

The article explains how to analyze, decompose, and design a complex payment workflow by breaking it into modules, defining pre‑payment, payment‑gateway, and post‑payment sequences, and outlining the essential data structures such as account management, transaction records, and order handling, while also highlighting practical implementation considerations.

architecturebackendpayment
0 likes · 10 min read
Payment Business Architecture: Process Decomposition, Sequence Design, and Structural Design
php Courses
php Courses
Jun 12, 2024 · Backend Development

Using PHP ftell() to Retrieve the Current File Pointer Position

This article explains the PHP ftell() function, detailing its purpose, parameters, return values, and providing a complete code example that reads the first ten bytes of a file, displays the content, and shows how to obtain and output the file pointer's byte offset.

Code ExampleFile HandlingPHP
0 likes · 4 min read
Using PHP ftell() to Retrieve the Current File Pointer Position
php Courses
php Courses
Jun 12, 2024 · Backend Development

Using PHP json_decode to Convert JSON Strings to PHP Variables

This article explains how PHP's json_decode function can transform JSON-formatted strings into PHP objects or associative arrays, demonstrates usage with code examples, and shows the resulting output for both object and array conversions.

backenddata conversionjson
0 likes · 4 min read
Using PHP json_decode to Convert JSON Strings to PHP Variables
Java Architect Essentials
Java Architect Essentials
Jun 11, 2024 · Backend Development

Why Consistent API Responses Matter: A Java Controller & AOP Guide

The article explains common pitfalls in Java API design—such as inconsistent return formats, missing error handling, irrelevant parameters, and improper use of maps or JSON strings—and demonstrates how adopting a unified ResultBean structure together with AOP can improve readability, error management, and testability of backend services.

AOPAPI designController
0 likes · 10 min read
Why Consistent API Responses Matter: A Java Controller & AOP Guide
Top Architect
Top Architect
Jun 11, 2024 · Backend Development

Designing an API Layer and BFF Architecture for a Large-Scale Supply Chain System

The article examines a large-scale supply‑chain system’s architecture, highlighting issues with service placement and dependencies, proposing an intermediate API layer for aggregation, distributed calls, and decoration, and ultimately recommending a Backend‑for‑Frontend approach to tailor APIs per client while reducing coupling.

BFFarchitecturebackend
0 likes · 13 min read
Designing an API Layer and BFF Architecture for a Large-Scale Supply Chain System
Architecture Digest
Architecture Digest
Jun 11, 2024 · Databases

Multi‑Branch Product Sales Statistics Query Using Row Comparison in MySQL

This article explains how to design a MySQL table for product sales statistics, initialize massive test data, and compare several query strategies—including loop queries, OR‑concatenated dynamic SQL, mixed filtering, and the SQL‑92 row‑comparison technique—to efficiently retrieve sales figures for multiple business units and their products without violating development constraints.

Dynamic SQLMySQLPerformance
0 likes · 7 min read
Multi‑Branch Product Sales Statistics Query Using Row Comparison in MySQL
Java Tech Enthusiast
Java Tech Enthusiast
Jun 11, 2024 · Backend Development

Hot‑Pluggable AOP: Dynamic Advice Management in Spring

The article shows how to implement a hot‑plug AOP system in Spring that lets users enable or disable logging at runtime by scanning, registering, and deregistering Advice/Advisor/Pointcut beans through the bean factory, demonstrated with a REST endpoint that adds or removes a logging interceptor.

Dynamic PluginJavaSpring AOP
0 likes · 9 min read
Hot‑Pluggable AOP: Dynamic Advice Management in Spring
php Courses
php Courses
Jun 11, 2024 · Backend Development

Using curl_exec() in PHP to Retrieve Web Content

This article explains how the PHP cURL library, especially the curl_exec() function, can be used to initialize a session, set options, execute HTTP requests, handle errors, and retrieve remote page content efficiently.

HTTP requestWeb Scrapingbackend
0 likes · 4 min read
Using curl_exec() in PHP to Retrieve Web Content
Java Backend Technology
Java Backend Technology
Jun 10, 2024 · Fundamentals

Unlock Java 17: 10 Must‑Know Language Features That Boost Your Code

This article walks Java developers through the most useful JDK 17 enhancements—including text blocks, improved NullPointerException messages, records, the new switch expression, private interface methods, pattern matching, collection factory methods, enriched String APIs, Stream API upgrades, the modern HttpClient, JShell, direct file execution, and ZGC—showing code examples and practical benefits.

backendjdk17new-features
0 likes · 14 min read
Unlock Java 17: 10 Must‑Know Language Features That Boost Your Code
Top Architect
Top Architect
Jun 10, 2024 · Operations

Comprehensive Guide to the Workflow System: Frameworks, Features, and Process Design

This guide details the workflow system’s underlying frameworks, functional modules, process design operations, form customization, deployment procedures, and task management features, providing a comprehensive overview for developers and administrators to effectively implement and maintain business processes.

backendfrontendprocess design
0 likes · 10 min read
Comprehensive Guide to the Workflow System: Frameworks, Features, and Process Design
Cognitive Technology Team
Cognitive Technology Team
Jun 10, 2024 · Backend Development

Recursive Update Bug in ConcurrentHashMap.computeIfAbsent Causing Infinite Loop and CPU Spike

The article explains a bug in Java's ConcurrentHashMap.computeIfAbsent that can cause recursive updates and infinite loops, leading to CPU spikes, and shows that newer Java versions throw an IllegalStateException while recommending avoiding nested computeIfAbsent/putIfAbsent calls, with a code example.

ConcurrentHashMapJavabackend
0 likes · 3 min read
Recursive Update Bug in ConcurrentHashMap.computeIfAbsent Causing Infinite Loop and CPU Spike
Test Development Learning Exchange
Test Development Learning Exchange
Jun 6, 2024 · Backend Development

Applying Python Metaclasses for Dynamic API Enhancements

This article demonstrates how Python metaclasses can be leveraged to automatically add authentication headers, manage configuration, log requests, handle exceptions, generate test cases, switch environments, validate parameters, control API versioning, register response validators, and inject dependencies, streamlining backend development.

APIDesign PatternsPython
0 likes · 10 min read
Applying Python Metaclasses for Dynamic API Enhancements
Architect
Architect
Jun 6, 2024 · Backend Development

Why Fast‑Retry Beats Spring‑Retry for Million‑Task Scenarios

The article explains how Fast‑Retry, an asynchronous multi‑task retry framework, dramatically outperforms synchronous retry libraries like Spring‑Retry and Guava‑Retry when handling massive workloads, and provides step‑by‑step code examples, performance benchmarks, and integration tips for Java developers.

AsynchronousJavaPerformance
0 likes · 8 min read
Why Fast‑Retry Beats Spring‑Retry for Million‑Task Scenarios
php Courses
php Courses
Jun 6, 2024 · Backend Development

Using PHP urlencode to Encode URLs with Special and Non-ASCII Characters

This article explains the importance of URL encoding for transmitting special and non-ASCII characters, demonstrates how to use PHP’s urlencode (and rawurlencode) function with example code for English and Chinese strings, and discusses practical considerations such as handling spaces in GET requests.

backendurl-encodingweb-development
0 likes · 3 min read
Using PHP urlencode to Encode URLs with Special and Non-ASCII Characters
Tencent Cloud Developer
Tencent Cloud Developer
Jun 6, 2024 · Backend Development

Tencent News Recommendation Architecture Upgrade

Tencent News upgraded its recommendation architecture by consolidating data platforms, redesigning index and feature services, adopting DDD and Lambda/Kappa patterns, and adding robust debugging and stability measures, which boosted availability to 99.99%, cut CPU, memory and cost by over 60%, and accelerated development and experiment cycles.

DDDPerformanceTencent News
0 likes · 28 min read
Tencent News Recommendation Architecture Upgrade
php Courses
php Courses
Jun 5, 2024 · Backend Development

Using PHP’s is_float() Function to Check for Floating-Point Numbers

This article explains PHP’s built‑in is_float() function, demonstrating how it checks whether a variable is a floating‑point number, with simple and complex code examples, output explanations, and notes on type strictness and practical usage scenarios.

PHPType Checkingbackend
0 likes · 5 min read
Using PHP’s is_float() Function to Check for Floating-Point Numbers
Top Architect
Top Architect
Jun 3, 2024 · Backend Development

Understanding Delay Queues and Implementing Them with JDK, RabbitMQ, Redis, and lmstfy

This article explains the concept, use cases, and common implementations of delay queues—including JDK's DelayQueue, RabbitMQ plugins, and Redis ZSet—followed by a detailed guide to installing, configuring, and using the open‑source lmstfy project, and concludes with promotional information for ChatGPT‑related services.

GoMessage QueueRedis
0 likes · 14 min read
Understanding Delay Queues and Implementing Them with JDK, RabbitMQ, Redis, and lmstfy
Architecture Digest
Architecture Digest
Jun 3, 2024 · Backend Development

Spring Statemachine for Order State Management with Persistence, Exception Handling, and AOP Logging

This article explains the fundamentals of finite state machines, introduces Spring Statemachine, demonstrates how to model order lifecycle states, configure persistence with memory and Redis, handle exceptions during state transitions, and use AOP to log transition results, providing complete Java code examples.

AOPJavaPersistence
0 likes · 23 min read
Spring Statemachine for Order State Management with Persistence, Exception Handling, and AOP Logging
php Courses
php Courses
Jun 3, 2024 · Backend Development

Using fopen() in PHP: Syntax, Parameters, and Practical Examples

This article explains PHP's fopen() function, detailing its syntax, parameters, and four practical code examples for reading, writing, appending, and accessing URLs, while emphasizing proper mode selection and the importance of closing file handles to release resources.

File HandlingPHPbackend
0 likes · 3 min read
Using fopen() in PHP: Syntax, Parameters, and Practical Examples
FunTester
FunTester
Jun 3, 2024 · Backend Development

Implementing Unix Domain Socket Communication in Java with junixsocket

This article demonstrates how to use the junixsocket library to add Unix domain socket support to Java applications, providing Maven dependency details, full server and client code examples, and cross‑language testing with a Go server implementation.

IPCJavaUnix socket
0 likes · 6 min read
Implementing Unix Domain Socket Communication in Java with junixsocket
Selected Java Interview Questions
Selected Java Interview Questions
Jun 2, 2024 · Backend Development

Implementing a Data Permission Interceptor with MyBatis‑Plus in Java

This article explains how to create a custom annotation and MyBatis‑Plus interceptor that automatically injects data‑permission WHERE clauses based on the current user's role, covering both a basic implementation and an advanced version with role‑based scope handling, complete with configuration and usage examples.

AnnotationData PermissionJava
0 likes · 16 min read
Implementing a Data Permission Interceptor with MyBatis‑Plus in Java
Tech Architecture Stories
Tech Architecture Stories
Jun 1, 2024 · Backend Development

Surviving a Pandemic-Scale Backend: Lessons from Tencent’s 2020 Video Red‑Packet Project

This article recounts the technical and organizational challenges of building Tencent WeSee's 2020 Spring video red‑packet system, detailing high‑traffic spikes, consistency and security demands, TRPC adoption risks, performance bottlenecks, and the 33 robustness principles that guided the subsequent architecture overhaul.

System Architecturebackendscalability
0 likes · 8 min read
Surviving a Pandemic-Scale Backend: Lessons from Tencent’s 2020 Video Red‑Packet Project
21CTO
21CTO
May 31, 2024 · Backend Development

When Outsourcing Becomes a Nightmare: A Backend Developer’s Survival Story

A senior developer recounts how a Fortune‑500 project's ill‑planned outsourcing to a vendor using a massive MongoDB JSON store led to performance bottlenecks, hidden limits, and a frantic internal rewrite that forced the team to work through holidays and ultimately deliver a successful release.

MongoDBProject Managementbackend
0 likes · 12 min read
When Outsourcing Becomes a Nightmare: A Backend Developer’s Survival Story
Selected Java Interview Questions
Selected Java Interview Questions
May 31, 2024 · Backend Development

Flexible Switching Between Spring @Scheduled and XXL‑JOB for Scheduled Tasks

This article explains how to implement a configuration‑driven mechanism that dynamically switches between Spring's native @Scheduled tasks and XXL‑JOB execution, automatically registers jobs, disables Spring's scheduler when needed, and forwards logs to the XXL‑JOB console, providing a complete starter solution for backend developers.

AutoConfigurationJavaScheduledTasks
0 likes · 25 min read
Flexible Switching Between Spring @Scheduled and XXL‑JOB for Scheduled Tasks
php Courses
php Courses
May 31, 2024 · Backend Development

Using PHP readfile() to Output File Contents to Browser or Another File

This article explains the PHP readfile() function, its syntax and return values, and provides step‑by‑step examples showing how to display a text file in the browser, force a download, and copy its contents to another file using simple PHP code.

File HandlingPHPbackend
0 likes · 4 min read
Using PHP readfile() to Output File Contents to Browser or Another File
php Courses
php Courses
May 30, 2024 · Backend Development

Using PHP's floatval Function to Convert Variables to Float

This article explains PHP’s built‑in `floatval` function, showing its syntax, how it converts various variable types—including integers, strings, booleans, and arrays—to floating‑point numbers, and highlights important considerations such as handling non‑numeric strings that result in a zero value.

PHPbackendfloatval
0 likes · 4 min read
Using PHP's floatval Function to Convert Variables to Float
Go Programming World
Go Programming World
May 30, 2024 · Backend Development

Standardizing RESTful API Error Handling with Business Error Codes and an Error Package in Go

This article explains how to design a unified business error‑code system for RESTful APIs, demonstrates the structure and format of such codes, provides a Go implementation with structs, interfaces and formatting methods, and shows practical usage in a Gin web server including logging and notification strategies.

GinGoRESTful API
0 likes · 22 min read
Standardizing RESTful API Error Handling with Business Error Codes and an Error Package in Go
Code Ape Tech Column
Code Ape Tech Column
May 30, 2024 · Backend Development

Dynamic Loading of JAR Files in Spring Boot Applications

This article explains the concepts and step-by-step implementation of dynamically loading JAR packages in Spring Boot applications, covering built‑in classloader usage, creating JARs, and leveraging third‑party libraries to enhance flexibility and extensibility.

ClassLoaderDynamic LoadingJava
0 likes · 9 min read
Dynamic Loading of JAR Files in Spring Boot Applications
Java Architect Essentials
Java Architect Essentials
May 29, 2024 · Backend Development

Deploying Redis Sentinel with Portainer and Integrating It into Spring Boot

This tutorial walks through installing Portainer, using it to deploy a Redis master‑slave‑sentinel cluster with Docker Compose, creating a custom bridge network, testing failover, and finally integrating the sentinel setup into a Spring Boot application with Lettuce connection pooling and sample controller code.

DockerDocker ComposeLettuce
0 likes · 15 min read
Deploying Redis Sentinel with Portainer and Integrating It into Spring Boot