Tagged articles

backend

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

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

MQMessage Queuebackend
0 likes · 10 min read
Core Principles of Message Queues: 12 Key Concepts Explained
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.

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

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

Performance Tuningbackendgzip
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.

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

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

Hibernate ValidatorJavaSpring Boot
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.

Development ToolsJavaProductivity
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.

JavaSpring BootStrategy Pattern
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.

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

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

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

C++CI/CDPlugin Architecture
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.

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

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

CronDatabaseE‑commerce
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.

CodeIgniterPHPWeb Development
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.

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

Easy-EsElasticsearchJava
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 RetryJavaRetry Strategy
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.

Coding PracticesPHPbackend
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.

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

CronDatabaseE‑commerce
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.

ExceptionHandlingFunctionalInterfaceJava
0 likes · 7 min read
Java 8 Functional Interfaces: Function, Supplier, Consumer, Runnable and Practical Usage Patterns
Selected Java Interview Questions
Selected Java Interview Questions
Jan 31, 2024 · Backend Development

Large File Upload, Chunked Upload, Resume and Instant Upload with Spring Boot and JavaScript

This article demonstrates how to implement small file uploads, large file chunked uploads, breakpoint resume, and instant upload using Spring Boot 3.1.2 on the backend and native JavaScript with spark‑md5 on the frontend, covering configuration, code examples, and practical considerations.

Chunked UploadJavaSpring Boot
0 likes · 15 min read
Large File Upload, Chunked Upload, Resume and Instant Upload with Spring Boot and JavaScript
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Jan 31, 2024 · Backend Development

Understanding Java JVM Garbage Collectors: From Serial to Shenandoah

This article explains the main Java JVM garbage collectors—including Serial, Parallel, CMS, G1, ZGC, Epsilon, and Shenandoah—detailing their architectures, pause characteristics, suitable workloads, and key advantages, helping developers choose the right collector for different application sizes and latency requirements.

Garbage CollectionJVMJava
0 likes · 7 min read
Understanding Java JVM Garbage Collectors: From Serial to Shenandoah
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.

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

Cache AsideCache ConsistencyMySQL
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.

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

PHParray fillbackend
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.

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

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

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

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

Cache AsideCache ConsistencyRedis
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.

File SearchPattern Matchingbackend
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.

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

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

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

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

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

AIFunction CallingLLM
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.

JavaUnit ConversionUtility
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.

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

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

Dynamic ConfigurationJavaSpEL
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.

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

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

KV storebackendcaching
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.

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

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

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

E‑commercebackendmixing
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.

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

IP GeolocationJavaMaven
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.

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

Class LoadingJVMJava
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.

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

Type Checkingbackendboolean
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.

Functionbackendexample
0 likes · 4 min read
Using PHP str_word_count() Function to Count Words in a String
php Courses
php Courses
Jan 18, 2024 · Backend Development

Using PHP header() Function: Syntax, Parameters, and Common Use Cases

This article explains the PHP header() function, covering its syntax, parameter details, and typical scenarios such as page redirection, setting HTTP response headers, status codes, cache control, and file downloads, with clear code examples for each case.

PHPbackendheader
0 likes · 4 min read
Using PHP header() Function: Syntax, Parameters, and Common Use Cases
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.

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

ArrayPHPbackend
0 likes · 4 min read
Using PHP implode() to Join Array Elements into a String
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.

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

Javabackendexception handling
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.

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

Custom AnnotationData IsolationDatabase
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.

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

PHPbackendcode examples
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.

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

DataStructureDelayingQueueGo
0 likes · 16 min read
Understanding Delaying Queue and Priority Queue in WorkQueue: Implementation, Usage, and Underlying Quadruple Heap
Nullbody Notes
Nullbody Notes
Jan 13, 2024 · Backend Development

How to Build a Redis‑Style Sorted Set with Skiplist in Go

This article walks through implementing a Redis‑compatible sorted‑set in Go, covering requirement analysis, data‑structure design with a map and skiplist, detailed insertion and search algorithms, complete code examples, and edge‑case handling, all illustrated with diagrams and sample output.

GoRedisSorted Set
0 likes · 13 min read
How to Build a Redis‑Style Sorted Set with Skiplist in Go
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.

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

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

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

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

File HandlingPHPbackend
0 likes · 4 min read
Using PHP file_exists() to Check File and Remote File Existence