Tagged articles

Backend

5000 articles · Page 23 of 50
Selected Java Interview Questions
Selected Java Interview Questions
Feb 19, 2024 · Backend Development

Eight Ways to Implement Asynchronous Programming in Java

This article introduces eight common Java asynchronous implementation techniques—including raw threads, thread pools, Future, CompletableFuture, Spring @Async, ApplicationEvent, message queues, ThreadUtil, and Guava ListenableFuture—explains their use cases, advantages, and limitations, and provides concrete code examples for each method.

BackendCompletableFutureJava
0 likes · 11 min read
Eight Ways to Implement Asynchronous Programming in Java
macrozheng
macrozheng
Feb 19, 2024 · Fundamentals

16 Essential Coding Habits Every Java Developer Should Master

This article presents sixteen practical coding habits—from self‑testing changes and validating parameters to using thread pools and ensuring cache consistency—designed to help Java developers avoid common bugs, improve code quality, and build more reliable applications.

Backendbest practicescoding habits
0 likes · 12 min read
16 Essential Coding Habits Every Java Developer Should Master
Ops Development & AI Practice
Ops Development & AI Practice
Feb 19, 2024 · Backend Development

How to Verify Command Availability in Go by Scanning the PATH

This guide explains how to programmatically check whether a system command exists in the PATH environment variable using Go, covering environment retrieval, path splitting, file existence checks, cross‑platform nuances, security concerns, and performance tips with a complete code example.

BackendPATHSystem
0 likes · 5 min read
How to Verify Command Availability in Go by Scanning the PATH
php Courses
php Courses
Feb 19, 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, providing a step‑by‑step example that creates a connection, runs a SELECT query, processes results, and handles errors and cleanup.

BackendMySQLPHP
0 likes · 4 min read
Using PHP mysqli_query to Execute MySQL Queries
Top Architect
Top Architect
Feb 18, 2024 · Backend Development

Designing Business Operation Logging: From AOP Annotations to Binlog‑Based Solutions

This article explores the motivations, benefits, and step‑by‑step implementations of business operation logging, starting with a simple AOP‑annotation approach, advancing to AOP combined with Spring Expression Language for richer context, and finally leveraging MySQL binlog and time‑window techniques for low‑level, reliable change capture.

AOPArchitectureBackend
0 likes · 18 min read
Designing Business Operation Logging: From AOP Annotations to Binlog‑Based Solutions
Top Architect
Top Architect
Feb 18, 2024 · Backend Development

Why Token Pass‑Through Is Discouraged and Alternative Unified Authorization Designs for Microservices

The article explains why passing tokens between microservices is a poor design, proposes exposing explicit userId parameters, describes unified authentication via an API gateway with Feign, Dubbo or Spring Boot Web implementations, compares their pros and cons, and shows how to integrate these patterns with Kubernetes and internal API path rules.

AuthenticationBackendDubbo
0 likes · 9 min read
Why Token Pass‑Through Is Discouraged and Alternative Unified Authorization Designs for Microservices
Architect
Architect
Feb 17, 2024 · Backend Development

How Bilibili Scaled Its Membership Purchase System: Call‑Chain Refactor, Async Ordering, and Sharding

This article details how Bilibili’s membership‑purchase platform tackled massive traffic spikes by redesigning the order call chain, introducing concurrent and asynchronous processing, and applying a sharding strategy that split databases and tables, ultimately boosting latency performance and supporting over 4,000 TPS during peak sales.

BackendDatabase ScalingMicroservices
0 likes · 15 min read
How Bilibili Scaled Its Membership Purchase System: Call‑Chain Refactor, Async Ordering, and Sharding
Architecture Digest
Architecture Digest
Feb 17, 2024 · Backend Development

Resolving CORS Issues with Nginx Proxy: A Step‑by‑Step Configuration Guide

This article explains why browsers block cross‑origin requests, details the four CORS response headers, demonstrates common error scenarios, and provides a series of Nginx configuration examples—including handling preflight OPTIONS requests, custom headers, and method restrictions—to reliably solve CORS problems during development.

BackendCORSConfiguration
0 likes · 12 min read
Resolving CORS Issues with Nginx Proxy: A Step‑by‑Step Configuration Guide
Architect
Architect
Feb 15, 2024 · Backend Development

Mastering State Patterns with Spring State Machine: From Theory to Order Workflow

This article explains the classic State design pattern, demonstrates a traffic‑light example, compares Spring State Machine with COLA, and walks through building a complete order‑status workflow in Spring Boot using enums, configuration, listeners, services, and a test controller, while highlighting trade‑offs and alternatives.

BackendDesign PatternJava
0 likes · 14 min read
Mastering State Patterns with Spring State Machine: From Theory to Order Workflow
AI Illustrated Series
AI Illustrated Series
Feb 13, 2024 · Backend Development

Which Go Web Framework Reigns Supreme? A Deep Comparative Analysis

This article systematically compares the most popular Go web frameworks—Beego, Buffalo, Echo, Gin, Iris, and Revel—by evaluating their popularity, learning curve, routing capabilities, middleware ecosystems, server features, session handling, template engines, testing support, and other core functionalities, complete with concrete code examples.

BackendGoIris
0 likes · 14 min read
Which Go Web Framework Reigns Supreme? A Deep Comparative Analysis
Code Ape Tech Column
Code Ape Tech Column
Feb 11, 2024 · Backend Development

Comparison of Java Distributed Scheduling Frameworks: Elastic-Job vs X-Job and Other Options

This article examines why scheduled tasks are needed, outlines common Java scheduling frameworks for both single‑machine and distributed environments, and provides a detailed side‑by‑side comparison of Elastic‑Job, X‑Job, Quartz and other solutions, highlighting their architectures, clustering, sharding, monitoring, scaling and failure‑handling strategies.

BackendElastic-JobJava
0 likes · 13 min read
Comparison of Java Distributed Scheduling Frameworks: Elastic-Job vs X-Job and Other Options
ITPUB
ITPUB
Feb 10, 2024 · Backend Development

How to Warm Up Your Cache to Boost High‑Concurrency System Performance

Cache warming, a technique used in high‑concurrency systems, involves preloading frequently accessed data into memory before traffic spikes to improve hit rates, reduce cold‑start latency, prevent cache breakdowns, and lessen backend load, with various strategies such as startup loading, scheduled jobs, manual triggers, Redis tools, and Caffeine loaders demonstrated through Spring Boot code examples.

BackendCaffeineSpring Boot
0 likes · 10 min read
How to Warm Up Your Cache to Boost High‑Concurrency System Performance
Open Source Tech Hub
Open Source Tech Hub
Feb 10, 2024 · Backend Development

How to Use Workerman Timer for Scheduled PHP Tasks

This guide explains how Workerman's Timer runs functions or class methods at set intervals within the same process, showing examples of anonymous‑function timers and configuring timers to run only on specific worker processes.

BackendTimerconcurrency
0 likes · 3 min read
How to Use Workerman Timer for Scheduled PHP Tasks
Architect
Architect
Feb 8, 2024 · Backend Development

From AOP Annotations to Binlog: Evolving Business Operation Logging Strategies

This article examines the progressive design of business operation logging—from a basic AOP‑annotation approach, through an AOP‑SpEL enhancement, to a binlog‑based time‑window solution—detailing each method's implementation steps, trade‑offs, and practical considerations for robust audit and monitoring in enterprise systems.

AOPBackendBinlog
0 likes · 19 min read
From AOP Annotations to Binlog: Evolving Business Operation Logging Strategies
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Feb 8, 2024 · Backend Development

Core Principles of Message Queues: 12 Key Concepts Explained

This article provides a comprehensive overview of message queue fundamentals, covering producers, consumers, brokers, point-to-point and publish/subscribe models, ordering, ACK mechanisms, eventual consistency, transactions, persistence, high availability, and selection criteria for various MQ technologies.

BackendMQdistributed systems
0 likes · 10 min read
Core Principles of Message Queues: 12 Key Concepts Explained
php Courses
php Courses
Feb 8, 2024 · Backend Development

Why Extending Symfony\Bundle\FrameworkBundle\Controller\Controller Is Discouraged and How AbstractController Improves Dependency Injection

The article explains that directly extending Symfony's Controller class leads to tight coupling and testing issues, and recommends using the AbstractController with proper dependency injection to achieve cleaner, more maintainable backend code in Symfony applications.

BackendControllerDependency Injection
0 likes · 6 min read
Why Extending Symfony\Bundle\FrameworkBundle\Controller\Controller Is Discouraged and How AbstractController Improves Dependency Injection
Top Architecture Tech Stack
Top Architecture Tech Stack
Feb 8, 2024 · Backend Development

Guide to Using the 12306 Ticket‑Grabbing Python Project

This article introduces the popular 12306 ticket‑grabbing assistant, explains its history and features, provides step‑by‑step installation and configuration instructions—including required dependencies, proxy settings, and email notifications—and shows how to run the script to automatically secure train tickets during the Spring Festival travel rush.

BackendConfigurationPython
0 likes · 10 min read
Guide to Using the 12306 Ticket‑Grabbing Python Project
DaTaobao Tech
DaTaobao Tech
Feb 7, 2024 · Backend Development

Log Management Practices for Reducing Cost and Improving Efficiency

The article presents a log‑governance case study that tackles classification, format, and tool chaos by introducing a three‑layer log hierarchy, simple non‑overlapping classification, fixed‑order CSV formatting, and reverse‑printed stack traces, achieving up to 88 % size reduction while improving cost efficiency and adaptability.

BackendLog ManagementPerformance
0 likes · 15 min read
Log Management Practices for Reducing Cost and Improving Efficiency
JD Cloud Developers
JD Cloud Developers
Feb 6, 2024 · Operations

How We Boosted Nginx Performance 50× by Tuning Gzip Settings

This article documents a real‑world Nginx optimization case where adjusting gzip compression levels and switching to static gzip reduced CPU usage dramatically, enabling a 9‑wan QPS load to be handled with only 7% CPU and achieving over a 50‑fold performance gain.

BackendGZIPNginx
0 likes · 8 min read
How We Boosted Nginx Performance 50× by Tuning Gzip Settings
php Courses
php Courses
Feb 6, 2024 · Backend Development

Why Build a Custom PHP Framework – Course Outline

This article explains the motivations for creating a custom PHP framework—such as meeting specific needs, learning, long‑term maintenance, performance, usability, and security—and provides a detailed course outline covering MVC, routing, error handling, namespaces, design patterns, configuration, and database operations.

BackendDesign PatternsMVC
0 likes · 4 min read
Why Build a Custom PHP Framework – Course Outline
macrozheng
macrozheng
Feb 6, 2024 · Backend Development

How to Package Spring Boot Apps with External Dependencies Using Maven

This article explains how to package a Spring Boot application so that its dependencies are stored externally and loaded at runtime using Maven plugins and the PropertiesLauncher, enabling easy replacement of individual libraries without rebuilding the entire fat jar.

BackendMavenPackaging
0 likes · 6 min read
How to Package Spring Boot Apps with External Dependencies Using Maven
Code Ape Tech Column
Code Ape Tech Column
Feb 6, 2024 · Backend Development

Comprehensive Guide to Spring Validation: Best Practices and Implementation Principles

This article provides an in‑depth tutorial on Spring Validation, covering simple usage, requestBody and requestParam/PathVariable validation, unified exception handling, advanced techniques such as group, nested, collection and custom validation, programmatic validation, fail‑fast mode, and the underlying implementation mechanisms within Spring MVC and Hibernate Validator.

BackendHibernate ValidatorJava
0 likes · 17 min read
Comprehensive Guide to Spring Validation: Best Practices and Implementation Principles
Su San Talks Tech
Su San Talks Tech
Feb 6, 2024 · Backend Development

Top 10 Online Development Tools to Boost Your Coding Efficiency

This article introduces ten powerful online utilities—including a Java Spring Initializr, code generators, JSON formatters, cron expression builders, regex testers, nginx formatters, and visual data tools—that streamline backend and frontend development workflows and dramatically improve productivity.

BackendDevelopment ToolsJava
0 likes · 7 min read
Top 10 Online Development Tools to Boost Your Coding Efficiency
Architect
Architect
Feb 5, 2024 · Backend Development

Applying the Strategy Pattern with Simple Factory in a Spring Boot Application

This article demonstrates how to apply the Strategy pattern combined with a simple factory in a Spring Boot application, showing interface definition, multiple arithmetic strategy implementations, a factory that registers beans, a service invoking strategies via a map, and a REST controller for testing, highlighting extensibility.

BackendDependency InjectionJava
0 likes · 8 min read
Applying the Strategy Pattern with Simple Factory in a Spring Boot Application
Selected Java Interview Questions
Selected Java Interview Questions
Feb 5, 2024 · Backend Development

Designing Business Operation Logging with AOP, SpEL, and Binlog: From Basic to Advanced Solutions

This article explores the evolution of business operation logging in a Java backend, starting from a simple AOP‑annotation approach, advancing to AOP combined with Spring Expression Language for richer context, and finally leveraging MySQL binlog with time‑window processing to achieve comprehensive, low‑intrusion audit trails.

AOPBackendBinlog
0 likes · 15 min read
Designing Business Operation Logging with AOP, SpEL, and Binlog: From Basic to Advanced Solutions
php Courses
php Courses
Feb 5, 2024 · Databases

How to Properly Close MySQL Connection Pools in PHP

This article explains the concept of MySQL connection pools in PHP, demonstrates how to create, use, and correctly close both individual connections and pooled connections using mysqli functions and a custom pool class, and highlights the importance of releasing resources to maintain application performance.

BackendMySQLPHP
0 likes · 5 min read
How to Properly Close MySQL Connection Pools in PHP
Java Captain
Java Captain
Feb 4, 2024 · Backend Development

Understanding and Implementing Idempotency in Backend Services with Java and Redis

This article explains the concept of idempotency, identifies which API requests are naturally idempotent, discusses why idempotency is essential for retries, asynchronous callbacks, and message queues, and provides a step‑by‑step Java Spring implementation using custom annotations, AOP, and Redis for token management.

AOPBackendJava
0 likes · 9 min read
Understanding and Implementing Idempotency in Backend Services with Java and Redis
Architect
Architect
Feb 4, 2024 · Backend Development

How We Revamped QQ Browser Content Architecture: From Microservices to a High‑Performance Monolith

Facing low development efficiency, poor CPU utilization, and fragile fault tolerance, the QQ Browser content ingestion team rebuilt a 93‑service microservice system into a single‑process, plugin‑driven architecture, achieving up to 13‑fold throughput gains, 10‑fold batch‑processing speedups, and dramatically reduced lead times and code complexity.

BackendC++CI/CD
0 likes · 22 min read
How We Revamped QQ Browser Content Architecture: From Microservices to a High‑Performance Monolith
MaGe Linux Operations
MaGe Linux Operations
Feb 4, 2024 · Cloud Native

From Monolith to Microservices: How Cloud‑Native Architecture Transforms Modern Apps

This article traces the evolution of software architecture—from early monolithic Java war packages through Service‑Oriented Architecture to modern microservices and cloud‑native designs—highlighting their structural differences, benefits, challenges, and the key principles that guide successful migration to distributed, scalable systems.

ArchitectureBackendMicroservices
0 likes · 10 min read
From Monolith to Microservices: How Cloud‑Native Architecture Transforms Modern Apps
Top Architect
Top Architect
Feb 4, 2024 · Backend Development

Performance Comparison of String Concatenation Using '+' Operator vs StringBuilder in Java

This article examines Java string concatenation methods, presenting JUnit benchmarks that compare the '+' operator and StringBuilder in both single and loop scenarios, revealing that while simple concatenations perform similarly, loop concatenations are dramatically faster with StringBuilder, leading to practical recommendations.

BackendJUnitStringBuilder
0 likes · 8 min read
Performance Comparison of String Concatenation Using '+' Operator vs StringBuilder in Java
php Courses
php Courses
Feb 4, 2024 · Backend Development

Implementing Product Promotion Push Functionality in a PHP E‑commerce Site

This article outlines the step‑by‑step process for implementing a product promotion push feature in a PHP‑based e‑commerce platform, covering target user identification, promotion table design, message templating, script development, database queries, cron scheduling, and result monitoring to boost user engagement and sales.

BackendCronPHP
0 likes · 5 min read
Implementing Product Promotion Push Functionality in a PHP E‑commerce Site
php Courses
php Courses
Feb 4, 2024 · Backend Development

Top PHP Frameworks for Web Development Companies: A Comprehensive Guide

This guide examines why PHP web development companies rely on frameworks, outlines key benefits such as code reuse, rapid development, security, maintainability, scalability, risk reduction, and community support, and reviews ten leading PHP frameworks—including Laravel, Symfony, and CodeIgniter—to help choose the best fit for projects.

BackendCodeIgniterLaravel
0 likes · 9 min read
Top PHP Frameworks for Web Development Companies: A Comprehensive Guide
21CTO
21CTO
Feb 2, 2024 · Backend Development

8 Must‑Know Python Backend Libraries Used by the Top 1% of Developers

This article highlights eight powerful Python backend libraries—ranging from URL handling and caching to testing, profiling, and API creation—selected from the top 1% of developers based on GitHub stars, and provides installation steps and code examples for each.

BackendLibrariesopen-source
0 likes · 8 min read
8 Must‑Know Python Backend Libraries Used by the Top 1% of Developers
Java Tech Enthusiast
Java Tech Enthusiast
Feb 2, 2024 · Backend Development

Boost Your Elasticsearch Development with Easy-Es: A Complete Guide

This article introduces Easy-Es, an ORM framework built on Elasticsearch's RestHighLevelClient, explains its architecture and advantages, and provides step‑by‑step instructions—including Maven/Gradle setup, configuration, entity and mapper creation, and full CRUD test examples—so developers can quickly integrate powerful search capabilities into Spring Boot applications.

BackendEasy-EsElasticsearch
0 likes · 9 min read
Boost Your Elasticsearch Development with Easy-Es: A Complete Guide
Selected Java Interview Questions
Selected Java Interview Questions
Feb 2, 2024 · Backend Development

Comprehensive Guide to API Request Retry Mechanisms and Spring Boot Implementation

This article examines why API requests fail, explains the importance of retry mechanisms, compares linear, exponential and randomized back‑off strategies, discusses maximum attempt considerations and idempotency, and provides a detailed Spring Boot implementation using Spring Retry along with alternative approaches.

API RetryBackendJava
0 likes · 21 min read
Comprehensive Guide to API Request Retry Mechanisms and Spring Boot Implementation
php Courses
php Courses
Feb 2, 2024 · Backend Development

Optimizing Exception Handling in PHP

This article explains how PHP developers can improve code stability and maintainability by using try‑catch blocks, creating custom exception classes, employing multiple catch clauses, adding finally blocks, and leveraging throw and set_exception_handler for comprehensive exception management.

BackendCoding PracticesPHP
0 likes · 4 min read
Optimizing Exception Handling in PHP
Top Architect
Top Architect
Feb 1, 2024 · Backend Development

Best Practices for Application Layering in Backend Development

This article explains the importance of proper application layering in backend development, outlines Alibaba’s recommended layer structure, suggests optimizations for service and manager layers, describes domain model conversions such as DO, DTO, BO, and concludes with best‑practice recommendations for maintainable, clear‑boundary code.

ArchitectureBackendDAO
0 likes · 11 min read
Best Practices for Application Layering in Backend Development
php Courses
php Courses
Feb 1, 2024 · Backend Development

Implementing Product Promotion Push Functionality in a PHP E‑commerce Site

This article outlines a step‑by‑step guide for building a PHP‑based product promotion push system for e‑commerce platforms, covering recipient identification, database schema design, message templating, script development, scheduling with crontab, and result monitoring to boost user engagement and sales.

BackendCronPHP
0 likes · 4 min read
Implementing Product Promotion Push Functionality in a PHP E‑commerce Site
Architect's Guide
Architect's Guide
Feb 1, 2024 · Fundamentals

Java 8 Functional Interfaces: Function, Supplier, Consumer, Runnable and Practical Usage Patterns

This article introduces Java 8 functional interfaces—including Function, Supplier, Consumer, and Runnable—explains their signatures, demonstrates how they can replace traditional if‑else statements for exception handling, branch processing, and null checks, and provides concrete code examples and usage tips.

BackendExceptionHandlingFunctionalInterface
0 likes · 7 min read
Java 8 Functional Interfaces: Function, Supplier, Consumer, Runnable and Practical Usage Patterns
php Courses
php Courses
Jan 31, 2024 · Backend Development

Understanding and Implementing Laravel Scopes for Eloquent Models

Laravel Scopes provide a powerful mechanism to define reusable query constraints for Eloquent models, covering global, local, anonymous, and dynamic scopes, with step‑by‑step instructions on creation, application, removal, and best practices, enhancing code reuse, readability, and maintainability in backend development.

BackendEloquentLaravel
0 likes · 13 min read
Understanding and Implementing Laravel Scopes for Eloquent Models
Architect
Architect
Jan 30, 2024 · Backend Development

How to Keep MySQL and Redis in Sync: Practical Cache Consistency Patterns

This article explains why cache inconsistency occurs between MySQL and Redis, then walks through four concrete design patterns—delete‑then‑update, update‑then‑invalidate, read/write‑through, and write‑behind—detailing each step, trade‑offs, and failure scenarios to help engineers choose the most suitable approach.

BackendMySQLRedis
0 likes · 9 min read
How to Keep MySQL and Redis in Sync: Practical Cache Consistency Patterns
php Courses
php Courses
Jan 30, 2024 · Backend Development

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

PHP 7.3 introduces the array_key_first() function, which returns the first key of an array or null if empty; this article explains its syntax, provides code examples for retrieving the first key and checking for empty arrays, and highlights usage considerations and potential pitfalls.

BackendFunctionsPHP
0 likes · 3 min read
Understanding PHP 7.3 array_key_first() Function: Syntax, Usage, and Examples
php Courses
php Courses
Jan 30, 2024 · Backend Development

PHP array_fill() Function: Usage, Parameters, Return Values, and Examples

This article explains PHP's array_fill() function, detailing its purpose, parameters, return values, and provides simple and multi‑dimensional examples illustrating how to create and populate arrays with a single value, including edge cases such as negative indices and zero length.

BackendFunctionsPHP
0 likes · 5 min read
PHP array_fill() Function: Usage, Parameters, Return Values, and Examples
php Courses
php Courses
Jan 30, 2024 · Backend Development

Guide to Configuring a PHP gRPC Client with Docker and Composer

This tutorial provides a step‑by‑step guide to configuring a PHP gRPC client using proto files, Composer, Docker, and Docker‑Compose, covering project structure, code generation, autoload setup, Dockerfile creation, and client execution in a containerized environment.

BackendComposerMicroservices
0 likes · 9 min read
Guide to Configuring a PHP gRPC Client with Docker and Composer
Architect's Guide
Architect's Guide
Jan 30, 2024 · Backend Development

Understanding Nacos Architecture and Service Registration in Spring Cloud

This article explains the Nacos architecture, the principles of service registration, how Spring Cloud integrates with Nacos for automatic registration, the implementation details of NacosServiceRegistry, heartbeat mechanisms, registration via Open API/SDK, service address querying, and dynamic service discovery using HostReactor.

BackendJavaNacos
0 likes · 7 min read
Understanding Nacos Architecture and Service Registration in Spring Cloud
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.

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

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

BackendRediscache consistency
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.

BackendPattern Matchingfile-search
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.

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

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

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

BackendJavaReflection
0 likes · 10 min read
Automatic Unit Conversion in Java Using Maps and Custom Annotations
Nullbody Notes
Nullbody Notes
Jan 25, 2024 · Backend Development

Building a Redis Connection Pool in Go: Design and Implementation

This article walks through the design and Go implementation of a reusable Redis connection pool, covering the pool data structure, object acquisition and release logic, handling of active limits and waiting queues, and an extended per‑IP socket pool for distributed Redis clusters.

BackendGoRedis
0 likes · 10 min read
Building a Redis Connection Pool in Go: Design and Implementation
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.

BackendJavaSpEL
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 storecaching
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.

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

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

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

Backende-commercemixing
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 GeolocationJava
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.

BackendClass LoadingJVM
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.

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

BackendTutorialType Checking
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.

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

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

BackendPHPString
0 likes · 4 min read
Using PHP implode() to Join Array Elements into a String