Tagged articles
5000 articles
Page 22 of 50
Java Architect Essentials
Java Architect Essentials
Jan 30, 2024 · Backend Development

Using ProGuard for Java Code Obfuscation in Maven Projects

This article explains how to protect Java applications from decompilation by configuring a ProGuard file and adding the ProGuard Maven plugin, then building the project to generate an obfuscated JAR, complete with step‑by‑step instructions and sample configuration code.

BackendObfuscationProGuard
0 likes · 5 min read
Using ProGuard for Java Code Obfuscation in Maven Projects
Architect
Architect
Jan 29, 2024 · Backend Development

How to Implement Robust Request Debounce in Java Backend with Redis and Redisson

This article explains why request debounce is essential for preventing duplicate submissions, outlines which APIs need protection, and walks through two distributed‑lock solutions—shared Redis cache and Redisson—showing concrete annotations, key‑generation logic, and Spring‑AOP code with full test results.

BackendDebouncedistributed-lock
0 likes · 19 min read
How to Implement Robust Request Debounce in Java Backend with Redis and Redisson
Selected Java Interview Questions
Selected Java Interview Questions
Jan 29, 2024 · Databases

Cache Consistency Between MySQL and Redis: Design Patterns and Best Practices

This article explains the relationship between MySQL and Redis, discusses why cache consistency is challenging, and details four cache update design patterns—delete‑then‑update, update‑then‑invalidate, read/write‑through, and write‑behind—along with their advantages, drawbacks, and typical execution flows.

BackendCache Consistencycache-aside
0 likes · 9 min read
Cache Consistency Between MySQL and Redis: Design Patterns and Best Practices
php Courses
php Courses
Jan 29, 2024 · Backend Development

Using PHP's glob() Function to Search Files and Directories

This article introduces PHP's glob() function, explains its syntax and parameters, and provides multiple code examples demonstrating how to locate files, filter by patterns, search across multiple directories, and retrieve only directories, while noting performance considerations.

BackendFile SearchFilesystem
0 likes · 4 min read
Using PHP's glob() Function to Search Files and Directories
php Courses
php Courses
Jan 29, 2024 · Backend Development

How to Use PHP shuffle() to Randomly Sort Arrays and Generate Random Numbers

This article explains the PHP shuffle() function, demonstrates how to create arrays, use shuffle() to randomize their elements, display the results, and shows additional uses such as generating random numbers with range() and shuffle(), providing clear code examples throughout.

ArraysBackendPHP
0 likes · 4 min read
How to Use PHP shuffle() to Randomly Sort Arrays and Generate Random Numbers
Architecture Digest
Architecture Digest
Jan 28, 2024 · Backend Development

Implementing Interface Rate Limiting with Spring Interceptor and Redis

This article demonstrates how to build a Spring‑based API rate‑limiting solution using an Interceptor and Redis, covering the basic principle, project setup, code implementation, custom annotation with reflection for flexible limits, handling path‑parameter keys, real‑IP acquisition, and practical considerations for production use.

BackendInterceptorjava
0 likes · 18 min read
Implementing Interface Rate Limiting with Spring Interceptor and Redis
php Courses
php Courses
Jan 27, 2024 · Backend Development

Understanding PHP's array_map() Function: Syntax, Examples, and Best Practices

This article introduces PHP's array_map() function, explains its syntax, demonstrates multiple practical examples such as doubling values, merging arrays, and removing empty elements, and outlines important usage considerations to help backend developers efficiently manipulate arrays.

Backendarray-manipulationarray_map
0 likes · 6 min read
Understanding PHP's array_map() Function: Syntax, Examples, and Best Practices
php Courses
php Courses
Jan 27, 2024 · Backend Development

Understanding PHP's array_merge_recursive() Function

This article explains the PHP array_merge_recursive() function, its syntax, parameters, return values, usage examples with code, and important considerations when merging multidimensional arrays, highlighting how duplicate keys are combined into arrays.

ArrayBackendRecursion
0 likes · 4 min read
Understanding PHP's array_merge_recursive() Function
php Courses
php Courses
Jan 26, 2024 · Backend Development

Using PHP's array_walk() Function: Syntax, Basic and Advanced Examples

This article explains PHP's array_walk() function, detailing its syntax, parameters, and demonstrating basic usage for element transformation, advanced techniques with userdata, and integration with class methods, while providing practical code examples and real‑world application scenarios.

Backendarray_walkcallback
0 likes · 6 min read
Using PHP's array_walk() Function: Syntax, Basic and Advanced Examples
Ctrip Technology
Ctrip Technology
Jan 26, 2024 · Artificial Intelligence

Implementing Plugin Functionality for a Large Language Model Chatbot Using Function Calling and Asynchronous Execution

This article explains how Ctrip's security R&D team built a web‑based LLM chatbot with version‑2.0 features such as plugin support, function calling, synchronous and asynchronous execution, WebSocket/Socket.IO communication, and provides full Python code examples for defining and invoking plugins.

AIBackendFunction Calling
0 likes · 15 min read
Implementing Plugin Functionality for a Large Language Model Chatbot Using Function Calling and Asynchronous Execution
Architect's Guide
Architect's Guide
Jan 25, 2024 · Backend Development

Automatic Unit Conversion in Java Using Maps and Custom Annotations

This article explains how to automate unit conversions for Java DTOs by first using a Map to mark fields and an enum for conversion types, then enhancing the solution with a custom annotation and reflection to make the process more reusable and maintainable.

BackendReflectionUnit Conversion
0 likes · 10 min read
Automatic Unit Conversion in Java Using Maps and Custom Annotations
Open Source Tech Hub
Open Source Tech Hub
Jan 24, 2024 · Backend Development

How ReusePort Solves the Thundering Herd Problem in Workerman

This article explains the thundering herd issue caused by multiple workers waiting on the same socket event, describes how the SO_REUSEPORT socket option eliminates the wasteful wake‑ups, and shows step‑by‑step how Workerman can be configured to use reusePort for better concurrency and throughput.

BackendSocketreuseport
0 likes · 12 min read
How ReusePort Solves the Thundering Herd Problem in Workerman
DeWu Technology
DeWu Technology
Jan 24, 2024 · Backend Development

Dynamic Parameter Handling with Spring SpEL and Strategy Pattern

The article demonstrates replacing fragile if‑else channel logic with a Strategy pattern and Spring Expression Language, storing parameter mappings in a database so that new payment channels or Excel formats can be added simply by configuring SpEL expressions, achieving a flexible, maintainable, data‑driven solution.

BackendDynamic ConfigurationSpEL
0 likes · 17 min read
Dynamic Parameter Handling with Spring SpEL and Strategy Pattern
php Courses
php Courses
Jan 24, 2024 · Backend Development

PHP Caching Techniques: Page Cache, Data Cache, and File Cache

This article explains why PHP caching is essential for web performance and details three main techniques—page caching with output buffering, data caching using extensions like Memcached or APCu, and file caching with file I/O functions—plus best practices for updates, expiration, and avoiding cache penetration.

BackendFile CacheMemcached
0 likes · 6 min read
PHP Caching Techniques: Page Cache, Data Cache, and File Cache
php Courses
php Courses
Jan 24, 2024 · Backend Development

Using PHP's ceil() Function to Round Numbers Upward

This article explains PHP's ceil() function, its syntax, and provides three practical code examples demonstrating how to round floating‑point and integer values upward to the smallest integer greater than or equal to the given number.

BackendPHPRounding
0 likes · 4 min read
Using PHP's ceil() Function to Round Numbers Upward
dbaplus Community
dbaplus Community
Jan 23, 2024 · Backend Development

How Bilibili Scaled Its Relationship Graph: From MySQL to KV, Caches, and Hotspot Resilience

This article details how Bilibili’s relationship‑chain service evolved from a MySQL‑based design to a KV store with multi‑layer caching, introducing bloom‑filter‑enhanced Redis caches and hotspot mitigation techniques to sustain near‑million QPS traffic while maintaining data accuracy and high availability.

BackendKV StoreScalability
0 likes · 17 min read
How Bilibili Scaled Its Relationship Graph: From MySQL to KV, Caches, and Hotspot Resilience
Architect
Architect
Jan 23, 2024 · Backend Development

How I Cut a Java Service’s Response Time from Seconds to Milliseconds with Arthas

The article details how a high‑traffic Helios scoring service, originally taking several seconds to return a day’s worth of data, was profiled with Arthas and iteratively optimized through four code revisions, ultimately reducing latency to around 60 ms while exposing key performance pitfalls such as object creation, date formatting, and trivial list operations.

ArthasBackendMicroservices
0 likes · 35 min read
How I Cut a Java Service’s Response Time from Seconds to Milliseconds with Arthas
php Courses
php Courses
Jan 23, 2024 · Backend Development

Using PHP array_key_exists() to Check for Key Existence in Arrays

This article explains how PHP's array_key_exists() function checks whether a specific key exists in an array, compares it with isset(), and provides clear code examples demonstrating both functions with different key values, including null.

ArrayBackendfunction
0 likes · 5 min read
Using PHP array_key_exists() to Check for Key Existence in Arrays
Selected Java Interview Questions
Selected Java Interview Questions
Jan 22, 2024 · Backend Development

Why HikariCP Is So Fast: An In‑Depth Source Code Exploration

This article examines the design and implementation details of HikariCP—Spring Boot's default JDBC connection pool—explaining how its dual‑pool architecture, FastList collection, custom ConcurrentBag, bytecode‑level optimizations, and efficient connection acquisition and release mechanisms together deliver exceptional performance for Java backend applications.

BackendConnection PoolHikariCP
0 likes · 14 min read
Why HikariCP Is So Fast: An In‑Depth Source Code Exploration
DaTaobao Tech
DaTaobao Tech
Jan 22, 2024 · Artificial Intelligence

Mixed Ranking Service Upgrade for E-commerce Recommendation System

The team upgraded Taobao’s feed mixing by deploying an independent xhuffle service built on the xrec framework, which unifies ad and natural recommendation objectives, decouples strategy from business logic, and uses a serial integration to keep average latency under 30 ms while improving both natural and ad metrics, with plans to extend mixing to short video, live streams, and broader scenarios.

BackendService Architecturee‑commerce
0 likes · 11 min read
Mixed Ranking Service Upgrade for E-commerce Recommendation System
php Courses
php Courses
Jan 22, 2024 · Backend Development

Common PHP Code Smells and Refactoring Solutions

This article explains typical PHP code smells such as long methods, large classes, duplicate code, excessive comments, complex conditionals, and infinite loops, and provides concrete refactoring examples to improve readability, maintainability, and overall code quality.

BackendPHPcode smells
0 likes · 8 min read
Common PHP Code Smells and Refactoring Solutions
Architect's Guide
Architect's Guide
Jan 21, 2024 · Backend Development

Retrieving User IP Address and Geolocation in Java with ip2region

This article explains how to obtain a client’s IP address from an HttpServletRequest, convert it to a geographic location using the ip2region library, and provides multiple Java implementation options, Maven dependencies, and performance testing commands for efficient backend IP lookup.

BackendIP geolocationip2region
0 likes · 15 min read
Retrieving User IP Address and Geolocation in Java with ip2region
Open Source Tech Hub
Open Source Tech Hub
Jan 21, 2024 · Backend Development

Master Swoole: Install, Configure, and Harness PHP Coroutines

This guide explains what Swoole is, provides step‑by‑step installation and configuration instructions for the PHP extension, shows how to enable it in the Webman framework, and demonstrates coroutine concepts with practical PHP code examples and expected output.

BackendSwoolecoroutine
0 likes · 7 min read
Master Swoole: Install, Configure, and Harness PHP Coroutines
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Jan 20, 2024 · Backend Development

Master Java’s Parent Delegation Model: How Class Loaders Work and Why It Matters

This article provides a detailed explanation of Java’s parent delegation model, covering its definition, visual diagrams, advantages and disadvantages, and a six-step loading process, helping readers understand how class loaders prioritize parent loaders to ensure security and avoid duplicate class loading.

BackendJVMParent Delegation
0 likes · 5 min read
Master Java’s Parent Delegation Model: How Class Loaders Work and Why It Matters
Architecture Digest
Architecture Digest
Jan 19, 2024 · Backend Development

Assembling Hierarchical Tree Structures with Java Streams, Caching and Message Queues

This article demonstrates how to efficiently build department and regional hierarchical trees in Java by fetching all records in a single database query, using Stream API, Lambda expressions, in‑memory grouping, Redis caching and RocketMQ for asynchronous updates, achieving sub‑second response times even with tens of thousands of nodes.

BackendRocketMQStream
0 likes · 11 min read
Assembling Hierarchical Tree Structures with Java Streams, Caching and Message Queues
php Courses
php Courses
Jan 19, 2024 · Backend Development

Using PHP is_bool() to Determine Boolean Types

This article explains PHP's is_bool() function, its syntax, parameters, return values, and provides a complete code example showing how to check various variables for boolean type and interpret the results in practical development scenarios.

BackendTutorialboolean
0 likes · 3 min read
Using PHP is_bool() to Determine Boolean Types
php Courses
php Courses
Jan 18, 2024 · Backend Development

Using PHP str_word_count() Function to Count Words in a String

This article explains the PHP str_word_count() function, detailing its syntax, parameters, and multiple code examples that demonstrate counting words, retrieving word lists, obtaining word positions, customizing ignored characters, and using regular expressions for word matching.

BackendStringexample
0 likes · 4 min read
Using PHP str_word_count() Function to Count Words in a String
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jan 18, 2024 · Backend Development

Understanding Java's UUID.randomUUID() Implementation

This article examines the inner workings of Java's java.util.UUID class, detailing how UUID.randomUUID() generates version‑4 UUIDs using SecureRandom, the bitwise adjustments for version and variant fields, and the constructor logic that assembles the final 128‑bit identifier.

BackendSecureRandomjava
0 likes · 9 min read
Understanding Java's UUID.randomUUID() Implementation
php Courses
php Courses
Jan 17, 2024 · Backend Development

Using PHP implode() to Join Array Elements into a String

This article explains how the PHP implode() function concatenates array elements into a string, demonstrates basic and advanced usages including handling nested arrays and omitting the separator, and provides clear code examples for each scenario.

ArrayBackendPHP
0 likes · 4 min read
Using PHP implode() to Join Array Elements into a String
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jan 17, 2024 · Backend Development

Why Prisma Is the Preferred Node.js ORM Over TypeORM in 2024

In 2024 the Prisma ORM outperforms TypeORM for Node.js projects thanks to more frequent updates, richer ecosystem, superior type safety, simpler integration, built‑in pagination and aggregation features, and a dramatically better developer experience illustrated with real code examples.

BackendDeveloper ExperienceNode.js
0 likes · 15 min read
Why Prisma Is the Preferred Node.js ORM Over TypeORM in 2024
High Availability Architecture
High Availability Architecture
Jan 17, 2024 · Backend Development

Rate Limiting Algorithms: Fixed Window, Sliding Window, Leaky Bucket, and Token Bucket – Principles, Java Implementations, Pros & Cons

This article explains why rate limiting is essential for high‑concurrency systems, defines rate limiting, introduces four common algorithms (fixed‑window, sliding‑window, leaky‑bucket, token‑bucket), provides Java code examples for each, compares their advantages and disadvantages, and shows practical usage with Guava's RateLimiter and AOP annotations.

Backendalgorithmaop
0 likes · 17 min read
Rate Limiting Algorithms: Fixed Window, Sliding Window, Leaky Bucket, and Token Bucket – Principles, Java Implementations, Pros & Cons
Java Captain
Java Captain
Jan 15, 2024 · Backend Development

Custom Exception Handling for Feign Calls in Spring Distributed Services

This article explains how to implement unified, user‑friendly exception handling for Feign‑based service calls in a Spring distributed architecture by customizing ErrorDecoder, defining result objects, and using global @ControllerAdvice to return clear error codes and messages to front‑end users.

BackendException Handlingjava
0 likes · 12 min read
Custom Exception Handling for Feign Calls in Spring Distributed Services
Java Captain
Java Captain
Jan 15, 2024 · Backend Development

Implementing Interface Rate Limiting with Spring Interceptor and Redis

This article explains how to prevent API abuse by using a Spring Interceptor combined with Redis to count requests per IP and URI, demonstrates step‑by‑step code implementations, discusses custom annotations, mapping rules, time‑window challenges, path‑parameter handling, and real‑IP extraction for robust backend rate limiting.

BackendInterceptorannotation
0 likes · 15 min read
Implementing Interface Rate Limiting with Spring Interceptor and Redis
Architect
Architect
Jan 15, 2024 · Backend Development

Implementing Data Isolation in MyBatis with a Custom Interceptor and Annotations

This article walks through the problem of sharing a single database across pre‑release, gray, and production environments, explains why adding an env column to dozens of tables is error‑prone, and demonstrates a MyBatis interceptor‑based solution with custom annotations that isolates data while preserving backward compatibility.

BackendCustom AnnotationData Isolation
0 likes · 14 min read
Implementing Data Isolation in MyBatis with a Custom Interceptor and Annotations
php Courses
php Courses
Jan 15, 2024 · Backend Development

Using PHP mb_substr() for Multibyte String Truncation

The article explains the PHP mb_substr() function, its syntax, parameter meanings, and provides multiple code examples demonstrating how to correctly truncate multibyte strings such as Chinese or Japanese without causing garbled output, along with important usage notes.

BackendPHPString
0 likes · 4 min read
Using PHP mb_substr() for Multibyte String Truncation
php Courses
php Courses
Jan 15, 2024 · Backend Development

PHP str_replace() Function: Basic and Advanced Usage

This article explains the PHP str_replace() function, covering its syntax, basic string replacement, handling multiple replacements with arrays, case‑insensitive alternatives, and how to retrieve the number of replacements performed.

Backendphp-tutorialstr_replace
0 likes · 5 min read
PHP str_replace() Function: Basic and Advanced Usage
php Courses
php Courses
Jan 15, 2024 · Backend Development

Using Named Parameters in PHP 8

PHP 8 introduces named parameters, allowing developers to pass arguments by name instead of position, which improves code readability, reduces errors, simplifies version migration, and enables more self‑documenting function calls, as demonstrated with several HTTP request examples and array‑handling snippets.

BackendCode ExamplesPHP
0 likes · 5 min read
Using Named Parameters in PHP 8
Java Backend Technology
Java Backend Technology
Jan 15, 2024 · Fundamentals

Why Every Web App Needs Front‑End and Back‑End Data Validation

This article explains why both front‑end and back‑end data validation are essential in modern web applications, outlines the specific checks each layer should perform—from required fields and format rules to security safeguards like XSS/CSRF protection—and highlights the combined benefits for user experience, server load, and overall system integrity.

BackendWebfrontend
0 likes · 9 min read
Why Every Web App Needs Front‑End and Back‑End Data Validation
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jan 15, 2024 · Backend Development

Understanding Delaying Queue and Priority Queue in WorkQueue: Implementation, Usage, and Underlying Quadruple Heap

This article explains the design, implementation details, and practical usage of the Delaying Queue and Priority Queue modules in the WorkQueue library, covering their inheritance from the core Queue, the role of the Quadruple Heap data structure, and providing Go code examples for integration in backend systems.

BackendDataStructureDelayingQueue
0 likes · 16 min read
Understanding Delaying Queue and Priority Queue in WorkQueue: Implementation, Usage, and Underlying Quadruple Heap
Selected Java Interview Questions
Selected Java Interview Questions
Jan 12, 2024 · Backend Development

Efficient Excel Processing with EasyExcel in Java

This article introduces EasyExcel, a Java library that simplifies high‑performance Excel read/write operations, explains its core concepts, provides practical code examples for reading, writing, and filling Excel files, and discusses performance‑optimizing techniques and important usage considerations.

BackendDataProcessingExcel
0 likes · 16 min read
Efficient Excel Processing with EasyExcel in Java
php Courses
php Courses
Jan 12, 2024 · Backend Development

Using PHP fwrite() to Write Data to Files

This article explains PHP's fwrite() function, detailing its syntax, parameters, and practical examples for writing strings and serialized arrays to files, while highlighting important usage considerations such as file opening modes and data types.

BackendPHPTutorial
0 likes · 4 min read
Using PHP fwrite() to Write Data to Files
php Courses
php Courses
Jan 12, 2024 · Backend Development

Four Ways to Reverse an Array in PHP

This article demonstrates four methods to reverse a PHP array—including the built‑in array_reverse() function, a manual for‑loop swap, an array_reduce() technique, and a combination of array_multisort() with array_column()—explaining their usage, code examples, and output results.

BackendPHParray_column
0 likes · 6 min read
Four Ways to Reverse an Array in PHP
TAL Education Technology
TAL Education Technology
Jan 11, 2024 · Backend Development

TarsGo Interceptors (Filters and Middleware) Tutorial for Go Developers

This tutorial explains how to use and implement server‑side and client‑side interceptors (filters and middleware) in TarsGo, covering their definitions, registration methods, code examples, and execution priority to help Go developers efficiently add logging, authentication, rate‑limiting, tracing and other cross‑cutting concerns.

BackendFiltersTarsGo
0 likes · 11 min read
TarsGo Interceptors (Filters and Middleware) Tutorial for Go Developers
php Courses
php Courses
Jan 11, 2024 · Backend Development

Using PHP file_exists() to Check File and Remote File Existence

This article explains how the PHP file_exists() function works, shows its basic syntax, provides local and remote file existence examples with code, and highlights important considerations such as correct paths, permissions, and potential HTTP overhead.

BackendFilesystemPHP
0 likes · 4 min read
Using PHP file_exists() to Check File and Remote File Existence
Top Architect
Top Architect
Jan 10, 2024 · Backend Development

Implementing Automatic Order Cancellation After 30 Minutes in Spring Boot

This article explains three Spring Boot approaches—using @Scheduled tasks, RabbitMQ delayed queues, and Redis key‑expiration events—to automatically cancel orders that remain unpaid for 30 minutes, complete with code samples and configuration guidance.

BackendOrder CancellationRabbitMQ
0 likes · 8 min read
Implementing Automatic Order Cancellation After 30 Minutes in Spring Boot
Programmer DD
Programmer DD
Jan 10, 2024 · Backend Development

Can Java Records Replace Lombok? A Practical Comparison

This article compares Java's native record feature with the Lombok library, showing how records can reduce boilerplate code, outlining scenarios where records can replace Lombok, and discussing the limitations of each approach for clean and maintainable backend development.

BackendJava 16Lombok
0 likes · 8 min read
Can Java Records Replace Lombok? A Practical Comparison
php Courses
php Courses
Jan 10, 2024 · Backend Development

Using PHP’s is_numeric() Function to Determine If a Variable Is Numeric

This article explains how the PHP is_numeric() function checks whether a variable is numeric, returns a boolean result, and demonstrates its usage with code examples for direct variable checks and form input validation, while also highlighting special edge cases to watch out for.

BackendCode ExamplePHP
0 likes · 4 min read
Using PHP’s is_numeric() Function to Determine If a Variable Is Numeric
php Courses
php Courses
Jan 10, 2024 · Backend Development

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

This article explains PHP's fgetc() function for reading a single character from an opened file or standard input, demonstrates how to open files with fopen(), shows example code for character-by-character reading using a while loop, and provides a user input handling example with a switch statement.

Backendfgetcfile-handling
0 likes · 4 min read
Using PHP fgetc() to Read Characters from Files and Standard Input
Java Architect Essentials
Java Architect Essentials
Jan 9, 2024 · Backend Development

PowerJob: A Comprehensive Introduction and Practical Guide to the New Generation Java Distributed Task Scheduling Framework

This article introduces PowerJob, explains its key features such as lock‑free scheduling, multiple execution modes, and workflow support, and provides step‑by‑step instructions for installing via Docker or JAR, configuring databases, setting up server and client projects, and creating and managing scheduled tasks in Java.

BackendSpringBootjava
0 likes · 11 min read
PowerJob: A Comprehensive Introduction and Practical Guide to the New Generation Java Distributed Task Scheduling Framework
php Courses
php Courses
Jan 9, 2024 · Backend Development

Implementing Data Pagination in PHP with PDO: A Step‑by‑Step Guide

This article explains how to create a MySQL database and table, connect to it using PHP PDO, and implement server‑side pagination with configurable page size, total‑page calculation, and navigation links, providing complete code examples for each step.

BackendTutorialpagination
0 likes · 5 min read
Implementing Data Pagination in PHP with PDO: A Step‑by‑Step Guide
php Courses
php Courses
Jan 8, 2024 · Backend Development

Using PHP urlencode to Encode URLs and Non-ASCII Characters

This article explains how PHP's urlencode function encodes URLs containing special or non‑ASCII characters, provides example code for both English and Chinese strings, and discusses handling spaces with rawurlencode for more precise encoding.

Backendencodingurl-encoding
0 likes · 4 min read
Using PHP urlencode to Encode URLs and Non-ASCII Characters
Su San Talks Tech
Su San Talks Tech
Jan 8, 2024 · Backend Development

How Xxl-Job Works: Inside the Lightweight Distributed Scheduler

This article explains the core concepts, architecture, and implementation details of Xxl-Job, a lightweight distributed task scheduling platform, covering the scheduler center, executor, job handling, demo setup, routing strategies, trigger mechanisms, and result callbacks.

BackendSpring BootXXL-JOB
0 likes · 20 min read
How Xxl-Job Works: Inside the Lightweight Distributed Scheduler
php Courses
php Courses
Jan 5, 2024 · Backend Development

Understanding PHP count() and sizeof() Functions: Differences, Usage, and Tips

This article explains the PHP count() and sizeof() functions, clarifying that they are aliases with identical behavior, showing basic usage examples, discussing when to prefer one over the other, and offering performance notes, recursive counting, and object handling tips for developers.

ArraysBackendPHP
0 likes · 4 min read
Understanding PHP count() and sizeof() Functions: Differences, Usage, and Tips
Java Backend Technology
Java Backend Technology
Jan 5, 2024 · Backend Development

How to Prevent Lost Payments and Duplicate Orders in Backend Systems

This article explains the typical order‑to‑payment flow, identifies why payments can be lost or duplicated, and provides concrete backend strategies—such as intermediate payment states, timeout queries, idempotent notifications, and Redis‑based duplicate‑submission checks—to ensure reliable order processing.

BackendPayment Gatewayduplicate submission
0 likes · 5 min read
How to Prevent Lost Payments and Duplicate Orders in Backend Systems
Architecture Development Notes
Architecture Development Notes
Jan 4, 2024 · Information Security

How to Implement Seamless, Secure Token Refresh for Modern Apps

This article explains the concept, workflow, and step‑by‑step implementation of a seamless token refresh mechanism, providing code examples and security best practices to keep user sessions alive without interruption while maintaining strong protection against token theft and replay attacks.

AuthenticationBackendToken
0 likes · 7 min read
How to Implement Seamless, Secure Token Refresh for Modern Apps
php Courses
php Courses
Jan 4, 2024 · Backend Development

Using PHP mkdir() to Create Directories Dynamically

This tutorial explains PHP's mkdir() function, detailing its parameters and demonstrating simple, permission-setting, recursive, and dynamic directory creation through clear code examples, enabling developers to efficiently manage server-side folders in web applications.

Backenddirectoryfile-system
0 likes · 4 min read
Using PHP mkdir() to Create Directories Dynamically
High Availability Architecture
High Availability Architecture
Jan 4, 2024 · Backend Development

Refactoring and Optimizing Tencent News Backend Service: Reducing Technical Debt, Improving Efficiency, and Enhancing Stability

This article details the challenges of Tencent News' legacy backend page service, including high code debt, low development efficiency, and poor stability, and describes the systematic refactoring, configuration-driven redesign, performance optimization, and tooling (xhprof, Xdebug, expr) employed to improve maintainability, scalability, and reliability.

BackendConfiguration ManagementPHP
0 likes · 14 min read
Refactoring and Optimizing Tencent News Backend Service: Reducing Technical Debt, Improving Efficiency, and Enhancing Stability
Code Ape Tech Column
Code Ape Tech Column
Jan 4, 2024 · Backend Development

Creating an Enterprise-Grade OSS Object Storage Spring Boot Starter

This article provides a step‑by‑step guide to building a Spring Boot starter that abstracts Amazon S3‑compatible object storage services such as Alibaba Cloud OSS, Tencent COS, Qiniu OSS, and MinIO, covering dependency setup, configuration properties, template interfaces, implementation, auto‑configuration, packaging, and testing.

Amazon S3BackendOSS
0 likes · 15 min read
Creating an Enterprise-Grade OSS Object Storage Spring Boot Starter
php Courses
php Courses
Jan 3, 2024 · Backend Development

How to Strengthen Website Password Security Using PHP

This article explains how to enhance website password security in PHP by using hash functions, adding salts, employing password_hash and password_verify, enforcing strong password policies, scheduling regular password changes, and implementing measures against brute‑force attacks.

BackendHashingPHP
0 likes · 5 min read
How to Strengthen Website Password Security Using PHP
php Courses
php Courses
Jan 3, 2024 · Backend Development

PHP array_udiff() Function: Syntax, Parameters, Usage, and Example

array_udiff() is a PHP function that compares values of two or more arrays using a user-defined callback, returning the differences; this article explains its syntax, parameters, performance considerations, practical scenarios, and provides a complete code example demonstrating how to identify elements present in one array but not another.

Backendarray comparisonarray_udiff
0 likes · 3 min read
PHP array_udiff() Function: Syntax, Parameters, Usage, and Example
php Courses
php Courses
Jan 3, 2024 · Backend Development

Using PHP's array_sum() Function to Sum Array Elements

This article explains PHP's built-in array_sum() function, demonstrating how to calculate the sum of numeric arrays and associative arrays, shows performance benefits, and provides examples combining it with array_map() for more complex calculations.

Backendarray sumarray-manipulation
0 likes · 4 min read
Using PHP's array_sum() Function to Sum Array Elements
Open Source Tech Hub
Open Source Tech Hub
Jan 3, 2024 · Backend Development

How to Package Webman into a Standalone Linux Binary (x86_64)

This guide explains how to install Webman, configure the project, build a self‑contained binary for x86_64 Linux using PHP's phar mechanism, run and monitor the binary, and outlines important compatibility notes and alternative manual packaging methods.

BackendDeploymentLinux
0 likes · 8 min read
How to Package Webman into a Standalone Linux Binary (x86_64)
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jan 3, 2024 · Backend Development

Simplify Spring JDBC with the New Fluent JdbcClient API – A Hands‑On Guide

This article demonstrates how Spring 6.1’s new fluent JdbcClient API simplifies JDBC operations—showing environment setup, table creation, data‑source configuration, various placeholder and named‑parameter queries, custom result mapping, and CUD actions—while comparing it to the traditional JdbcTemplate approach.

BackendJDBCfluent-api
0 likes · 11 min read
Simplify Spring JDBC with the New Fluent JdbcClient API – A Hands‑On Guide
JD Retail Technology
JD Retail Technology
Jan 2, 2024 · Backend Development

Optimizing Spring Application Startup Time and Performance: Analysis, Tools, and Practical Steps

This article examines the causes of slow startup in large Spring applications, presents visual analysis techniques and a toolbox—including Arthas, JVM Sandbox, Async Profiler, and Spring Startup Analyzer—and provides concrete installation, configuration, and optimization procedures that can reduce startup time by 70‑80% while improving development efficiency and resource utilization.

BackendJar SlimmingProfiling
0 likes · 14 min read
Optimizing Spring Application Startup Time and Performance: Analysis, Tools, and Practical Steps
Java Architect Essentials
Java Architect Essentials
Jan 1, 2024 · Backend Development

Outdated Java Technologies You Can Skip Learning: JSP, Struts, Hibernate, Servlet, and More

The article outlines which Java technologies—such as JSP, Struts, Hibernate, Servlet, Applet, Swing, JDBC, and XML—are now largely obsolete or unnecessary to learn for modern backend development, offering criteria for judging relevance and recommending focus on current frameworks like Spring MVC and MyBatis.

BackendMyBatisObsolete Technologies
0 likes · 7 min read
Outdated Java Technologies You Can Skip Learning: JSP, Struts, Hibernate, Servlet, and More
Architect
Architect
Jan 1, 2024 · Backend Development

Optimizing Apache HttpClient for High-Concurrency Scenarios

This article details a step‑by‑step optimization of Apache HttpClient—including connection pooling, keep‑alive, singleton client usage, timeout tuning, and response handling—to reduce average request latency from 250 ms to about 80 ms in a high‑throughput Java service.

BackendConnectionPoolingHttpClient
0 likes · 12 min read
Optimizing Apache HttpClient for High-Concurrency Scenarios
IT Services Circle
IT Services Circle
Jan 1, 2024 · Backend Development

ByteDance Java Backend Internship Interview Questions and Answers

This article compiles a comprehensive set of ByteDance daily internship interview questions covering Java backend fundamentals, networking protocols, operating system concepts, Linux process management, Redis data structures and persistence, MySQL indexing and query optimization, as well as essential algorithms, providing detailed explanations and code examples for each topic.

BackendOperating Systeminterview
0 likes · 37 min read
ByteDance Java Backend Internship Interview Questions and Answers
Code Ape Tech Column
Code Ape Tech Column
Dec 31, 2023 · Backend Development

How to Set JVM Parameters for a Platform Handling 1 Million Daily Logins on an 8 GB Server

This article explains how to estimate capacity, choose appropriate garbage collectors, and configure JVM memory settings—including heap size, young generation, thread stack, and GC options—for a service that processes one million login requests per day on a node with 8 GB of RAM, providing step‑by‑step guidance and example command lines.

BackendGC tuningJVM
0 likes · 25 min read
How to Set JVM Parameters for a Platform Handling 1 Million Daily Logins on an 8 GB Server
ITPUB
ITPUB
Dec 28, 2023 · Backend Development

How We Refactored a 670k‑Line, 46‑Module Ticket System to Slash Deployment Time

This article details the background, pain points, and step‑by‑step technical solution behind refactoring a massive 670,000‑line, 46‑module ticketing application at Alibaba, highlighting architecture redesign, code simplification, performance gains, and a pragmatic rollout plan.

BackendMicroservicesarchitecture
0 likes · 26 min read
How We Refactored a 670k‑Line, 46‑Module Ticket System to Slash Deployment Time
Architecture Digest
Architecture Digest
Dec 28, 2023 · Backend Development

Step-by-Step Alipay Payment Integration in Java with Spring Boot

This guide walks through configuring the Alipay sandbox, adding Maven dependencies, setting up application.yml, implementing Java configuration classes, creating controller endpoints for payment, handling asynchronous callbacks, processing refunds, and using RabbitMQ delayed queues to auto‑cancel unpaid orders, all with complete code examples.

AlipayBackendPayment Integration
0 likes · 12 min read
Step-by-Step Alipay Payment Integration in Java with Spring Boot
php Courses
php Courses
Dec 28, 2023 · Backend Development

Using PHP mb_strlen() to Measure Multibyte String Length

This article explains how the PHP mb_strlen() function from the mbstring extension can accurately calculate the length of multibyte strings such as Chinese or Japanese, shows its syntax, optional encoding parameter, and provides practical code examples for length checking and validation.

BackendPHPcoding
0 likes · 5 min read
Using PHP mb_strlen() to Measure Multibyte String Length
php Courses
php Courses
Dec 28, 2023 · Backend Development

Using PHP explode() to Split Strings

This article explains PHP's explode() function, detailing its syntax, parameters, and usage through three examples that demonstrate splitting strings by spaces, commas, and limiting the number of resulting segments, while also mentioning related functions like implode and str_split.

BackendTutorialexplode
0 likes · 3 min read
Using PHP explode() to Split Strings
JD Cloud Developers
JD Cloud Developers
Dec 27, 2023 · Backend Development

7 Hidden Pitfalls of Spring BeanUtils.copyProperties You Must Avoid

This article explains seven subtle issues when using Spring's BeanUtils.copyProperties—such as type mismatches, null overwrites, wrong imports, inner‑class copying failures, shallow copy side effects, and performance drawbacks—providing code examples and recommendations to avoid them.

BackendBeanUtilsCopyProperties
0 likes · 10 min read
7 Hidden Pitfalls of Spring BeanUtils.copyProperties You Must Avoid