Tagged articles

Backend

5000 articles · Page 18 of 50
FunTester
FunTester
Aug 2, 2024 · Industry Insights

Why JavaScript Dominates Full‑Stack Web Development and What Skills You Need

This article analyzes how JavaScript’s rich functionality, expanding ecosystem, and single‑language workflow have reshaped web development, outlines the essential front‑end and back‑end skills for full‑stack developers, and explores the career advantages and future trends such as WebAssembly.

BackendCareerFull-Stack
0 likes · 10 min read
Why JavaScript Dominates Full‑Stack Web Development and What Skills You Need
Selected Java Interview Questions
Selected Java Interview Questions
Aug 1, 2024 · Backend Development

Spring Annotation-Based Development and MyBatis Integration Guide

This article explains how Spring 3.0's pure annotation development simplifies bean configuration, demonstrates defining beans with @Component, managing bean scopes, performing various injection techniques, reading properties files, and integrating MyBatis, providing complete code examples and best‑practice tips for backend Java developers.

BackendDependency InjectionJava
0 likes · 11 min read
Spring Annotation-Based Development and MyBatis Integration Guide
php Courses
php Courses
Aug 1, 2024 · Backend Development

Understanding PHP's array_unique() Function: Definition, Implementation, Usage, and Performance Optimization

This article explains PHP's array_unique() function, covering its definition, parameters, implementation logic, practical usage examples, and performance enhancements using array_flip(), providing clear code snippets and detailed explanations to efficiently remove duplicate values from arrays and improve execution speed in real-world applications.

Backendarray_uniqueduplicate removal
0 likes · 4 min read
Understanding PHP's array_unique() Function: Definition, Implementation, Usage, and Performance Optimization
php Courses
php Courses
Aug 1, 2024 · Backend Development

Understanding and Using PHP's is_file() Function

The article explains PHP's is_file() function, how it determines file existence, proper usage with absolute or relative paths, differences from is_dir(), handling of symlinks, and provides practical code examples for checking files before reading them, emphasizing its importance for backend developers.

BackendFile HandlingPHP
0 likes · 4 min read
Understanding and Using PHP's is_file() Function
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Aug 1, 2024 · Backend Development

Backend API Design Best Practices

This article outlines comprehensive backend API design guidelines, covering parameter validation, extensibility, idempotency, logging, thread‑pool isolation, third‑party error handling, asynchronous processing, parallel queries, rate limiting, security, lock granularity, and strategies to avoid long‑running transactions.

API DesignBackendasynchronous
0 likes · 11 min read
Backend API Design Best Practices
Architect
Architect
Jul 31, 2024 · Backend Development

Mastering WebSocket Integration in Spring Boot: Javax, WebMVC, WebFlux, and More

This article walks through the author's practical research on integrating WebSocket in Spring Boot, detailing step‑by‑step configurations for Javax, WebMVC, and WebFlux, comparing their APIs, highlighting pitfalls, and providing concrete code snippets and cold‑knowledge tips for both server and client implementations.

BackendJavaSpring Boot
0 likes · 19 min read
Mastering WebSocket Integration in Spring Boot: Javax, WebMVC, WebFlux, and More
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Jul 31, 2024 · Backend Development

Master Nginx Load Balancing: Round‑Robin, Weighted, IP‑Hash & Least‑Conn Explained

This guide walks through Nginx’s four primary load‑balancing methods—round‑robin, weighted, IP‑hash, and least‑connections—explaining their principles, when to use each, and providing complete configuration examples and code snippets to help you distribute traffic efficiently across multiple backend servers.

BackendConfigurationNginx
0 likes · 6 min read
Master Nginx Load Balancing: Round‑Robin, Weighted, IP‑Hash & Least‑Conn Explained
Top Architect
Top Architect
Jul 31, 2024 · Backend Development

Design and Implementation of a Generic Asynchronous Processing SDK for Spring Applications

This article introduces a Spring‑based asynchronous processing SDK that leverages annotations, transaction event listeners, Kafka, XXL‑Job, and a dedicated database to achieve non‑blocking execution, fault tolerance, and eventual consistency while preserving transaction integrity and providing a clear configuration and usage guide.

BackendDesign PatternKafka
0 likes · 12 min read
Design and Implementation of a Generic Asynchronous Processing SDK for Spring Applications
Selected Java Interview Questions
Selected Java Interview Questions
Jul 31, 2024 · Backend Development

Resolving Lombok @Data and @Builder Conflict: Restoring the No‑Args Constructor

This article explains why combining Lombok's @Data and @Builder annotations can remove the automatically generated no‑args constructor, demonstrates the resulting compilation errors, and provides two practical solutions using @Tolerate or a combination of @RequiredArgsConstructor and @NoArgsConstructor, while also describing Lombok's annotation‑processing mechanism.

BackendBuilderJava
0 likes · 4 min read
Resolving Lombok @Data and @Builder Conflict: Restoring the No‑Args Constructor
Top Architect
Top Architect
Jul 30, 2024 · Backend Development

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

This article analyzes the complexities of payment system design, covering business background, modular process breakdown, sequence diagrams for pre‑payment, payment integration, post‑payment stages, and detailed structural design, while also highlighting related business components and practical implementation tips.

ArchitectureBackendSystem Design
0 likes · 12 min read
Payment System Architecture: Business Background, Process Decomposition, Sequence Design, and Structural Design
php Courses
php Courses
Jul 30, 2024 · Backend Development

Using Closure Functions to Encapsulate Reusable Code Blocks in PHP

This article explains how PHP closure functions can be used to encapsulate reusable code blocks, demonstrates practical examples including simple arithmetic, data processing callbacks, and integration with object‑oriented programming to improve code reuse and maintainability.

BackendPHP
0 likes · 5 min read
Using Closure Functions to Encapsulate Reusable Code Blocks in PHP
php Courses
php Courses
Jul 30, 2024 · Backend Development

How to Use PHP's in_array() Function to Check for Elements in an Array

This article explains PHP's in_array() function, detailing its syntax, parameters, return values, and demonstrates basic usage, strict mode comparison, and searching within multidimensional arrays through clear code examples to help developers efficiently check element existence in arrays.

BackendCode Examplesarray
0 likes · 5 min read
How to Use PHP's in_array() Function to Check for Elements in an Array
BirdNest Tech Talk
BirdNest Tech Talk
Jul 30, 2024 · Fundamentals

Master Conditional Compilation in Rust with cfg_if: A Practical Guide

This article explains how the Rust cfg_if crate simplifies conditional compilation by providing a macro that replaces nested #[cfg] attributes with clear if‑else or match structures, shows step‑by‑step usage, advanced patterns, and compares cfg_if to raw #[cfg] for readability and maintainability.

BackendConditional CompilationRust
0 likes · 8 min read
Master Conditional Compilation in Rust with cfg_if: A Practical Guide
JD Cloud Developers
JD Cloud Developers
Jul 29, 2024 · Backend Development

Designing Robust Backend Services: Path Standards, Security, Monitoring, and Degradation Strategies

This article outlines comprehensive best‑practice guidelines for designing robust, secure, and maintainable backend services—covering API path conventions, request handling, parameter design, error codes, dependency management, monitoring, degradation strategies, legacy service handling, encryption, access control, and tamper‑proof mechanisms, with practical code examples.

API DesignBackendSecurity
0 likes · 18 min read
Designing Robust Backend Services: Path Standards, Security, Monitoring, and Degradation Strategies
php Courses
php Courses
Jul 29, 2024 · Backend Development

Using PHP’s array_values() Function to Reindex Arrays

This article explains PHP’s array_values() function, showing how it returns a new array with reindexed numeric keys, works with both indexed and associative arrays, provides code examples, and highlights that the returned array is a copy, not a reference to the original.

BackendTutorialarray
0 likes · 4 min read
Using PHP’s array_values() Function to Reindex Arrays
php Courses
php Courses
Jul 29, 2024 · Backend Development

Using PHP’s array_unique() Function to Extract Unique Values

This article explains PHP’s built-in array_unique() function, detailing its syntax, behavior, and flags, and demonstrates how to remove duplicate values from arrays with practical code examples and real-world use cases such as data cleaning, input validation, and aggregation.

Backendarray_uniquearrays
0 likes · 6 min read
Using PHP’s array_unique() Function to Extract Unique Values
php Courses
php Courses
Jul 29, 2024 · Mobile Development

Full-Stack APP Development with uniapp and ThinkPHP

This course teaches learners with basic front‑end skills how to combine the uniapp framework and ThinkPHP backend to build high‑performance, cross‑platform mobile applications, covering data modeling, token authentication, API design, middleware, pagination, and deployment.

BackendFull-StackMobile App
0 likes · 3 min read
Full-Stack APP Development with uniapp and ThinkPHP
Test Development Learning Exchange
Test Development Learning Exchange
Jul 28, 2024 · Backend Development

Boost API Automation Testing with Parameterized Python Decorators

This guide demonstrates how parameterized Python decorators can streamline repetitive tasks in API automation testing—handling login tokens, retries, environment selection, data‑driven tests, logging, performance monitoring, permission checks, mock responses, cleanup, and test tagging—reducing code duplication and improving maintainability.

API-testingBackendCode Examples
0 likes · 8 min read
Boost API Automation Testing with Parameterized Python Decorators
IT Services Circle
IT Services Circle
Jul 28, 2024 · Backend Development

Root Cause Analysis of Repeated Backend Service Outages: Connection Pool Exhaustion and Slow SQL

During a Monday incident where the backend service became unavailable three times, the author details step-by-step investigations—checking frontend responses, container status, JVM and thread pool metrics, and database connection pool usage—ultimately identifying a slow, unindexed SQL query that exhausted connections, and describes the remediation and lessons learned.

BackendSlow SQLconnection pool
0 likes · 10 min read
Root Cause Analysis of Repeated Backend Service Outages: Connection Pool Exhaustion and Slow SQL
Selected Java Interview Questions
Selected Java Interview Questions
Jul 28, 2024 · Backend Development

Performance Comparison of Spring Boot Native Image vs Go and Rust

This article demonstrates how to quickly build and benchmark a Spring Boot 2.x application as a native binary, compares its startup time, memory usage, and request throughput with equivalent implementations in Go and Rust, and concludes that AOT‑processed Java offers impressive performance despite longer compilation times.

BackendGoNative Image
0 likes · 7 min read
Performance Comparison of Spring Boot Native Image vs Go and Rust
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jul 27, 2024 · Backend Development

Refactoring a Billing Service with a Responsibility‑Chain Architecture for Better Extensibility

The article explains why a complex billing module in a settlement system needs optimization, describes the problems of monolithic code and tangled responsibilities, and demonstrates a refactor using the responsibility‑chain pattern with clear, pluggable nodes, accompanied by Java code examples and best‑practice recommendations.

BackendDesign PatternsJava
0 likes · 12 min read
Refactoring a Billing Service with a Responsibility‑Chain Architecture for Better Extensibility
Selected Java Interview Questions
Selected Java Interview Questions
Jul 26, 2024 · Backend Development

Zero‑Downtime SpringBoot Port Sharing: Running Two Instances on the Same Port

This article explains how to achieve seamless code updates for SpringBoot applications by allowing two instances to share the same port, detailing the underlying Tomcat embedding mechanism, DispatcherServlet handling, and providing a complete Java implementation with step‑by‑step instructions and test results.

BackendJavaPort Sharing
0 likes · 7 min read
Zero‑Downtime SpringBoot Port Sharing: Running Two Instances on the Same Port
JD Tech Talk
JD Tech Talk
Jul 25, 2024 · Backend Development

Design and Architecture of JD.com’s Buffalo Distributed DAG Scheduling System

The article details the design, core technical solutions, high‑availability architecture, performance optimizations, and open capabilities of Buffalo, JD.com’s distributed DAG‑based job scheduling platform that supports massive task volumes, complex dependencies, and flexible resource management.

BackendDAGOperations
0 likes · 13 min read
Design and Architecture of JD.com’s Buffalo Distributed DAG Scheduling System
Eric Tech Circle
Eric Tech Circle
Jul 24, 2024 · Backend Development

Designing Secure Microservice Authentication with Spring Boot 3 and OAuth2

This article explains the key changes in Spring Boot 3, outlines the new OAuth2 components, and provides a detailed design for secure microservice authentication and authorization using Spring Authorization Server, JWT, API Gateway, and client applications, complete with architecture diagrams and implementation steps.

AuthenticationAuthorizationBackend
0 likes · 9 min read
Designing Secure Microservice Authentication with Spring Boot 3 and OAuth2
Code Ape Tech Column
Code Ape Tech Column
Jul 24, 2024 · Backend Development

Understanding and Implementing Java SPI and Spring SPI

This article explains Java's built‑in Service Provider Interface (SPI) mechanism, demonstrates how to create interfaces, implementations, and configuration files, shows testing with ServiceLoader, and compares it to Spring's SPI implementation using spring.factories, including code examples and analysis of their advantages and limitations.

BackendJavaSPI
0 likes · 7 min read
Understanding and Implementing Java SPI and Spring SPI
Test Development Learning Exchange
Test Development Learning Exchange
Jul 23, 2024 · Backend Development

Common Python Utility Interfaces: Validation, HTTP, File I/O, JSON, DateTime, Encryption, SQLite, Image Processing, Error Handling, and Config Loading

This article presents a collection of reusable Python utility interfaces—including data validation, HTTP request handling, file read/write, JSON parsing, date‑time formatting, symmetric encryption, SQLite persistence, image resizing, exception handling, and configuration loading—each illustrated with concise code examples to improve code readability and testability.

Backenddata-validationencryption
0 likes · 4 min read
Common Python Utility Interfaces: Validation, HTTP, File I/O, JSON, DateTime, Encryption, SQLite, Image Processing, Error Handling, and Config Loading
Selected Java Interview Questions
Selected Java Interview Questions
Jul 23, 2024 · Backend Development

Integrating URule Rule Engine into Java Projects: Installation, Configuration, and Sample Code

This article explains the background, features, installation steps, core concepts, library definitions, rule set creation (wizard and script), decision tables, practical usage scenarios, and provides complete Java and configuration code examples for integrating the URule rule engine in a Spring Boot backend application.

BackendConfigurationJava
0 likes · 15 min read
Integrating URule Rule Engine into Java Projects: Installation, Configuration, and Sample Code
php Courses
php Courses
Jul 23, 2024 · Backend Development

Using PHP in_array() Function: Syntax, Parameters, and Practical Examples

This article explains the PHP in_array() function, detailing its syntax, parameters, and three practical examples that demonstrate value searching, strict type checking, and retrieving keys, helping developers improve array handling efficiency and code readability.

BackendPHParray
0 likes · 4 min read
Using PHP in_array() Function: Syntax, Parameters, and Practical Examples
php Courses
php Courses
Jul 23, 2024 · Backend Development

Why Build a Custom PHP Framework and Course Outline

This article explains the benefits of creating a custom PHP framework—such as meeting specific needs, learning core concepts, ensuring maintainability, optimizing performance, improving usability, and enhancing security—and provides a detailed chapter and section outline for a tutorial covering MVC, routing, design patterns, configuration, and database handling.

BackendMVCPHP
0 likes · 3 min read
Why Build a Custom PHP Framework and Course Outline
Selected Java Interview Questions
Selected Java Interview Questions
Jul 22, 2024 · Backend Development

Using a Database as a Central Configuration Center in SpringBoot

This article analyzes the problems of scattered property configuration in SpringBoot projects, designs a database table to store configuration items, implements a configuration loader that injects database values into the Spring environment, and demonstrates testing and best‑practice considerations for a robust backend configuration solution.

BackendConfigurationJava
0 likes · 11 min read
Using a Database as a Central Configuration Center in SpringBoot
php Courses
php Courses
Jul 22, 2024 · Backend Development

Using PHP mysqli_query to Execute MySQL Queries

This article explains how to use PHP's mysqli_query function to perform MySQL operations such as SELECT, INSERT, UPDATE, and DELETE, including a full example that creates a connection, runs a query, processes results, and closes the connection.

BackendMySQLiPHP
0 likes · 4 min read
Using PHP mysqli_query to Execute MySQL Queries
php Courses
php Courses
Jul 22, 2024 · Backend Development

Using PHP's str_replace Function for String Replacement and Deletion

This article explains how PHP's str_replace function works, shows its syntax, and provides three practical examples—simple replacement, multiple replacements using an array, and character deletion—demonstrating how to manipulate strings efficiently in backend development.

BackendPHPTutorial
0 likes · 3 min read
Using PHP's str_replace Function for String Replacement and Deletion
Selected Java Interview Questions
Selected Java Interview Questions
Jul 20, 2024 · Backend Development

Introduction and Usage Guide for MyBatis-Mate: Enterprise Features for MyBatis-Plus

This article introduces MyBatis-Mate, an official MyBatis‑Plus extension offering enterprise‑level capabilities such as dictionary binding, field encryption, data masking, dynamic DDL maintenance, sharding, multi‑datasource switching, performance logging, and data permission control, with detailed Spring Boot integration examples.

BackendJavaMyBatis
0 likes · 15 min read
Introduction and Usage Guide for MyBatis-Mate: Enterprise Features for MyBatis-Plus
Top Architect
Top Architect
Jul 19, 2024 · Databases

Design and Implementation of Database Table Sharding for a Loan Repayment System

The article details a real‑world backend engineering project where a loan repayment service is refactored to use table sharding with ShardingSphere, covering design decisions, table naming, sharding algorithms, historical data migration, dynamic switches, transaction management, code examples, and practical pitfalls.

BackendMySQLdata-migration
0 likes · 19 min read
Design and Implementation of Database Table Sharding for a Loan Repayment System
php Courses
php Courses
Jul 19, 2024 · Backend Development

How to Use PHP strlen() to Get String Length

This article explains how the PHP strlen() function works to determine the length of a string, provides a clear example with code, discusses the difference between byte and character counts, and highlights important considerations regarding character encoding when using strlen in backend development.

BackendCodingstring length
0 likes · 4 min read
How to Use PHP strlen() to Get String Length
php Courses
php Courses
Jul 19, 2024 · Backend Development

10 Innovative PHP Project Ideas to Elevate Your Portfolio

This article presents ten carefully crafted PHP project concepts—from building a custom MVC framework and implementing data import/export to creating QR code generators and event management tools—each designed to showcase backend expertise and enhance a developer's professional portfolio.

BackendMVCPHP
0 likes · 7 min read
10 Innovative PHP Project Ideas to Elevate Your Portfolio
php Courses
php Courses
Jul 18, 2024 · Backend Development

Using PHP is_bool() to Check Whether a Variable Is Boolean

This article explains how to use PHP's built-in is_bool() function to determine whether a variable holds a boolean value, provides clear code examples with four different variables, shows the expected output, and discusses why certain values are not considered booleans.

BackendPHPType Checking
0 likes · 4 min read
Using PHP is_bool() to Check Whether a Variable Is Boolean
php Courses
php Courses
Jul 18, 2024 · Backend Development

Adjust Image Hue Using PHP Imagick

This guide explains how to install the Imagick extension for PHP, create an Imagick object, load an image, adjust its brightness, saturation, and hue using modulateImage, and then save or output the modified image, providing a complete example code snippet.

BackendHue AdjustmentPHP
0 likes · 3 min read
Adjust Image Hue Using PHP Imagick
php Courses
php Courses
Jul 18, 2024 · Backend Development

Using PHP is_string() to Check if a Variable Is a String

This article explains the PHP is_string() function, its simple syntax, and demonstrates with example code how to check variables like $name, $age, and $city to determine whether they are strings, including best practices for input validation.

BackendPHPTutorial
0 likes · 4 min read
Using PHP is_string() to Check if a Variable Is a String
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jul 18, 2024 · Backend Development

6 Proven Strategies to Eliminate if‑else in Spring Boot Projects

This article explains why excessive if‑else statements hurt Spring Boot code and presents six practical techniques—including strategy pattern, enums, polymorphism, lambda expressions, command pattern, and guard clauses—along with complete Java examples to make your backend more modular, readable, and maintainable.

BackendJavadesign-patterns
0 likes · 10 min read
6 Proven Strategies to Eliminate if‑else in Spring Boot Projects
Sohu Tech Products
Sohu Tech Products
Jul 17, 2024 · Backend Development

Mastering Elasticsearch: Painless Scripts for Advanced Array Operations

This article provides a step‑by‑step guide on using Elasticsearch’s Painless scripting language to create, index, and manipulate array‑type fields, covering basic operations like length and element access, as well as advanced aggregations, filtering, and weighted calculations, while highlighting performance considerations.

BackendData ProcessingElasticsearch
0 likes · 9 min read
Mastering Elasticsearch: Painless Scripts for Advanced Array Operations
php Courses
php Courses
Jul 17, 2024 · Backend Development

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

This article explains PHP's fgetc() function for reading single characters from files or user input, demonstrates opening files with fopen(), shows loop-based character reading, and provides complete code examples for both file and interactive input scenarios.

BackendPHPfgetc
0 likes · 4 min read
Using PHP fgetc() to Read Characters from Files and User Input
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.

@ValidBackendExceptionHandling
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.

ArchitectureBackendpayment
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 reliability
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.

BackendRetrycircuit-breaker
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.

BackendFile Handlingfilesystem
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.

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

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

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

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

BackendRedisdatabase optimization
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 Multiplexingpoll
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.

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

BackendSystem Designdistributed systems
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.

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

BackendSystem Designconfiguration management
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.

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

AOPAdviceBackend
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