Tagged articles
5000 articles
Page 14 of 50
php Courses
php Courses
Oct 11, 2024 · Backend Development

Using PHP floatval() to Convert Variables to Float

This article explains PHP's built‑in floatval() function, showing its syntax, how it converts various variable types—including integers, strings, booleans, and arrays—to floating‑point numbers, provides multiple code examples, and notes edge cases where conversion fails, offering a concise guide for developers.

BackendPHPfloatval
0 likes · 4 min read
Using PHP floatval() to Convert Variables to Float
php Courses
php Courses
Oct 10, 2024 · Backend Development

Using PHP str_replace Function for String Replacement and Deletion

This article explains the PHP str_replace function, its syntax, and demonstrates how to replace or delete characters in strings through three practical code examples covering simple replacement, multiple replacements, and character removal.

BackendTutorialstr_replace
0 likes · 4 min read
Using PHP str_replace Function for String Replacement and Deletion
php Courses
php Courses
Oct 10, 2024 · Backend Development

Using PHP mysqli_query to Execute MySQL Queries

This article explains how the PHP mysqli_query function can be used to run SELECT, INSERT, UPDATE, and DELETE statements against a MySQL database, provides a complete example with connection handling, error checking, result processing, and highlights related fetching functions.

BackendMySQLiquery
0 likes · 4 min read
Using PHP mysqli_query to Execute MySQL Queries
Python Programming Learning Circle
Python Programming Learning Circle
Oct 9, 2024 · Backend Development

Why Choose Sanic: An Asynchronous Python Web Framework for Production

The article compares traditional Python web frameworks with modern asynchronous alternatives, presents benchmark results showing Sanic’s superior speed, discusses the importance of avoiding blocking I/O, and highlights Sanic’s ecosystem, production readiness, documentation, and community support for developers seeking high‑performance backend solutions.

BackendPythonWeb framework
0 likes · 10 min read
Why Choose Sanic: An Asynchronous Python Web Framework for Production
php Courses
php Courses
Oct 9, 2024 · Backend Development

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

This tutorial explains PHP's is_float() function, demonstrates its boolean return behavior with simple and complex code examples, and discusses type‑checking nuances such as strict float detection and automatic conversion of integers and strings.

Backendis_floattype checking
0 likes · 5 min read
Using PHP's is_float() Function to Check for Floating-Point Numbers
Code Ape Tech Column
Code Ape Tech Column
Oct 7, 2024 · Backend Development

Dynamic Service Provider Switching with spring-smart-di and AutowiredProxySPI

This article explains how to implement runtime switching of multiple service providers, such as SMS vendors, in a Spring-based backend using the spring‑smart‑di library, @EnvironmentProxySPI, and @AutowiredProxySPI annotations, with configuration stored in Nacos, databases, or environment variables.

BackendDynamic Switchingdependency-injection
0 likes · 8 min read
Dynamic Service Provider Switching with spring-smart-di and AutowiredProxySPI
Architect's Guide
Architect's Guide
Oct 7, 2024 · Backend Development

RabbitMQ Overview, Installation Guide, and Delayed Message Implementation

This article introduces RabbitMQ, explains its core features and messaging model, discusses why to use it for asynchronous, decoupled, and throttled processing, and provides step‑by‑step installation instructions for macOS, Windows, and CentOS along with Java code examples for configuring and using delayed messages via the rabbitmq_delayed_message_exchange plugin.

BackendDelayed MessageInstallation
0 likes · 11 min read
RabbitMQ Overview, Installation Guide, and Delayed Message Implementation
Su San Talks Tech
Su San Talks Tech
Oct 5, 2024 · Backend Development

Mastering Idempotency: Design Patterns and Code Solutions for Reliable APIs

Idempotency ensures that repeated API calls produce the same result without side effects, and this guide explains its principles, common scenarios like payments and messaging, root causes of idempotency failures, and multiple implementation strategies—including unique constraints, optimistic and pessimistic locks, distributed locks, token mechanisms, state machines, and deduplication tables—with practical code examples.

BackendDistributed SystemsIdempotency
0 likes · 14 min read
Mastering Idempotency: Design Patterns and Code Solutions for Reliable APIs
ITPUB
ITPUB
Oct 5, 2024 · Backend Development

How Tencent Docs Seamlessly Switches Between Monolith and Microservices

This article explains how Tencent Docs tackled the high runtime, deployment, and image‑distribution costs of a large microservice fleet by building a flexible architecture that can merge selected services into a few monolith binaries for private deployments, while retaining microservices for public scenarios, and shares the tooling, configuration, challenges, and performance gains achieved.

BackendConfigurationarchitecture
0 likes · 15 min read
How Tencent Docs Seamlessly Switches Between Monolith and Microservices
Architect
Architect
Oct 4, 2024 · Backend Development

Building a Code Analysis Platform to Boost Microservice Backend Efficiency

This article details how a microservice‑based backend team designed and implemented a code‑analysis platform that creates a knowledge base, enables precise test selection and application slimming, and ultimately accelerates demand iteration while reducing dead code and unnecessary test runs.

BackendDynamic analysisMicroservices
0 likes · 18 min read
Building a Code Analysis Platform to Boost Microservice Backend Efficiency
Selected Java Interview Questions
Selected Java Interview Questions
Oct 3, 2024 · Backend Development

Spring Boot Log4j2 Integration and Logger Level Hot Update

This article explains how Spring Boot integrates Log4j2, details the internal logging initialization process, describes logger and LoggerConfig relationships, and demonstrates how to hot‑update logger levels using LoggersEndpoint or custom endpoints without restarting the application.

BackendHot UpdateLogger Level
0 likes · 33 min read
Spring Boot Log4j2 Integration and Logger Level Hot Update
DaTaobao Tech
DaTaobao Tech
Sep 30, 2024 · Backend Development

KLimiter: Adaptive Rate Limiter for Downstream Resource Protection

KLimiter is an adaptive rate‑limiter that continuously monitors downstream resource water‑levels, computes impact coefficients from historical traffic, and dynamically throttles multiple upstream entries according to their priorities, using gradual reductions, slow‑start and fallback strategies to maintain stability and efficiency beyond static threshold methods.

Backendadaptive algorithmrate limiting
0 likes · 11 min read
KLimiter: Adaptive Rate Limiter for Downstream Resource Protection
php Courses
php Courses
Sep 30, 2024 · Backend Development

How to Use PHP's setcookie Function to Set Cookies

This article explains PHP's setcookie function, detailing its syntax, parameter meanings, and providing several practical code examples for creating cookies with different lifetimes, paths, domains, and security flags, while also noting how to retrieve cookies using the $_COOKIE superglobal.

BackendPHPWeb Development
0 likes · 4 min read
How to Use PHP's setcookie Function to Set Cookies
php Courses
php Courses
Sep 30, 2024 · Information Security

Using PHP password_hash for Secure Password Hashing

This article explains how to securely hash passwords in PHP using the password_hash function, demonstrates code examples, describes verification with password_verify, and highlights automatic salting and best practices for protecting user credentials.

BackendHashingInformation Security
0 likes · 4 min read
Using PHP password_hash for Secure Password Hashing
Top Architect
Top Architect
Sep 29, 2024 · Backend Development

Microservice Architecture and Its Key Design Patterns

This article provides a comprehensive overview of microservice architecture, explaining its definition, advantages, disadvantages, when to adopt it, and detailing essential design patterns such as Database per Microservice, Event Sourcing, CQRS, Saga, BFF, API Gateway, Strangler, Circuit Breaker, externalized configuration, and consumer‑driven contract testing.

Backend
0 likes · 24 min read
Microservice Architecture and Its Key Design Patterns
Architecture Digest
Architecture Digest
Sep 29, 2024 · Backend Development

Implementing a Fixed‑Size FIFO Export Queue in a Java Backend with Spring and EasyExcel

This article explains how to design and implement a fixed-size FIFO export queue in a Java backend using Spring components and EasyExcel, covering business requirements, class definitions, code examples, testing results, and considerations for further enhancements such as Redis queues and high‑concurrency scenarios.

BackendExportQueue
0 likes · 12 min read
Implementing a Fixed‑Size FIFO Export Queue in a Java Backend with Spring and EasyExcel
php Courses
php Courses
Sep 29, 2024 · Backend Development

Using PHP’s is_numeric() Function to Check Numeric Values

This article explains PHP’s is_numeric() function, demonstrates how it determines whether variables or form inputs are numeric through detailed examples, and highlights special cases developers should watch for when validating numeric data.

Backenddata validationis_numeric
0 likes · 4 min read
Using PHP’s is_numeric() Function to Check Numeric Values
php Courses
php Courses
Sep 29, 2024 · Backend Development

Generating Heatmaps with Baidu Maps API in PHP

This tutorial explains how to generate and display heatmaps using the Baidu Maps API in PHP, covering preparation, API integration, data preparation, heatmap generation, and front‑end rendering with JavaScript, providing complete code examples for each step.

BackendBaidu Mapsvisualization
0 likes · 5 min read
Generating Heatmaps with Baidu Maps API in PHP
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Sep 29, 2024 · Backend Development

How to Apply a Global URL Prefix to All Spring Boot Controllers

This article explains multiple ways to apply a common URL prefix to all Spring Boot controllers, covering servlet‑context configuration, property settings, annotation‑based approaches, server‑side forwarding, and Nginx reverse‑proxy techniques, with code samples and discussion of their advantages and drawbacks.

BackendNginxannotation
0 likes · 7 min read
How to Apply a Global URL Prefix to All Spring Boot Controllers
Test Development Learning Exchange
Test Development Learning Exchange
Sep 28, 2024 · Backend Development

Building a Python‑MySQL Automated Test Framework with Dependency and Parameterization Support

This guide demonstrates how to build a Python‑based automated testing framework that reads test cases from a MySQL database, sends HTTP requests, manages case dependencies and parameterization, and records responses, providing a modular structure with database, executor, and main components.

Automated TestingBackenddependency handling
0 likes · 6 min read
Building a Python‑MySQL Automated Test Framework with Dependency and Parameterization Support
Top Architect
Top Architect
Sep 27, 2024 · Backend Development

Comprehensive Guide to Nginx Configuration, Optimization, and Deployment

This article provides a step‑by‑step tutorial on understanding, simplifying, annotating, and optimizing Nginx configuration files, covering global, events, and http blocks, practical deployment tips, reverse‑proxy setup, gzip compression, maintenance pages, multi‑site hosting, static‑dynamic separation, and essential command‑line operations for Linux servers.

BackendDeploymentGzip
0 likes · 20 min read
Comprehensive Guide to Nginx Configuration, Optimization, and Deployment
php Courses
php Courses
Sep 27, 2024 · Backend Development

Developing Real-Time Monitoring Applications with PHP and WebSocket

This article explains how to build real-time monitoring applications using PHP and the WebSocket protocol, covering the fundamentals of WebSocket, setting up a Ratchet server, creating client-side JavaScript connections, and providing complete code examples such as a stock price monitor.

BackendReal-Timemonitoring
0 likes · 7 min read
Developing Real-Time Monitoring Applications with PHP and WebSocket
php Courses
php Courses
Sep 27, 2024 · Backend Development

Implementing User Registration and Data Storage with PHP Functions

This tutorial explains how to implement user registration and data storage in web applications using PHP functions, covering input validation, password hashing, MySQL connection, SQL insertion, and providing complete code examples for both registering users and storing generic data.

Backenddata storageuser registration
0 likes · 4 min read
Implementing User Registration and Data Storage with PHP Functions
php Courses
php Courses
Sep 27, 2024 · Backend Development

Using mysqli_fetch_assoc to Retrieve Rows as Associative Arrays in PHP

This article explains how to connect to a MySQL database in PHP, execute a SELECT query, and use the mysqli_fetch_assoc function to fetch rows as associative arrays, including sample code and notes on handling multiple rows and error checking.

BackendMySQLiassociative array
0 likes · 4 min read
Using mysqli_fetch_assoc to Retrieve Rows as Associative Arrays in PHP
php Courses
php Courses
Sep 26, 2024 · Backend Development

Using PHP’s array_values() Function to Reindex and Convert Arrays

This article explains PHP's array_values() function, demonstrating how it returns a new array with reindexed numeric keys for both indexed and associative arrays, and highlights that the returned array is a copy, not a reference, with practical code examples.

ArrayBackendData Structures
0 likes · 4 min read
Using PHP’s array_values() Function to Reindex and Convert Arrays
php Courses
php Courses
Sep 26, 2024 · Backend Development

How to Adjust Image Saturation in PHP Using Imagick

This tutorial explains how to install the Imagick extension in PHP and use its setImageAttribute() and setImageProperty() methods to modify an image's saturation, providing clear code examples and a summary of the process.

BackendTutorialimage-processing
0 likes · 4 min read
How to Adjust Image Saturation in PHP Using Imagick
php Courses
php Courses
Sep 26, 2024 · Backend Development

Using array_map() and array_filter() for Efficient PHP Array Operations

This tutorial explains how PHP's built‑in functions array_map() and array_filter() provide a declarative, readable, and often more performant alternative to traditional foreach loops for transforming and filtering arrays, with step‑by‑step examples ranging from basic usage to advanced combinations.

BackendPHParray_filter
0 likes · 10 min read
Using array_map() and array_filter() for Efficient PHP Array Operations
php Courses
php Courses
Sep 25, 2024 · Backend Development

Using PHP floatval() to Convert Variables to Float

This article explains how PHP's built‑in floatval() function converts various variable types—including integers, strings, booleans, and arrays—into floating‑point numbers, provides syntax details, multiple code examples, and notes on conversion edge cases.

BackendPHP8floatval
0 likes · 4 min read
Using PHP floatval() to Convert Variables to Float
php Courses
php Courses
Sep 25, 2024 · Backend Development

Using curl_close() to Properly Close cURL Sessions in PHP

This article explains the purpose and syntax of the PHP curl_close() function, demonstrates how to use it with curl_init() and curl_setopt() in a complete example, and highlights the resource, performance, and memory benefits of closing cURL sessions promptly.

BackendHTTPcURL
0 likes · 3 min read
Using curl_close() to Properly Close cURL Sessions in PHP
dbaplus Community
dbaplus Community
Sep 24, 2024 · Backend Development

How Ctrip Scaled Its Vacation Product Log System to Billions of Records

This article recounts the evolution of Ctrip's vacation product log platform—from a single‑table DB solution to a platformized ES + HBase architecture—detailing the challenges of massive data volume, the design of RowKey, write and query flows, and the subsequent business and supplier empowerment.

BackendElasticsearchHBase
0 likes · 14 min read
How Ctrip Scaled Its Vacation Product Log System to Billions of Records
php Courses
php Courses
Sep 24, 2024 · Backend Development

Using PHP array_multisort() to Sort Multiple Arrays

This article explains the PHP array_multisort() function, its syntax and parameters, and demonstrates how to sort several related arrays—such as names, ages, and scores—by a primary key using a concrete code example and the resulting output.

BackendPHP8Sorting
0 likes · 4 min read
Using PHP array_multisort() to Sort Multiple Arrays
php Courses
php Courses
Sep 24, 2024 · Backend Development

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

This tutorial explains PHP's in_array() function, covering its syntax, parameters, and three practical examples—including basic existence checks, strict type comparisons, and retrieving keys from associative arrays—to help developers efficiently search arrays in backend development.

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

Implementing Logistics Tracking in a PHP E-commerce Application

This guide outlines the step‑by‑step process for adding a logistics tracking feature to a PHP‑based online store, covering data collection, API integration, data parsing, storage, display, and regular updates to improve user trust and satisfaction.

BackendLogisticse‑commerce
0 likes · 4 min read
Implementing Logistics Tracking in a PHP E-commerce Application
Top Architect
Top Architect
Sep 23, 2024 · Backend Development

Comprehensive Nginx Configuration Guide: Basics, Optimization, and Deployment

This article provides a step‑by‑step walkthrough of Nginx configuration, explaining the original nginx.conf file, simplifying it, describing the global, events, and http blocks, and covering practical deployment, reverse‑proxy setup, gzip compression, maintenance pages, multi‑site hosting, static‑dynamic separation, and essential command‑line operations.

BackendDeploymentGzip
0 likes · 17 min read
Comprehensive Nginx Configuration Guide: Basics, Optimization, and Deployment
Top Architect
Top Architect
Sep 23, 2024 · Backend Development

Understanding Nginx Architecture, Process Model, FastCGI Integration, and Performance Optimization

This article provides a comprehensive overview of Nginx's high‑performance architecture, including its core, basic, and third‑party modules, master‑worker process model, asynchronous non‑blocking I/O mechanisms, FastCGI and PHP‑FPM integration, and practical configuration and tuning tips for optimal server operation.

BackendNginxOperations
0 likes · 46 min read
Understanding Nginx Architecture, Process Model, FastCGI Integration, and Performance Optimization
Wukong Talks Architecture
Wukong Talks Architecture
Sep 23, 2024 · Backend Development

Evolution of the Ctrip Travel Product Log System: Architecture, Challenges, and Solutions

This article describes the development trajectory of Ctrip's travel product log system, detailing its three major phases—from a single‑table DB approach to a platform‑based solution and finally an empowered version—while discussing technical challenges, design decisions, and the implementation of HBase, Elasticsearch, and related components to handle billions of log entries efficiently.

BackendBig DataElasticsearch
0 likes · 15 min read
Evolution of the Ctrip Travel Product Log System: Architecture, Challenges, and Solutions
Liangxu Linux
Liangxu Linux
Sep 22, 2024 · Backend Development

Why Nginx Matches Locations the Way It Does: Unraveling Literal vs Regex Rules

This article explains Nginx's location matching order, clarifying the difference between literal (prefix) and regular‑expression locations, how exact, ^~, and = prefixes affect the search, and provides step‑by‑step examples with curl tests to illustrate the resulting behavior.

BackendConfigurationNginx
0 likes · 27 min read
Why Nginx Matches Locations the Way It Does: Unraveling Literal vs Regex Rules
phodal
phodal
Sep 22, 2024 · Backend Development

Can 10+ AI Agents Fully Automate API Development? Lessons from a Shire Experiment

This article examines the challenges of fully automated API creation, outlines a classic API lifecycle, and details a practical experiment that uses more than ten specialized AI agents in the Shire language to assist design, coding, testing, and documentation while highlighting the need for human oversight.

API developmentBackendtesting
0 likes · 11 min read
Can 10+ AI Agents Fully Automate API Development? Lessons from a Shire Experiment
Top Architect
Top Architect
Sep 21, 2024 · Backend Development

Refactoring a Task System with Unified Message Format and Configurable Rules Using QLExpress

The article describes how a senior architect restructured a company's activity middle‑platform task system by standardizing message formats, introducing a rule engine (QLExpress) for configurable task completion conditions, and automating integration, while also interspersing promotional content for AI tools and community services.

BackendMessage QueueQLExpress
0 likes · 11 min read
Refactoring a Task System with Unified Message Format and Configurable Rules Using QLExpress
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Sep 21, 2024 · Backend Development

Backend Anti‑Patterns and Optimization Strategies for MySQL, Redis, and Thread Pools

This article examines common backend anti‑patterns such as inefficient MySQL for‑loops, heavy multi‑query methods, full‑table scans, improper thread‑pool creation, and long‑running transactions, and provides practical optimization recommendations including query consolidation, caching, indexing, and proper resource management.

Anti-PatternsBackendmysql
0 likes · 12 min read
Backend Anti‑Patterns and Optimization Strategies for MySQL, Redis, and Thread Pools
Architect
Architect
Sep 20, 2024 · Backend Development

18 Essential API Design Rules Every Backend Engineer Should Follow

This article presents a comprehensive checklist of 18 practical API design rules—including signature, encryption, IP whitelisting, rate limiting, validation, unified responses, exception handling, logging, idempotency, pagination, stress testing, async processing, data masking, documentation, request methods, headers, batch operations, and single‑responsibility principles—to help developers build secure, maintainable, and high‑performance services.

BackendDocumentationIdempotency
0 likes · 18 min read
18 Essential API Design Rules Every Backend Engineer Should Follow
php Courses
php Courses
Sep 20, 2024 · Backend Development

Using PHP is_string() to Determine Whether a Variable Is a String

This article explains the PHP is_string() function, its simple syntax, and demonstrates through clear code examples how to check variables like $name, $age, and $city for string type, while highlighting best practices for input validation and security.

BackendPHPis_string
0 likes · 4 min read
Using PHP is_string() to Determine Whether a Variable Is a String
Architecture Digest
Architecture Digest
Sep 19, 2024 · Backend Development

Using Java 8 Functional Interfaces to Simplify Conditional Logic

This article explains how Java 8 functional interfaces such as Supplier, Consumer, Runnable, and custom interfaces can replace repetitive if‑else statements, streamline exception handling, and improve code readability in backend development.

BackendException HandlingFunctional Interface
0 likes · 5 min read
Using Java 8 Functional Interfaces to Simplify Conditional Logic
Huolala Tech
Huolala Tech
Sep 19, 2024 · Operations

How to Build a Team‑Wide Incident Response Platform for Seamless Online Ops

This article details XiaoBai's journey from struggling with ad‑hoc incident handling to designing a comprehensive platform that captures anomaly data, diagnoses root causes, and enables every team member to respond quickly and consistently, ultimately achieving a "everyone can respond" operation model.

BackendRoot Cause Analysisincident response
0 likes · 14 min read
How to Build a Team‑Wide Incident Response Platform for Seamless Online Ops
Open Source Linux
Open Source Linux
Sep 19, 2024 · Backend Development

Why QUIC Is Revolutionizing HTTP: From HTTP/1.1 to HTTP/3 Explained

This article traces the evolution of HTTP from its 1991 origins through HTTP/2 and HTTP/3, explains how QUIC leverages UDP to reduce latency, and details QUIC's connection establishment, migration, head‑of‑line blocking mitigation, congestion control, and flow‑control mechanisms.

BackendHTTPHTTP/3
0 likes · 13 min read
Why QUIC Is Revolutionizing HTTP: From HTTP/1.1 to HTTP/3 Explained
Architect
Architect
Sep 18, 2024 · Backend Development

Refactoring a Task System with a Unified Message Format and Configurable Rules

This article explains how a legacy task system was redesigned by standardizing incoming messages, introducing a rule engine (QLExpress) for configurable completion conditions, and building a lightweight admin UI, reducing task‑integration time from a week to a few minutes.

BackendConfigurationMessage Queue
0 likes · 9 min read
Refactoring a Task System with a Unified Message Format and Configurable Rules
Code Ape Tech Column
Code Ape Tech Column
Sep 18, 2024 · Backend Development

Resolving Duplicate CORS Headers in Spring Cloud Gateway Using DedupeResponseHeader and Custom GlobalFilter

This article explains why Spring Cloud Gateway can return duplicate Access-Control-Allow-Origin and Vary headers, analyzes the request processing flow, and provides two solutions—using the built‑in DedupeResponseHeader filter with retention strategies or implementing a custom CorsResponseHeaderFilter—to eliminate the CORS error caused by multiple header values.

BackendCORSSpring Boot
0 likes · 10 min read
Resolving Duplicate CORS Headers in Spring Cloud Gateway Using DedupeResponseHeader and Custom GlobalFilter
php Courses
php Courses
Sep 18, 2024 · Backend Development

Using str_replace() in PHP: Syntax, Parameters, and Examples

This article explains the PHP str_replace() function, covering its syntax, parameter details, return value, and provides three practical code examples—including single, multiple, and case‑insensitive replacements—to help developers master string manipulation in backend development.

BackendTutorialstr_replace
0 likes · 4 min read
Using str_replace() in PHP: Syntax, Parameters, and Examples
php Courses
php Courses
Sep 18, 2024 · Backend Development

Using PHP array_merge() to Combine Multiple Arrays

This article explains the PHP array_merge() function, shows its syntax, and provides three practical examples—including merging two indexed arrays, merging several arrays, and merging associative arrays—while illustrating the resulting output and key‑overriding behavior.

ArrayBackendPHP
0 likes · 4 min read
Using PHP array_merge() to Combine Multiple Arrays
Architect's Guide
Architect's Guide
Sep 18, 2024 · Backend Development

Understanding Cookie+Session, Distributed Session Sharing, and ThreadLocal for Maintaining User Login State

This article explains the limitations of traditional Cookie+Session authentication, explores distributed session sharing techniques such as replication, sticky sessions, and centralized storage, and demonstrates why using ThreadLocal can simplify user state management in a web application like the Echo project.

BackendCookieSession Management
0 likes · 9 min read
Understanding Cookie+Session, Distributed Session Sharing, and ThreadLocal for Maintaining User Login State
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Sep 17, 2024 · Backend Development

5 Must‑Know Spring Boot 3.2.5 Features You Can Start Using Today

This article walks through five practical Spring Boot 3.2.5 enhancements—including collection‑parameter validation, wildcard @PropertySource loading, improved method injection, custom thread‑pool scheduling, and robust Number‑type request handling—showing code examples, console output, and migration tips from older versions.

BackendParameter BindingScheduling
0 likes · 8 min read
5 Must‑Know Spring Boot 3.2.5 Features You Can Start Using Today
Top Architect
Top Architect
Sep 17, 2024 · Databases

Design and Implementation of Database Table Sharding for Loan and Repayment Applications Using ShardingSphere and Spring Boot

This technical article describes how a senior architect designed, configured, and migrated loan and repayment application tables to a sharded MySQL setup using ShardingSphere, Spring Boot, and MyBatis‑Plus, covering schema design, historical data sync, dual‑write switches, code integration, and common pitfalls.

BackendData Migrationsharding
0 likes · 19 min read
Design and Implementation of Database Table Sharding for Loan and Repayment Applications Using ShardingSphere and Spring Boot
IT Services Circle
IT Services Circle
Sep 16, 2024 · Backend Development

Live Interview with a Junior Candidate: Technical Q&A and Feedback

In this detailed live interview transcript, a senior engineer questions a recent graduate on topics ranging from Redis data structures and system design to Java concurrency, evaluates the candidate's answers, and provides career advice and hiring recommendations.

BackendSystem Designcareer advice
0 likes · 9 min read
Live Interview with a Junior Candidate: Technical Q&A and Feedback
Architecture and Beyond
Architecture and Beyond
Sep 14, 2024 · R&D Management

How Does Technical Debt Affect Development Costs and What Strategies Can Tame It?

This article explains the concept of technical debt, its various classifications, the distinct impacts on front‑end and back‑end development, the multi‑dimensional cost consequences, and practical governance methods—including identification, prioritisation, repayment planning and preventive measures—to help teams manage and reduce debt effectively.

BackendCost ManagementR&D management
0 likes · 30 min read
How Does Technical Debt Affect Development Costs and What Strategies Can Tame It?
Code Ape Tech Column
Code Ape Tech Column
Sep 14, 2024 · Backend Development

Using Spring TransactionSynchronizationManager for Transaction Hooks to Send Kafka Messages

This article demonstrates how to leverage Spring's TransactionSynchronizationManager to detect active transactions and register synchronization callbacks that asynchronously publish payment ledger messages to Kafka after transaction commit, while providing a starter-style library for easy integration.

BackendKafkaTransactionSynchronizationManager
0 likes · 9 min read
Using Spring TransactionSynchronizationManager for Transaction Hooks to Send Kafka Messages
php Courses
php Courses
Sep 14, 2024 · Backend Development

Using PHP password_hash for Secure Password Hashing

This article explains how to securely hash passwords in PHP using the password_hash function, demonstrates code examples for hashing and verifying passwords, discusses automatic salting, and highlights best practices for protecting user credentials.

BackendHashingpassword_hash
0 likes · 5 min read
Using PHP password_hash for Secure Password Hashing
Su San Talks Tech
Su San Talks Tech
Sep 14, 2024 · Fundamentals

Essential Full‑Stack Development Tech Stack: From Front‑End to DevOps

This guide outlines the comprehensive technology stack a full‑stack developer needs, covering front‑end frameworks, back‑end languages and frameworks, databases, mobile development, cloud platforms, UI/UX tools, and DevOps practices for building modern applications.

BackendMobile DevelopmentTechnology Stack
0 likes · 7 min read
Essential Full‑Stack Development Tech Stack: From Front‑End to DevOps
Architect
Architect
Sep 13, 2024 · Operations

Introducing MyPerf4J: A High‑Performance Java Monitoring and Statistics Tool

The article presents MyPerf4J, a Java‑agent based, low‑overhead performance monitoring library that provides real‑time metrics such as method latency, QPS, memory usage, GC statistics, and class loading, along with quick‑start instructions, configuration details, and open‑source links for Java backend services.

BackendJavaAgentMetrics
0 likes · 7 min read
Introducing MyPerf4J: A High‑Performance Java Monitoring and Statistics Tool
Selected Java Interview Questions
Selected Java Interview Questions
Sep 13, 2024 · Backend Development

Using Apache Commons GenericObjectPool for Process Pooling in Java

This article explains how Java developers can leverage Apache Commons Pool's GenericObjectPool to implement custom process pooling, covering the required factory interface, configuration options, and practical code examples for creating, borrowing, and returning pooled process objects to improve performance.

Apache CommonsBackendGenericObjectPool
0 likes · 8 min read
Using Apache Commons GenericObjectPool for Process Pooling in Java
Top Architect
Top Architect
Sep 12, 2024 · Fundamentals

Understanding SPI vs API: Interface Placement and Design Principles

The article explains the distinction between Service Provider Interfaces (SPI) and Application Programming Interfaces (API), discusses three possible package placements for interfaces, outlines rules and advantages of each, and provides guidance on choosing between SPI and API based on extensibility, interaction, and stability.

APIBackendInterface Design
0 likes · 9 min read
Understanding SPI vs API: Interface Placement and Design Principles
Code Ape Tech Column
Code Ape Tech Column
Sep 12, 2024 · Backend Development

Distributed WebSocket Messaging with Redis and Kafka in Spring

This article explains how to enable cross‑server WebSocket communication in a distributed Spring application by using a message queue such as Redis or Kafka, detailing two architectural approaches, concrete code examples, configuration files, and a sample client page.

BackendDistributedKafka
0 likes · 17 min read
Distributed WebSocket Messaging with Redis and Kafka in Spring
Java Captain
Java Captain
Sep 12, 2024 · Backend Development

Spring Cloud Remote Calls: Why HTTP Is Preferred Over RPC

This article explains why Spring Cloud prefers HTTP over RPC for remote calls, covering the embedded Tomcat architecture, JSON data exchange, the fundamentals of RPC over TCP, and compares their advantages, disadvantages, and suitability for microservice development.

BackendHTTPMicroservices
0 likes · 6 min read
Spring Cloud Remote Calls: Why HTTP Is Preferred Over RPC
php Courses
php Courses
Sep 12, 2024 · Backend Development

Using PHP file_exists() to Check File and Directory Existence

This article explains the PHP file_exists() function, its syntax, parameters, return values, provides example code for checking both files and directories, and lists important usage notes and best practices for reliable file handling.

BackendPHPfile check
0 likes · 4 min read
Using PHP file_exists() to Check File and Directory Existence
php Courses
php Courses
Sep 12, 2024 · Backend Development

Using mysqli_fetch_assoc to Retrieve Query Results in PHP

This article explains how to connect to a MySQL database with mysqli_connect, execute queries using mysqli_query, and fetch each row as an associative array with mysqli_fetch_assoc, providing a complete PHP code example and best‑practice tips.

BackendMySQLiPHP
0 likes · 4 min read
Using mysqli_fetch_assoc to Retrieve Query Results in PHP
php Courses
php Courses
Sep 12, 2024 · Backend Development

Using PHP filemtime to Retrieve File Modification Time

This article explains how to use PHP's filemtime function to obtain a file's last modification timestamp, demonstrates formatting the timestamp with date, and provides code examples for handling both single and multiple files.

BackendPHPTutorial
0 likes · 3 min read
Using PHP filemtime to Retrieve File Modification Time
FunTester
FunTester
Sep 12, 2024 · Backend Development

Choosing the Right Spring HTTP Client: RestTemplate vs WebClient vs RestClient

Spring offers multiple HTTP clients—RestTemplate, WebClient, and the newer RestClient—each with distinct features, performance characteristics, and suitability for different scenarios, and this guide compares their core capabilities, advantages, drawbacks, and best-use cases to help developers select the optimal client for their projects.

BackendHTTP clientRestClient
0 likes · 15 min read
Choosing the Right Spring HTTP Client: RestTemplate vs WebClient vs RestClient
Sohu Tech Products
Sohu Tech Products
Sep 11, 2024 · Backend Development

Optimizing an Audit System Processing Chain for Traffic Spikes Using Chain of Responsibility and Sliding‑Window Detection

To prevent audit pipelines from choking during traffic surges, the article proposes augmenting the classic Chain of Responsibility with a sliding‑window anomaly detector, a statistically‑driven dynamic detector, a rule‑based backflow mechanism, and AI‑powered traffic forecasting, enabling adaptive routing and proactive scaling.

BackendSliding WindowSystem optimization
0 likes · 16 min read
Optimizing an Audit System Processing Chain for Traffic Spikes Using Chain of Responsibility and Sliding‑Window Detection
php Courses
php Courses
Sep 11, 2024 · Backend Development

Optimizing Email Sending with PHP Asynchronous Coroutines

This article explains how to improve the speed and stability of bulk email delivery in modern web applications by using PHP asynchronous coroutines with Swoole, providing a detailed code example that leverages PHPMailer, channels, and coroutine management.

AsynchronousBackendEmail
0 likes · 5 min read
Optimizing Email Sending with PHP Asynchronous Coroutines
High Availability Architecture
High Availability Architecture
Sep 11, 2024 · Backend Development

Evolution of Ctrip Vacation Product Log System: From Single‑Table DB to ES + HBase Platform

This article details the evolution of Ctrip's vacation product log system—from a simple single‑table DB in 2019, through a platformized ES + HBase architecture with custom RowKey design, to a V3.0 version that adds business and supplier empowerment, scalable storage, advanced search, and flexible data presentation for billions of daily change records.

BackendESHBase
0 likes · 13 min read
Evolution of Ctrip Vacation Product Log System: From Single‑Table DB to ES + HBase Platform
JavaEdge
JavaEdge
Sep 10, 2024 · Backend Development

Building a RabbitMQ RPC Service in Java: From Client to Server

This tutorial walks through creating a remote procedure call (RPC) system with RabbitMQ in Java, covering client and server design, callback queues, correlation IDs, code examples, deployment steps, scalability benefits, and common pitfalls to avoid.

BackendMessagingRPC
0 likes · 9 min read
Building a RabbitMQ RPC Service in Java: From Client to Server
php Courses
php Courses
Sep 10, 2024 · Backend Development

Understanding PHP’s array_merge() Function

This article explains the PHP array_merge() function, covering its purpose, syntax, parameters, return values, a complete code example with output, and practical tips for merging arrays in backend development.

ArrayBackendPHP
0 likes · 4 min read
Understanding PHP’s array_merge() Function
php Courses
php Courses
Sep 10, 2024 · Backend Development

Using PHP is_bool() to Determine Boolean Variables

This article explains PHP's is_bool() function, its syntax, parameters, return values, and provides a detailed code example demonstrating how to check whether variables are of boolean type, along with analysis of the output and practical usage tips.

BackendPHPboolean
0 likes · 3 min read
Using PHP is_bool() to Determine Boolean Variables
php Courses
php Courses
Sep 10, 2024 · Backend Development

Implementing WebSocket Communication in PHP with Ratchet

This tutorial explains how to use the Ratchet library to create a PHP WebSocket server, covering environment setup, Composer installation, server-side code, a simple HTML/JavaScript client, and steps to run and test real‑time data transmission.

BackendPHPRatchet
0 likes · 7 min read
Implementing WebSocket Communication in PHP with Ratchet
JavaEdge
JavaEdge
Sep 9, 2024 · Backend Development

Avoid Common Pitfalls When Implementing WeChat Pay v2: A Backend Guide

This article outlines essential backend best practices for integrating WeChat Pay v2, covering correct handling of order amounts, trade type fields, second signatures, merchant binding, currency units, duplicate consumption prevention, payment result verification, non‑transactional operation logging, and the unified order API.

BackendDuplicate PreventionPayment Integration
0 likes · 6 min read
Avoid Common Pitfalls When Implementing WeChat Pay v2: A Backend Guide
Selected Java Interview Questions
Selected Java Interview Questions
Sep 9, 2024 · Backend Development

Implementing TraceId and MDC for Log Correlation in Java Backend Services

This article explains how to generate a unique TraceId, propagate it via HTTP headers and SLF4J MDC, integrate the mechanism with Logback, Feign clients, thread pools, and SkyWalking, and details the underlying MDC and Logback placeholder implementations for reliable log tracing in Java backend applications.

BackendSkyWalkingThreadPoolExecutor
0 likes · 17 min read
Implementing TraceId and MDC for Log Correlation in Java Backend Services
php Courses
php Courses
Sep 9, 2024 · Backend Development

Understanding PHP's array_flip() Function: Usage, Syntax, and Examples

This article explains PHP's array_flip() function, detailing its purpose of swapping array keys and values, its syntax, parameter and return information, and provides three practical code examples illustrating its behavior with associative and indexed arrays.

ArrayBackendPHP
0 likes · 4 min read
Understanding PHP's array_flip() Function: Usage, Syntax, and Examples
php Courses
php Courses
Sep 9, 2024 · Backend Development

Using PHP date() Function to Format Dates and Times

This article explains PHP's versatile date() function, detailing its syntax, required format parameter, optional timestamp argument, and demonstrates numerous usage examples—including retrieving current date, time, individual components, and formatting specific timestamps—highlighting its importance for backend web development.

BackendDate FormattingPHP
0 likes · 4 min read
Using PHP date() Function to Format Dates and Times