Tagged articles
5000 articles
Page 23 of 50
php Courses
php Courses
Dec 27, 2023 · Backend Development

Using PHP’s fsockopen() Function to Open Network Connections

This article explains the PHP fsockopen() function, detailing its syntax, parameters, return values, and provides a complete example that demonstrates opening a TCP connection, sending an HTTP request, handling errors, and reading the response, including notes on SSL connections.

BackendNetwork programmingPHP
0 likes · 4 min read
Using PHP’s fsockopen() Function to Open Network Connections
Python Programming Learning Circle
Python Programming Learning Circle
Dec 26, 2023 · Backend Development

Step-by-Step Guide to Setting Up a Mirai QQ Bot with Python

This tutorial walks you through the complete process of configuring the Mirai ecosystem, installing mirai-console-loader, handling login verification with Selenium, setting up mirai-api-http, configuring OpenJDK, and finally writing and running a Python bot using graia-application-mirai, providing detailed screenshots and code snippets.

BackendPythonQQ Bot
0 likes · 9 min read
Step-by-Step Guide to Setting Up a Mirai QQ Bot with Python
php Courses
php Courses
Dec 26, 2023 · Backend Development

Using PHP's urlencode Function for URL Encoding

URL encoding is essential for transmitting data safely on the internet, and this article explains PHP's built‑in urlencode function, demonstrates encoding of both ASCII and non‑ASCII strings with example code, and discusses handling spaces and the alternative rawurlencode function.

BackendPHPURL encoding
0 likes · 4 min read
Using PHP's urlencode Function for URL Encoding
php Courses
php Courses
Dec 26, 2023 · Backend Development

Using strtoupper() in PHP to Convert Strings to Uppercase

This article explains how to use PHP's strtoupper() function to convert strings to uppercase, covering its syntax, parameters, return values, and multiple code examples demonstrating handling of simple text, multi-word sentences, and strings containing numbers or special characters.

BackendPHPString Manipulation
0 likes · 4 min read
Using strtoupper() in PHP to Convert Strings to Uppercase
Java Architect Essentials
Java Architect Essentials
Dec 25, 2023 · Backend Development

Optimizing SpringBoot Startup Time: Analyzing Bean Scanning and Initialization Bottlenecks

This article explains how to diagnose and dramatically reduce SpringBoot service startup latency by examining SpringApplicationRunListener phases, Bean scanning overhead, BeanPostProcessor timing, and cache auto‑configuration, then applying JavaConfig and starter‑based solutions to cut startup from minutes to seconds.

BackendBeanScanningCache
0 likes · 17 min read
Optimizing SpringBoot Startup Time: Analyzing Bean Scanning and Initialization Bottlenecks
DaTaobao Tech
DaTaobao Tech
Dec 25, 2023 · Frontend Development

Technical Design and Evolution of Taobao Home Page BFace (Night Taobao)

Taobao’s Night Taobao (BFace) redesign transforms the homepage into a 24‑hour entertainment hub, offering night‑time live streams, short videos and games, using modular front‑end components, cross‑container state sharing, and extensible data pipelines that enabled rapid iteration, tripled user engagement and powered the Double 11 gala.

BFaceBackendOperation
0 likes · 13 min read
Technical Design and Evolution of Taobao Home Page BFace (Night Taobao)
php Courses
php Courses
Dec 25, 2023 · Backend Development

How to Randomly Shuffle Array Elements Using PHP's shuffle Function

This article explains how to use PHP's built-in shuffle() function to randomly reorder array elements, covering its syntax, return value, example code for indexed and associative arrays, handling of multidimensional arrays, and important considerations such as in‑place modification and preserving original data.

ArrayBackendPHP
0 likes · 3 min read
How to Randomly Shuffle Array Elements Using PHP's shuffle Function
MaGe Linux Operations
MaGe Linux Operations
Dec 24, 2023 · Backend Development

Mastering Cache Strategies: Warmup, Avalanche, Penetration, and Breakdown Solutions

This article explains key cache management techniques—including warmup, avalanche prevention, penetration mitigation, and breakdown handling—detailing definitions, root causes, and practical solutions such as manual refresh, staggered expirations, high‑availability Redis clusters, default‑value caching, Bloom filters, and mutex locking to protect backend systems.

Backendcache warmupcache-avalanche
0 likes · 6 min read
Mastering Cache Strategies: Warmup, Avalanche, Penetration, and Breakdown Solutions
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Dec 23, 2023 · Backend Development

Evolution of Technical Interview Questions: From Basic Java to Complex System Design

The article compares interview questions from ten years ago, which focused on basic Java concepts, with today's interviews that probe deep system design, distributed architecture, performance troubleshooting, and data consistency, highlighting the increasing difficulty and breadth of knowledge required for modern developers.

BackendSystem Designcaching
0 likes · 2 min read
Evolution of Technical Interview Questions: From Basic Java to Complex System Design
DataFunSummit
DataFunSummit
Dec 23, 2023 · Big Data

Common Optimization Points in Building a User Portrait Platform

The presentation by Zhang Xinglong, head of the user understanding center's portrait platform backend, outlines the platform's overall architecture, core module optimizations, advanced crowd creation techniques, bitmap usage, and industry trends, helping the audience understand platform importance, performance improvements, and future directions.

BackendDistributed Systemsoptimization
0 likes · 3 min read
Common Optimization Points in Building a User Portrait Platform
Selected Java Interview Questions
Selected Java Interview Questions
Dec 23, 2023 · Backend Development

Common Pitfalls When Using Spring BeanUtils.copyProperties

This article outlines common pitfalls of using Spring's BeanUtils.copyProperties for object property copying in Java backend development, including type mismatches, null overwrites, incorrect imports, inner class issues, shallow copy behavior, and performance drawbacks, and advises caution when employing this utility.

BackendBeanUtilsCopyProperties
0 likes · 8 min read
Common Pitfalls When Using Spring BeanUtils.copyProperties
php Courses
php Courses
Dec 23, 2023 · Backend Development

How to Use PHP zip_read() to Read ZIP File Entries

The article explains PHP's zip_read() function, its syntax, how to open a ZIP file, iterate through entries, retrieve entry names and sizes, and notes its limitations, providing a complete code example for reading ZIP file entries.

Backendfile-handlingzip
0 likes · 3 min read
How to Use PHP zip_read() to Read ZIP File Entries
php Courses
php Courses
Dec 23, 2023 · Backend Development

How to Package and Deploy PHP Applications Using Composer

This guide explains the step-by-step process of preparing, managing dependencies with Composer, creating directory structures, and using PHP code to package a project into a zip archive for deployment, including installation commands and deployment tips for web servers.

BackendDeploymentpackaging
0 likes · 5 min read
How to Package and Deploy PHP Applications Using Composer
Java Architect Essentials
Java Architect Essentials
Dec 22, 2023 · Backend Development

A Comprehensive Overview of MyBatis Architecture and Core Components

This article provides a detailed, global‑level review of MyBatis, covering its main features such as SQL mapping, dynamic SQL, parameter and result mapping, transaction management, connection‑pool integration, second‑level cache, as well as the three‑layer architecture, configuration parsing, proxy creation, and SQL execution process.

BackendMyBatisORM
0 likes · 9 min read
A Comprehensive Overview of MyBatis Architecture and Core Components
Architecture Digest
Architecture Digest
Dec 22, 2023 · Backend Development

Understanding @Transactional(readOnly = true) in Spring: Mechanics, Performance Benefits, and Usage Considerations

This article explains how Spring's @Transactional(readOnly = true) works internally, shows the performance and memory advantages it brings, compares service‑layer and repository‑layer usage with concrete connection‑pool tests, and provides guidance on when to apply it in JPA‑based backend applications.

Backendjpaperformance
0 likes · 9 min read
Understanding @Transactional(readOnly = true) in Spring: Mechanics, Performance Benefits, and Usage Considerations
php Courses
php Courses
Dec 22, 2023 · Backend Development

Implementing Elastic Common Schema in PHP with PECS: A Comprehensive Guide

This article explains why consistent logging structures are essential for growing teams, introduces the Elastic Common Schema (ECS) and the PECS PHP library that fully supports ECS, and provides practical code examples for creating ECS‑compatible logs and integrating PECS with Monolog.

BackendECSElastic Common Schema
0 likes · 7 min read
Implementing Elastic Common Schema in PHP with PECS: A Comprehensive Guide
Alibaba Cloud Developer
Alibaba Cloud Developer
Dec 22, 2023 · Fundamentals

From Code to Culture: The Three Pillars Every Backend Engineer Should Master

The article shares a seasoned backend developer’s reflections on three essential practices—doing, thinking, and talking—highlighting how imitation, continuous questioning, balanced design, collaborative implementation, and effective communication form a lasting framework for personal and professional growth in software engineering.

BackendCareer Developmentpersonal growth
0 likes · 21 min read
From Code to Culture: The Three Pillars Every Backend Engineer Should Master
php Courses
php Courses
Dec 21, 2023 · Backend Development

Implementing a PHP DataCache Class for Efficient Web Application Performance

This article explains how to improve PHP application performance by creating a reusable DataCache class that stores API results, demonstrates usage with a weather‑API example, shows code for reading, saving, and expiring cached data, and discusses production considerations such as concurrency, large data handling, security, and cleanup.

BackendDataCachecaching
0 likes · 8 min read
Implementing a PHP DataCache Class for Efficient Web Application Performance
Alibaba Cloud Developer
Alibaba Cloud Developer
Dec 21, 2023 · Backend Development

Mastering Rate Limiting: Algorithms, Java Implementations, and Guava Tips

This article explains why rate limiting is essential for high‑traffic systems, defines common rate‑limiting algorithms (fixed window, sliding window, leaky bucket, token bucket), provides complete Java code examples for each, and demonstrates practical usage with Guava's RateLimiter in real‑world applications.

BackendDistributed SystemsGuava
0 likes · 19 min read
Mastering Rate Limiting: Algorithms, Java Implementations, and Guava Tips
IT Services Circle
IT Services Circle
Dec 20, 2023 · Backend Development

RabbitMQ: Longevity, Limitations, and Continued Popularity

RabbitMQ, a mature message‑queue system first released in 2007 and built with Erlang, remains widely used due to its continuous updates, simple deployment, flexible AMQP routing, and extensive client support, even though it has older architecture, limited performance, and a smaller community compared with newer alternatives.

AMQPBackendDocker
0 likes · 8 min read
RabbitMQ: Longevity, Limitations, and Continued Popularity
php Courses
php Courses
Dec 20, 2023 · Backend Development

File Caching and Memory Management in PHP Development

This article explains how to implement file caching and effective memory management in PHP, providing step‑by‑step instructions and code examples for creating cache directories, generating cache filenames, checking and clearing caches, and releasing variables and objects to prevent memory leaks.

BackendCode ExamplesMemory Management
0 likes · 5 min read
File Caching and Memory Management in PHP Development
政采云技术
政采云技术
Dec 20, 2023 · Backend Development

MyBatis Cache Issues

This article explains MyBatis's first‑level and second‑level cache mechanisms, illustrates common consistency problems caused by default cache settings in both distributed and single‑session scenarios, and provides practical recommendations such as adjusting localCacheScope or deep‑copying results to avoid cache pitfalls.

BackendCacheMyBatis
0 likes · 12 min read
MyBatis Cache Issues
Code Ape Tech Column
Code Ape Tech Column
Dec 20, 2023 · Backend Development

Understanding Nacos Configuration Center Long‑Polling Mechanism: Client and Server Implementation

This article provides a detailed walkthrough of Nacos' configuration center long‑polling mechanism, explaining how the client initializes ConfigService, schedules periodic checks, processes configuration changes, and how the server receives listener requests, manages long‑polling tasks, and triggers change events, all illustrated with code snippets and diagrams.

BackendConfigurationMicroservices
0 likes · 12 min read
Understanding Nacos Configuration Center Long‑Polling Mechanism: Client and Server Implementation
Selected Java Interview Questions
Selected Java Interview Questions
Dec 19, 2023 · Backend Development

Dynamic Change of Cron Expression in SpringBoot Scheduling

This article explains how to dynamically modify Cron expressions for scheduled tasks in a SpringBoot application by using @EnableScheduling, @Scheduled, custom interfaces, and a refresh mechanism that registers, updates, or disables tasks at runtime without additional middleware.

BackendSchedulingSpringBoot
0 likes · 11 min read
Dynamic Change of Cron Expression in SpringBoot Scheduling
Code Ape Tech Column
Code Ape Tech Column
Dec 19, 2023 · Information Security

Implementation of Single Sign-On (SSO) with Service A and Service B Using Ticket and Token Mechanisms

This article explains the concept, advantages, and three implementation methods of Single Sign-On (SSO), then provides two complete practical examples—including architecture diagrams, step‑by‑step flows, and full Java code for ticket‑based and encrypted data‑based SSO—followed by supplementary RSA key generation notes and a brief promotional note.

AuthenticationBackendRSA
0 likes · 18 min read
Implementation of Single Sign-On (SSO) with Service A and Service B Using Ticket and Token Mechanisms
Python Programming Learning Circle
Python Programming Learning Circle
Dec 18, 2023 · Backend Development

phpy – A PHP Extension for Seamless Integration with the Python Ecosystem

The article introduces phpy, an open‑source Swoole project that embeds the Python ecosystem into PHP, explains its features, provides detailed compilation and installation steps, demonstrates usage through code examples—including AI libraries, GUI creation, named arguments, and callbacks—and shares real‑world sample applications.

BackendExtensionInstallation
0 likes · 9 min read
phpy – A PHP Extension for Seamless Integration with the Python Ecosystem
Selected Java Interview Questions
Selected Java Interview Questions
Dec 18, 2023 · Backend Development

Implementing API Idempotency with Spring Boot, Redis, and Custom Annotations

This article explains the concept of idempotency, presents several strategies to achieve it, and provides a complete Spring Boot implementation using Redis, a custom @AutoIdempotent annotation, token generation and verification, interceptor configuration, and test cases to ensure only the first request succeeds.

BackendIdempotencyInterceptor
0 likes · 10 min read
Implementing API Idempotency with Spring Boot, Redis, and Custom Annotations
php Courses
php Courses
Dec 18, 2023 · Backend Development

Using PHP's fwrite() Function to Write Data to Files

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

Backendfile-handlingfwrite
0 likes · 4 min read
Using PHP's fwrite() Function to Write Data to Files
php Courses
php Courses
Dec 18, 2023 · Backend Development

Using PHP rmdir() to Delete Empty Directories

This article explains the PHP rmdir() function, its syntax, parameters, return values, important usage notes, and provides a complete code example that checks for a directory's existence before safely removing an empty folder.

BackendPHPdirectory deletion
0 likes · 3 min read
Using PHP rmdir() to Delete Empty Directories
php Courses
php Courses
Dec 18, 2023 · Backend Development

PHP Routing Strategies: Basic and Regex-Based Approaches

This article explains two PHP routing strategies—an original path‑based method that maps URL segments to controller and action names, and a more flexible regular‑expression based method that uses pattern matching for complex URL structures—providing code examples and guidance on when to use each.

Backendregexrouting
0 likes · 5 min read
PHP Routing Strategies: Basic and Regex-Based Approaches
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Dec 18, 2023 · Backend Development

How to Dynamically Adjust Log Levels in Spring Boot 2.7

This guide explains how to use Spring Boot configuration files and runtime APIs to change log levels on the fly, covering basic log level concepts, a practical controller example, dynamic endpoint implementation, disabling logs, and Spring Cloud integration for flexible logging management.

Backenddynamic-configurationspring-boot
0 likes · 7 min read
How to Dynamically Adjust Log Levels in Spring Boot 2.7
php Courses
php Courses
Dec 16, 2023 · Backend Development

Using PHP fwrite() to Write Data to Files

This article explains the PHP fwrite() function, its syntax, parameters, and provides clear examples for writing strings and serialized arrays to files, highlighting proper file opening modes and error handling.

BackendPHPTutorial
0 likes · 4 min read
Using PHP fwrite() to Write Data to Files
php Courses
php Courses
Dec 16, 2023 · Backend Development

Using PHP tempnam() to Generate Unique Temporary File Names

This article explains how the PHP tempnam() function creates unique temporary file names, describes its syntax, parameters, return values, and provides two practical code examples demonstrating usage with optional directory and prefix settings.

Backendfile-handlingtempnam
0 likes · 4 min read
Using PHP tempnam() to Generate Unique Temporary File Names
21CTO
21CTO
Dec 15, 2023 · Backend Development

9 Essential Microservices Best Practices to Build Scalable, Secure Systems

This article outlines nine practical microservices best practices—from applying the Single Responsibility Principle and forming cross‑functional teams to using proper DevSecOps tools, asynchronous communication, independent data stores, and robust monitoring—to help developers design scalable, maintainable, and secure backend architectures.

BackendDevOpsMicroservices
0 likes · 12 min read
9 Essential Microservices Best Practices to Build Scalable, Secure Systems
Python Programming Learning Circle
Python Programming Learning Circle
Dec 15, 2023 · Backend Development

phpy v2 – A High‑Performance PHP‑Python Bridge: Architecture, Usage, and Benchmarks

The article introduces the second version of phpy, a PHP extension that embeds a Python interpreter, explains its dual‑VM runtime architecture, shows how to use it under PHP‑FPM, presents detailed performance benchmarks, covers exception handling, IDE auto‑completion, compilation options, dynamic‑library troubleshooting, and provides numerous code examples for testing and scientific computing.

BackendExtensionIntegration
0 likes · 12 min read
phpy v2 – A High‑Performance PHP‑Python Bridge: Architecture, Usage, and Benchmarks
php Courses
php Courses
Dec 15, 2023 · Backend Development

Understanding and Using the PHP fseek() Function

The article explains the purpose and syntax of PHP's fseek() function, details its parameters—including file, offset, and whence options such as SEEK_SET, SEEK_CUR, and SEEK_END—provides a complete example demonstrating file opening, pointer positioning, reading, writing, and closing operations.

BackendPHPTutorial
0 likes · 4 min read
Understanding and Using the PHP fseek() Function
php Courses
php Courses
Dec 15, 2023 · Backend Development

Using PHP htmlspecialchars() to Escape Special Characters

This article explains the PHP htmlspecialchars() function, its syntax and parameters, demonstrates how to escape special characters, quotes, and specify encoding or disable double‑encoding, and shows how it helps prevent XSS attacks in web applications.

BackendPHPXSS
0 likes · 4 min read
Using PHP htmlspecialchars() to Escape Special Characters
php Courses
php Courses
Dec 15, 2023 · Databases

Creating a MySQL Database on Linux Using PHP (mysqli)

This tutorial explains how to create a MySQL database on a Linux system using PHP's mysqli extension, covering prerequisite installations, establishing a connection to the MySQL server, and executing SQL statements to create the database, with complete code examples and instructions for customizing credentials.

BackendMySQLidatabase
0 likes · 4 min read
Creating a MySQL Database on Linux Using PHP (mysqli)
macrozheng
macrozheng
Dec 15, 2023 · Backend Development

How Xxl-Job Powers Lightweight Distributed Task Scheduling in Java

This article explains the core concepts, architecture, and implementation details of the lightweight distributed scheduling platform Xxl-Job, including its scheduler center, executor, job handlers, registration, task triggering, routing strategies, execution flow, and result callbacks, with a step‑by‑step demo and code examples.

BackendDistributed SchedulingSpringBoot
0 likes · 21 min read
How Xxl-Job Powers Lightweight Distributed Task Scheduling in Java
Baidu Geek Talk
Baidu Geek Talk
Dec 13, 2023 · Backend Development

How Baidu Revamped Its Search Display Service: From PHP to Go and Graph Engines

This article details Baidu's search display service evolution, outlining its original C and PHP/HHVM implementation, the three major challenges of high development difficulty, limited architecture capability, and low reusability, and presents a comprehensive solution using a graph execution engine, common operators, and a phased migration to Go.

BackendGoService Migration
0 likes · 15 min read
How Baidu Revamped Its Search Display Service: From PHP to Go and Graph Engines
IT Xianyu
IT Xianyu
Dec 12, 2023 · Backend Development

Implementing Dynamic Data Source Switching in Spring Boot Using ThreadLocal and AbstractRoutingDataSource

This article explains how to build a custom dynamic data‑source solution for Spring Boot by leveraging ThreadLocal and AbstractRoutingDataSource, provides complete Java code for context holders, routing datasource, configuration, annotation‑driven switching, and runtime addition of new data sources.

BackendThreadLocalabstractroutingdatasource
0 likes · 15 min read
Implementing Dynamic Data Source Switching in Spring Boot Using ThreadLocal and AbstractRoutingDataSource
Architect
Architect
Dec 12, 2023 · Backend Development

Pingora: Cloudflare’s High‑Performance Rust‑Based HTTP Proxy

This article explains how Cloudflare replaced NGINX with Pingora, a Rust‑written HTTP proxy that processes over a trillion daily requests, offering superior performance, efficiency, and security through a multithreaded design, custom HTTP library, and programmable request lifecycle.

BackendCloudflareHTTP proxy
0 likes · 12 min read
Pingora: Cloudflare’s High‑Performance Rust‑Based HTTP Proxy
php Courses
php Courses
Dec 12, 2023 · Backend Development

Optimizing PHP Log Recording Performance

This article explains how to improve PHP logging performance by controlling log levels, batching writes, using asynchronous processes, and implementing log rotation, providing clear code examples for each technique in real-world PHP applications.

Backenderror logfile_put_contents
0 likes · 5 min read
Optimizing PHP Log Recording Performance
Top Architect
Top Architect
Dec 11, 2023 · Backend Development

Optimizing Large Transactions in Backend Development

The article explains why large database transactions degrade backend API performance, outlines issues such as data inconsistency, lock contention, and log overhead, and presents practical optimization techniques including avoiding RPC inside transactions, using programmatic transactions, batch processing, splitting into smaller transactions, and asynchronous parallel execution with CompletableFuture.

Backendtransaction
0 likes · 10 min read
Optimizing Large Transactions in Backend Development
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Dec 11, 2023 · Backend Development

Configuring Multiple Data Sources in Spring Boot with MyBatis

This article explains the underlying principles and step‑by‑step configuration for integrating Spring Boot with MyBatis to manage multiple data sources, covering BeanFactory, FactoryBean, SqlSessionFactoryBean setup, datasource properties, mapper scanning, and sample controller code for accessing distinct databases.

BackendMulti-DataSourceMyBatis
0 likes · 8 min read
Configuring Multiple Data Sources in Spring Boot with MyBatis
Open Source Tech Hub
Open Source Tech Hub
Dec 10, 2023 · Backend Development

Why WebSocket Heartbeat Is Essential and How to Implement It

This article explains why heartbeat detection is crucial for WebSocket connections, describes the underlying Ping/Pong mechanism, details server and client configuration parameters, and provides complete code examples for implementing reliable heartbeat and reconnection logic.

BackendHeartbeatPHP
0 likes · 9 min read
Why WebSocket Heartbeat Is Essential and How to Implement It
Architect's Guide
Architect's Guide
Dec 10, 2023 · Fundamentals

Understanding Network Protocols, TCP/UDP Handshakes, and Socket Connection Pools

This article explains the OSI seven‑layer model, the mechanics of TCP three‑way handshake and four‑way termination, differences between TCP and UDP, long‑living socket connections, custom protocol design, and how to implement a socket connection pool for high‑concurrency backend services.

BackendConnection PoolNetwork Protocols
0 likes · 14 min read
Understanding Network Protocols, TCP/UDP Handshakes, and Socket Connection Pools
Open Source Tech Hub
Open Source Tech Hub
Dec 9, 2023 · Backend Development

Build Real‑Time Group & Private Chat with WebSocket and PHP Validation

This guide explains how to design group and private chat messages, define a unified JSON protocol, validate payloads with a custom validator, and implement WebSocket callbacks (onWorkerStart, onWebSocketConnect, onMessage, onClose) using PHP and JavaScript client examples for both one‑to‑one and group conversations.

BackendPHPReal-time Chat
0 likes · 11 min read
Build Real‑Time Group & Private Chat with WebSocket and PHP Validation
Code Ape Tech Column
Code Ape Tech Column
Dec 9, 2023 · Backend Development

PowerJob Overview: Selection Rationale, Architecture, Task Types, and Scheduling Strategies with Code Samples

This article introduces the PowerJob distributed task framework, explains why it was chosen, details its architecture and high‑availability design, demonstrates various job types—including standalone, broadcast, map, and map‑reduce—with Java code examples, and covers scheduling options such as CRON, fixed‑rate, and fixed‑delay execution.

BackendDistributed SchedulingMapReduce
0 likes · 14 min read
PowerJob Overview: Selection Rationale, Architecture, Task Types, and Scheduling Strategies with Code Samples
php Courses
php Courses
Dec 9, 2023 · Backend Development

How to Use PHP's file_get_contents() to Read Local and Remote Files

This article explains the syntax and parameters of PHP's file_get_contents() function, provides example code for reading both local and remote files, and highlights important usage notes for efficiently retrieving file contents in backend development.

BackendFile Readingfile_get_contents
0 likes · 4 min read
How to Use PHP's file_get_contents() to Read Local and Remote Files
php Courses
php Courses
Dec 8, 2023 · Backend Development

Using PHP shuffle() to Randomly Rearrange Array Elements

This article explains PHP's shuffle() function, its syntax, behavior, return value, and demonstrates how it randomizes both indexed and associative arrays with code examples, highlighting that it modifies the original array and reindexes non‑sequential keys.

ArrayBackendShuffle
0 likes · 5 min read
Using PHP shuffle() to Randomly Rearrange Array Elements
php Courses
php Courses
Dec 8, 2023 · Backend Development

Understanding PHP strlen() Function: Syntax, Examples, and Usage

This article explains PHP's strlen() function, covering its syntax, usage examples for measuring string length with and without surrounding spaces, important encoding considerations, and provides learning resources for further in PHP development.

BackendTutorialstring-length
0 likes · 4 min read
Understanding PHP strlen() Function: Syntax, Examples, and Usage
dbaplus Community
dbaplus Community
Dec 7, 2023 · Backend Development

How to Merge Go Microservices into a Single Pod and Cut CPU Usage by 60%

This article explains how the team transformed a Go‑based microservice recommendation system into a single‑pod monolithic application using tRPC‑Go, detailing performance bottlenecks, code‑level mock‑proxy techniques, deployment adjustments, and the resulting dramatic reduction in CPU consumption.

BackendGoMicroservices
0 likes · 13 min read
How to Merge Go Microservices into a Single Pod and Cut CPU Usage by 60%
360 Smart Cloud
360 Smart Cloud
Dec 7, 2023 · Fundamentals

Understanding Asynchronous and Event Mechanisms in Frontend and Backend Development

This article explains how asynchronous programming and event‑driven mechanisms work in both frontend JavaScript and backend Golang, covering the JavaScript event loop, macro‑ and micro‑tasks, goroutine‑based concurrency, and the kernel‑level epoll architecture that together enable efficient, non‑blocking execution.

AsynchronousBackendGolang
0 likes · 17 min read
Understanding Asynchronous and Event Mechanisms in Frontend and Backend Development
JavaEdge
JavaEdge
Dec 6, 2023 · Backend Development

Choosing and Implementing Caching for Spring Boot Microservices

This article explains why caching is crucial for Spring Boot applications, examines its impact on microservice architectures, outlines criteria for selecting the right cache—usability, speed, availability, observability—and compares local, distributed, and hierarchical caches with practical strategies and code examples.

BackendSpring Bootdistributed cache
0 likes · 7 min read
Choosing and Implementing Caching for Spring Boot Microservices
转转QA
转转QA
Dec 6, 2023 · Backend Development

Store System Refactoring Types, Challenges, and Testing Strategies

This article analyzes the current store system issues, outlines various refactoring types and their difficulties, presents common efficiency measures, and details testing schemes for both unchanged‑business and changed‑business refactoring cases, highlighting objectives, challenges, processes, and overall effectiveness.

Backendperformancerefactoring
0 likes · 8 min read
Store System Refactoring Types, Challenges, and Testing Strategies
php Courses
php Courses
Dec 6, 2023 · Backend Development

Using PHP's array() Function to Create Indexed and Associative Arrays

This article explains PHP's built‑in array() function, demonstrating how to create both indexed and associative arrays with clear examples, code snippets, and important usage notes for developers. It also covers mixed and nested arrays, parameter rules, and common pitfalls to help you write robust PHP code.

ArrayBackendPHP
0 likes · 6 min read
Using PHP's array() Function to Create Indexed and Associative Arrays
php Courses
php Courses
Dec 6, 2023 · Backend Development

Using PHP is_float() Function to Detect Floating-Point Numbers

This article explains the PHP is_float() function, covering its syntax, behavior, and practical code examples that demonstrate how to check whether variables are floating‑point numbers and handle related conditional logic.

Backendfloat detectionis_float
0 likes · 5 min read
Using PHP is_float() Function to Detect Floating-Point Numbers
dbaplus Community
dbaplus Community
Dec 5, 2023 · Backend Development

Taming Chaotic Logs: Practical Governance and Stack Trace Optimization

Facing uncontrolled log proliferation, the author shares a real-world case of log governance that reduces costs and boosts efficiency by categorizing logs, simplifying formats, consolidating tools, introducing a three‑layer log architecture, and applying stack‑trace reversal techniques with concrete code examples.

BackendLog Managementjava
0 likes · 16 min read
Taming Chaotic Logs: Practical Governance and Stack Trace Optimization
Senior Brother's Insights
Senior Brother's Insights
Dec 5, 2023 · Backend Development

10 Essential REST API Design Best Practices Every Backend Engineer Should Follow

This article outlines ten practical REST API design guidelines—including meaningful resource naming, proper HTTP methods and status codes, versioning, consistent error handling, query parameters, authentication, statelessness, and thorough documentation—to help developers build robust, scalable backend services.

BackendDocumentationHTTP
0 likes · 8 min read
10 Essential REST API Design Best Practices Every Backend Engineer Should Follow
Architecture Digest
Architecture Digest
Dec 5, 2023 · Backend Development

Common Java Backend Code Smells and Bugs: Real‑World Cases and Fixes

The article presents a collection of typical Java backend coding mistakes—ranging from misused ternary operators and poor parameter validation to logging pitfalls, dead code, improper exception handling, AOP self‑invocation issues, Redis resilience problems, and Excel file upload bugs—along with concrete examples, images, and corrected code snippets to help developers avoid and fix them.

BackendBugFixesCodeQuality
0 likes · 12 min read
Common Java Backend Code Smells and Bugs: Real‑World Cases and Fixes
php Courses
php Courses
Dec 5, 2023 · Backend Development

Understanding and Using PHP's in_array() Function

This article explains PHP's in_array() function, detailing its syntax, parameters, and return values, and provides multiple code examples demonstrating basic usage, strict type comparison, and practical tips for efficiently checking the presence of values in arrays.

ArrayBackendPHP
0 likes · 5 min read
Understanding and Using PHP's in_array() Function
php Courses
php Courses
Dec 5, 2023 · Backend Development

Error Handling in PHP Multithreaded Programming with pthreads

This article explains how to install the pthreads extension for PHP and demonstrates three approaches—try‑catch blocks, shared variables, and logging—to capture and propagate errors from worker threads back to the main thread, ensuring stable multithreaded applications.

Backendmultithreadingpthreads
0 likes · 5 min read
Error Handling in PHP Multithreaded Programming with pthreads
php Courses
php Courses
Dec 5, 2023 · Backend Development

phpy – A PHP Extension for Seamless Python Integration

phpy is an open‑source Swoole project that lets PHP import and use Python packages—including popular AI and scientific libraries—by providing a PHP extension or a Python C module, with detailed installation steps, usage examples, and support for callbacks and named parameters.

BackendExtensionInterop
0 likes · 10 min read
phpy – A PHP Extension for Seamless Python Integration
Code Ape Tech Column
Code Ape Tech Column
Dec 5, 2023 · Backend Development

Design and Implementation of a Java Rule Engine with AND/OR Logic

This article explains how to design and refactor a Java rule engine that supports short‑circuit AND/OR logic, demonstrates the abstraction of rules, shows concrete implementations, and provides a chainable service for executing combined rule sets with example code.

AND/OR LogicBackendCode Refactoring
0 likes · 8 min read
Design and Implementation of a Java Rule Engine with AND/OR Logic
Architect
Architect
Dec 4, 2023 · Backend Development

Mastering Unified Exception Handling in Spring: Clean Code, Better Readability

This article analyzes the problem of scattered try‑catch blocks in Java services, explains why per‑controller exception methods are cumbersome, and presents a unified exception handling solution using @ControllerAdvice, custom Assert utilities, enum‑based error codes, and environment‑aware response formatting, all illustrated with concrete code examples and test results.

AssertBackendException Handling
0 likes · 24 min read
Mastering Unified Exception Handling in Spring: Clean Code, Better Readability
Sanyou's Java Diary
Sanyou's Java Diary
Dec 4, 2023 · Backend Development

When Pagination Breaks: Real‑World Bugs and Practical Fixes

This article recounts three production‑level pagination bugs encountered in a payment system, explains why they occurred—ranging from naive batch processing to MySQL's nondeterministic LIMIT behavior—and shows how proper pagination, ThreadLocal cleanup, and deterministic ordering resolve the issues.

Backendbug fixingmysql
0 likes · 16 min read
When Pagination Breaks: Real‑World Bugs and Practical Fixes
php Courses
php Courses
Dec 4, 2023 · Backend Development

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

This article explains the PHP str_word_count() function, its syntax, parameters, and provides multiple code examples showing how to count words, retrieve word arrays, obtain word positions, customize ignored characters, and use regular expressions for word matching.

BackendPHPString processing
0 likes · 5 min read
Using PHP str_word_count() Function to Count Words in a String
MaGe Linux Operations
MaGe Linux Operations
Dec 3, 2023 · Backend Development

How to Ensure Cache‑Database Consistency: Strategies and Best Practices

This article explains why introducing a cache improves read performance as traffic grows, compares different cache‑database consistency approaches, analyzes their pros and cons in concurrent scenarios, and recommends using the "update database then delete cache" pattern with message queues or change‑log subscriptions to maintain data integrity.

BackendConsistencycaching
0 likes · 12 min read
How to Ensure Cache‑Database Consistency: Strategies and Best Practices
Architect
Architect
Dec 2, 2023 · Backend Development

7 Common Message‑Queue Scenarios and How to Choose the Right Type

This article examines seven typical messaging scenarios—ordinary, ordered, delayed, transactional, trace, dead‑letter, and priority messages—explaining the problem each solves, the trade‑offs, and concrete implementations in RocketMQ, Pulsar, RabbitMQ and Kafka with code samples.

BackendMessage Queuedead-letter
0 likes · 14 min read
7 Common Message‑Queue Scenarios and How to Choose the Right Type
Selected Java Interview Questions
Selected Java Interview Questions
Dec 2, 2023 · Backend Development

Understanding HashMap Resize Behavior and the Revision from Expansion Count to Resize Count in Alibaba's Developer Manual

This article explains the recent correction in Alibaba's developer manual that replaces the ambiguous "expansion count" of HashMap with the precise "resize count", details the conditions under which HashMap triggers resize during the first put operation, and shows why storing 1024 elements in JDK 1.8 results in eight resize calls.

BackendData StructuresJDK8
0 likes · 9 min read
Understanding HashMap Resize Behavior and the Revision from Expansion Count to Resize Count in Alibaba's Developer Manual
php Courses
php Courses
Dec 2, 2023 · Backend Development

Using PHP file_exists() to Check File and Directory Existence

This article explains how the PHP file_exists() function works, its syntax, return values, usage examples for local and remote files as well as directories, and important considerations when employing it in backend development.

BackendFilesystemPHP
0 likes · 3 min read
Using PHP file_exists() to Check File and Directory Existence