Tagged articles

backend

5000 articles · Page 12 of 50
Top Architect
Top Architect
Jan 30, 2025 · Backend Development

OAuth 2.0 Tutorial with Spring Boot Implementation and Testing

This article introduces OAuth 2.0 concepts, explains its roles and grant types, and provides a complete Spring Boot implementation—including configuration classes, dependency setup, and test endpoints—followed by step‑by‑step testing results with screenshots.

OAuth2authenticationbackend
0 likes · 13 min read
OAuth 2.0 Tutorial with Spring Boot Implementation and Testing
php Courses
php Courses
Jan 27, 2025 · Backend Development

Using PHP ftell() to Retrieve the Current File Pointer Position

This article explains the PHP ftell() function, its parameters and return values, and provides a complete example that reads the first ten bytes of a file, displays the content, obtains the file pointer offset, and highlights important considerations when working with byte‑based positions.

backendfile-handlingfile-pointer
0 likes · 4 min read
Using PHP ftell() to Retrieve the Current File Pointer Position
php Courses
php Courses
Jan 27, 2025 · Backend Development

Using PHP get_headers() to Retrieve HTTP Response Headers

This article explains the PHP get_headers() function, its syntax and parameters, provides code examples for fetching and printing HTTP response headers, and discusses common use cases such as checking remote file existence, obtaining file metadata, and supporting web crawlers.

backendget_headershttp
0 likes · 4 min read
Using PHP get_headers() to Retrieve HTTP Response Headers
Architecture Digest
Architecture Digest
Jan 26, 2025 · Backend Development

10 Essential Git Tips for Efficient Version Control

This article presents ten practical Git techniques—from undoing the last commit and resolving merge conflicts to using tags, stashing changes, and cleaning up branches—helping developers of all levels manage code history more effectively and streamline their workflow.

Command LineGitbackend
0 likes · 10 min read
10 Essential Git Tips for Efficient Version Control
php Courses
php Courses
Jan 26, 2025 · Backend Development

How to Use PHP is_file() to Check File Existence and Type

This article explains the PHP is_file() function, covering its syntax, parameters, return values, and provides clear code examples for checking whether a path exists, is a regular file, and how to differentiate files from directories using is_dir().

File Handlingbackendis_file
0 likes · 4 min read
How to Use PHP is_file() to Check File Existence and Type
php Courses
php Courses
Jan 26, 2025 · Backend Development

Using PHP’s array_flip() Function to Swap Keys and Values

This article explains PHP’s array_flip() function, showing its syntax, how it swaps array keys and values, handling duplicate values, and demonstrates practical uses with code examples that flip fruit and student arrays and retrieve values efficiently.

Code ExamplePHParray_flip
0 likes · 5 min read
Using PHP’s array_flip() Function to Swap Keys and Values
Architect
Architect
Jan 25, 2025 · Backend Development

HTTP Retry Strategies in Offline Store Systems: Simple Loop, Apache HttpClient, and MQ‑Based Asynchronous Retries

This article explores practical HTTP retry solutions for offline store applications, covering a basic loop retry, the built‑in retry mechanism of Apache HttpClient with custom handlers, and an asynchronous retry approach using message queues to achieve higher reliability and eventual consistency.

Apache HttpClientJavaMessage Queue
0 likes · 12 min read
HTTP Retry Strategies in Offline Store Systems: Simple Loop, Apache HttpClient, and MQ‑Based Asynchronous Retries
Raymond Ops
Raymond Ops
Jan 25, 2025 · Backend Development

Master Go Concurrency: Goroutines, Scheduler, and Synchronization Techniques

This article explains Go's concurrency model, detailing how goroutines are scheduled on logical processors, how to create and manage them, detect and resolve race conditions using atomic operations, mutexes, and channels, and demonstrates practical code examples for each concept.

atomicbackendchannel
0 likes · 19 min read
Master Go Concurrency: Goroutines, Scheduler, and Synchronization Techniques
Architect's Guide
Architect's Guide
Jan 25, 2025 · Information Security

Understanding Session and Token‑Based Authentication with JWT in Java

This article explains the stateless nature of HTTP, compares session‑based and token‑based authentication, describes JWT structure and security considerations, and provides Java code examples for implementing login, token generation, verification, and extraction in a backend application.

JWTJavabackend
0 likes · 8 min read
Understanding Session and Token‑Based Authentication with JWT in Java
php Courses
php Courses
Jan 24, 2025 · Backend Development

Using PHP is_numeric() to Determine Numeric Values

This article explains PHP's is_numeric() function, how it determines whether a variable is numeric, demonstrates usage with various examples, and highlights special cases and form validation considerations for developers in web applications.

backendis_numericnumeric check
0 likes · 4 min read
Using PHP is_numeric() to Determine Numeric Values
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jan 24, 2025 · Backend Development

Master Dynamic Configuration Refresh in Spring Cloud Without Nacos – Step‑by‑Step Guide

This article walks you through configuring Spring Cloud for dynamic property updates, covering dependency setup, enabling bootstrap, defining configuration properties, exposing a refresh endpoint, and listening to EnvironmentChangeEvent, all illustrated with complete code snippets and screenshots.

Javabackendconfiguration-refresh
0 likes · 7 min read
Master Dynamic Configuration Refresh in Spring Cloud Without Nacos – Step‑by‑Step Guide
php Courses
php Courses
Jan 23, 2025 · Backend Development

Using PHP array_merge() to Combine Indexed and Associative Arrays

This article explains PHP's array_merge() function, detailing its syntax, demonstrating how to merge indexed and associative arrays with multiple examples, and highlighting how overlapping keys are handled, providing developers with practical guidance for efficient array manipulation.

Arrayarray mergebackend
0 likes · 4 min read
Using PHP array_merge() to Combine Indexed and Associative Arrays
php Courses
php Courses
Jan 23, 2025 · Backend Development

Using PHP str_replace() for String Replacement

This article explains PHP's str_replace() function, detailing its syntax, parameters, return value, and provides three practical code examples—including single and multiple replacements and case‑insensitive replacement—while highlighting best practices for effective string manipulation.

backendphp-tutorialstr_replace
0 likes · 4 min read
Using PHP str_replace() for String Replacement
Top Architect
Top Architect
Jan 22, 2025 · Information Security

Designing Secure Third‑Party API Authentication with AK/SK, Signatures and Token Management

This article presents a comprehensive design for securing third‑party API calls by generating unique Access Key/Secret Key pairs, defining permission granularity, implementing signature generation with timestamps and nonces, handling token lifecycle, and providing concrete Java and SQL code examples for practical deployment.

AK/SKAPI securityJava
0 likes · 31 min read
Designing Secure Third‑Party API Authentication with AK/SK, Signatures and Token Management
php Courses
php Courses
Jan 22, 2025 · Backend Development

Using PHP rename() Function to Rename Files and Directories

This article explains the PHP rename() function, its syntax, parameters, return values, and provides clear examples for renaming both files and directories while noting permission considerations and common pitfalls.

backendfile managementrename
0 likes · 4 min read
Using PHP rename() Function to Rename Files and Directories
Architect
Architect
Jan 21, 2025 · Backend Development

Refactoring Spring MVC Controllers for Unified Responses and Robust Validation

The article analyzes the role of Spring MVC Controllers, identifies issues with traditional implementations, and demonstrates how to create a unified response structure, automatically wrap results using ResponseBodyAdvice, resolve String conversion problems, and apply JSR‑303 validation with custom rules and global exception handling.

ControllerJavaResponseBodyAdvice
0 likes · 22 min read
Refactoring Spring MVC Controllers for Unified Responses and Robust Validation
Selected Java Interview Questions
Selected Java Interview Questions
Jan 21, 2025 · Backend Development

Integrating Alipay Sandbox Payment in a Java Backend with Ngrok Tunneling

This guide explains how to configure Alipay sandbox credentials, expose a local Java Spring Boot service via a tunneling tool, add the Alipay SDK dependency, set up configuration files, implement payment and notification endpoints, and handle common initialization errors for seamless backend payment integration.

AlipayJavaPayment Integration
0 likes · 11 min read
Integrating Alipay Sandbox Payment in a Java Backend with Ngrok Tunneling
php Courses
php Courses
Jan 21, 2025 · Backend Development

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

This article explains PHP's array_values() function, showing how it returns a new array with re‑indexed keys, provides examples with both indexed and associative arrays, demonstrates that the returned array is a copy, and discusses practical scenarios for its use.

Code ExamplePHParray_values
0 likes · 4 min read
Using PHP's array_values() Function to Reindex and Convert Arrays
Top Architecture Tech Stack
Top Architecture Tech Stack
Jan 21, 2025 · Backend Development

Common Backend Interface Performance Optimization Techniques

This article presents a comprehensive set of backend API performance optimization methods—including batch processing, asynchronous execution, caching, preprocessing, pooling, parallelization, indexing, transaction handling, pagination, SQL tuning, and lock granularity—illustrated with code snippets and diagrams to help developers improve response times and resource efficiency.

APIAsynchronousbackend
0 likes · 12 min read
Common Backend Interface Performance Optimization Techniques
JD Cloud Developers
JD Cloud Developers
Jan 20, 2025 · Backend Development

Boosting Inventory Reservation Performance: Strategies for High‑Concurrency Scenarios

This article examines the core challenges of high‑concurrency inventory pre‑reservation, evaluates async throttling, horizontal stock splitting, and Redis‑based write‑shielding, and presents concrete implementations, performance results, thread‑safety techniques, deadlock avoidance, and data‑consistency safeguards for robust backend systems.

InventoryMySQLRedis
0 likes · 11 min read
Boosting Inventory Reservation Performance: Strategies for High‑Concurrency Scenarios
php Courses
php Courses
Jan 20, 2025 · Backend Development

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

This article explains the PHP implode() function, detailing its syntax, parameters, and usage examples for joining array elements—including handling nested arrays and omitting delimiters—to efficiently convert arrays into strings in backend development.

ArrayPHPbackend
0 likes · 6 min read
Using PHP implode() to Join Array Elements into a String
php Courses
php Courses
Jan 20, 2025 · Backend Development

PHP Memory Optimization Techniques

This article presents a comprehensive guide to PHP memory optimization, covering strategies such as using unset() to free variables, processing data in chunks, manual garbage collection, monitoring usage, optimizing loops, generators, lazy class loading, database tuning, profiling tools, serialization practices, Opcache, session handling, large file processing, and Composer dependency management.

GCbackendbest-practices
0 likes · 9 min read
PHP Memory Optimization Techniques
Java Tech Enthusiast
Java Tech Enthusiast
Jan 19, 2025 · Databases

A Low‑Level Bug Caused by Decimal Precision Mistake: Lessons on Code Review, Testing, and Process

A simple typo that changed a daily interest rate from 0.00006944444 to 0.00069444444 inflated calculated interest tenfold, went unnoticed because the author self‑approved the SQL update and testing only checked syntax, and the incident underscores the need for rigorous code review, testing, and change‑management procedures for critical data.

PrecisionSQLbackend
0 likes · 12 min read
A Low‑Level Bug Caused by Decimal Precision Mistake: Lessons on Code Review, Testing, and Process
Go Development Architecture Practice
Go Development Architecture Practice
Jan 17, 2025 · Backend Development

Mastering Go Backend: Project Structure, Error Handling, and Observability Best Practices

This article explores practical Go backend development techniques, covering project organization, package naming, internal packages, init usage, layer separation (controller, service, dao), dependency injection, global variable pitfalls, observability with logging, tracing and monitoring, comprehensive error handling, and DAO layer automation.

Observabilitybackenddependency-injection
0 likes · 23 min read
Mastering Go Backend: Project Structure, Error Handling, and Observability Best Practices
macrozheng
macrozheng
Jan 17, 2025 · Backend Development

Mastering Spring Event: Avoid Pitfalls and Ensure Reliable Publish‑Subscribe

This article shares hard‑won lessons from production incidents and provides practical guidelines—graceful shutdown, proper startup timing, suitable business scenarios, reliability patterns, and idempotent handling—to use Spring Event safely and effectively in Java backend systems.

EventJavaPublish-Subscribe
0 likes · 12 min read
Mastering Spring Event: Avoid Pitfalls and Ensure Reliable Publish‑Subscribe
php Courses
php Courses
Jan 17, 2025 · Backend Development

Implementing Product Purchase Quantity Limits in a PHP E‑Commerce Store

This guide explains how to design the database, modify product detail, cart, and order pages, and use PHP and Ajax to enforce stock‑based purchase quantity limits in an online store, ensuring users cannot exceed available inventory and improving overall shopping experience.

E‑commercePHPbackend
0 likes · 4 min read
Implementing Product Purchase Quantity Limits in a PHP E‑Commerce Store
Top Architect
Top Architect
Jan 16, 2025 · Backend Development

Guide to Using the XXL‑JOB Distributed Task Scheduling Framework with Spring Boot

This article introduces the XXL‑JOB open‑source distributed scheduler, compares it with Quartz and other solutions, and provides a step‑by‑step tutorial for server deployment, executor configuration, task development, execution, logging, and the underlying Netty‑based communication design, complete with code examples.

JavaNettySpring Boot
0 likes · 15 min read
Guide to Using the XXL‑JOB Distributed Task Scheduling Framework with Spring Boot
Code Ape Tech Column
Code Ape Tech Column
Jan 16, 2025 · Backend Development

Using Maven Dependency Analysis to Detect Unused and Undeclared JARs

This article explains why Maven dependency analysis is essential for Java backend projects, demonstrates how to run the analysis with Maven and IntelliJ IDEA, interprets the warnings about used undeclared and unused declared dependencies, and provides best‑practice timing, risks, and shortcuts for maintaining clean dependency trees.

IntelliJ IDEAJavaMaven
0 likes · 8 min read
Using Maven Dependency Analysis to Detect Unused and Undeclared JARs
php Courses
php Courses
Jan 16, 2025 · Backend Development

Using PHP's array_slice() Function: Syntax, Parameters, and Practical Examples

This tutorial explains PHP's array_slice() function, covering its syntax, parameters, and practical examples—including extracting specific elements, preserving keys, and using it for pagination—while highlighting that it returns a new array without altering the original.

Paginationarray manipulationarray_slice
0 likes · 5 min read
Using PHP's array_slice() Function: Syntax, Parameters, and Practical Examples
Ops Development & AI Practice
Ops Development & AI Practice
Jan 15, 2025 · Backend Development

Mastering CORS in Nginx: Common Errors and Precise Fixes

This guide explains the fundamentals of CORS, walks through typical misconfigurations such as HeaderDisallowedByPreflightResponse, Nginx header ordering, and Origin‑Credentials conflicts, and provides complete Nginx examples to reliably enable cross‑origin requests.

CORSbackendhttp
0 likes · 8 min read
Mastering CORS in Nginx: Common Errors and Precise Fixes
Open Source Tech Hub
Open Source Tech Hub
Jan 15, 2025 · Backend Development

What’s New in ThinkPHP 8.1.2? Key Features and Debugging Enhancements

ThinkPHP 8.1.2 introduces a host of improvements such as enhanced event subscription, new validation utilities, route grouping options, cookie handling fixes, multi‑module view rendering, language auto‑detect, and a brand‑new debugging library that supports local and remote debugging via Composer.

DebuggingPHPThinkPHP
0 likes · 3 min read
What’s New in ThinkPHP 8.1.2? Key Features and Debugging Enhancements
php Courses
php Courses
Jan 15, 2025 · Backend Development

Using PHP str_replace for String Replacement and Deletion

This article explains the PHP str_replace function, shows its syntax, and provides three practical examples demonstrating simple replacement, multiple replacements using arrays, and character deletion, helping developers efficiently manipulate strings in their backend code.

backendphp-functionsstr_replace
0 likes · 4 min read
Using PHP str_replace for String Replacement and Deletion
IT Architects Alliance
IT Architects Alliance
Jan 14, 2025 · Backend Development

From Monolith to Microservices: Benefits, Migration Practices, and a Real‑World Case Study

This article explains why monolithic applications become problematic as they scale, outlines the key advantages of microservice architectures, provides a step‑by‑step migration guide—including planning, service boundary definition, infrastructure setup, data decoupling, and communication—and illustrates the process with a fintech company case study.

backendcase studymigration
0 likes · 10 min read
From Monolith to Microservices: Benefits, Migration Practices, and a Real‑World Case Study
Selected Java Interview Questions
Selected Java Interview Questions
Jan 14, 2025 · Backend Development

Understanding the Chain of Responsibility Pattern and Its Combination with Strategy Pattern in Java

This article explains the Chain of Responsibility design pattern, its core concepts, characteristics, and problems it solves, then demonstrates how to combine it with the Strategy pattern through detailed Java code examples that illustrate a product‑up‑shelf validation workflow and a generic request‑handling scenario.

Chain of ResponsibilityDesign PatternJava
0 likes · 16 min read
Understanding the Chain of Responsibility Pattern and Its Combination with Strategy Pattern in Java
Java Web Project
Java Web Project
Jan 14, 2025 · Backend Development

Master Spring Boot CLI: Install, Run, Test, and Package Groovy Apps

This guide walks you through installing Spring Boot CLI, explains its Groovy‑based features, demonstrates creating and running a Hello World web app, shows how to use @Grab for dependencies, test with spring test, package into executable JARs, and explore init and shell commands.

CLICommand LineGroovy
0 likes · 13 min read
Master Spring Boot CLI: Install, Run, Test, and Package Groovy Apps
php Courses
php Courses
Jan 14, 2025 · Backend Development

Using PHP’s is_object Function to Check Variable Types

This article explains how PHP’s built‑in is_object function can be used to determine whether a variable is an object, demonstrates its syntax, provides a complete code example with both an object and an array, and clarifies the distinction between objects and arrays.

PHPType Checkingbackend
0 likes · 4 min read
Using PHP’s is_object Function to Check Variable Types
php Courses
php Courses
Jan 14, 2025 · Backend Development

Reading Large Files in PHP Using fread: Line‑by‑Line Processing

This article explains how to efficiently read large files in PHP line by line with the fread function, provides a complete code example, and discusses additional techniques such as buffering, fseek positioning, and adjusting memory limits to avoid memory overflow.

Large FilesMemory Managementbackend
0 likes · 4 min read
Reading Large Files in PHP Using fread: Line‑by‑Line Processing
Practical DevOps Architecture
Practical DevOps Architecture
Jan 14, 2025 · Backend Development

Comprehensive E‑commerce Project Tutorial Series: Core Order System, Seckill Service, Microservice Architecture, Performance Optimization, and Cloud‑Native Deployment

This extensive tutorial series provides step‑by‑step video guides covering the design and implementation of an e‑commerce core order system, promotional processes, distributed services, a high‑concurrency seckill platform, performance tuning techniques, microservice architecture with Spring Cloud Alibaba, and cloud‑native deployment using Docker, Kubernetes, Prometheus, and Grafana.

E‑commercePerformancebackend
0 likes · 7 min read
Comprehensive E‑commerce Project Tutorial Series: Core Order System, Seckill Service, Microservice Architecture, Performance Optimization, and Cloud‑Native Deployment
Baidu Geek Talk
Baidu Geek Talk
Jan 13, 2025 · Industry Insights

Top 12 Must-Read Baidu Tech Articles of 2024: Insights & Innovations

This roundup highlights twelve standout Baidu Geek articles from 2024, covering breakthroughs in search personalization, high‑performance Go services, transaction reconciliation, login system evolution, AI‑native applications, microservice governance, caching algorithms, RLHF optimization, ClickHouse deployment, and more, each with concise recommendation reasons.

2024AIBaidu
0 likes · 8 min read
Top 12 Must-Read Baidu Tech Articles of 2024: Insights & Innovations
IT Services Circle
IT Services Circle
Jan 13, 2025 · Backend Development

Compilation of Common Backend Interview Questions and Answers for Small Companies

This article presents a comprehensive collection of written‑test and interview questions covering Java basics, Spring MVC annotations, JVM memory, garbage collection, database design, transaction management, distributed systems, version control, and development workflow, aimed at helping candidates prepare for small‑company technical interviews.

DatabaseGitJVM
0 likes · 6 min read
Compilation of Common Backend Interview Questions and Answers for Small Companies
JD Tech Talk
JD Tech Talk
Jan 13, 2025 · Backend Development

Recursive Order Merging Algorithm for JD Logistics Inbound Service

This article describes the background, problem definition, recursive algorithm design, Java implementation, deduplication logic, performance considerations, and business impact of a SKU‑level order merging solution for JD Logistics' inbound-to-warehouse process.

AlgorithmRecursionbackend
0 likes · 10 min read
Recursive Order Merging Algorithm for JD Logistics Inbound Service
macrozheng
macrozheng
Jan 13, 2025 · Backend Development

Implement Dynamic Discount Rules in Spring Boot with Drools

This guide shows how to integrate the Drools rule engine into a Spring Boot application to calculate e‑commerce discounts dynamically, covering Maven dependencies, configuration, model definitions, DRL rule creation, service and controller layers, and a simple test scenario demonstrating rule‑driven discount computation.

DroolsJavabackend
0 likes · 11 min read
Implement Dynamic Discount Rules in Spring Boot with Drools
Top Architect
Top Architect
Jan 12, 2025 · Backend Development

Optimizing a High‑Concurrency Interface: Reducing Response Time from 30 s to 0.8 s

This article presents a real‑world case study of a high‑concurrency data‑processing interface whose response time was reduced from 30 seconds to under one second by diagnosing SQL bottlenecks, applying PostgreSQL array aggregation, moving logic to the database, and introducing Caffeine caching, with detailed code examples and performance analysis.

MyBatisOptimizationPerformance
0 likes · 13 min read
Optimizing a High‑Concurrency Interface: Reducing Response Time from 30 s to 0.8 s
php Courses
php Courses
Jan 10, 2025 · Backend Development

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

This article explains the PHP in_array() function, detailing its syntax, optional strict mode parameter, and provides three clear code examples that demonstrate checking for values, enforcing type comparison, and retrieving keys associated with specific values in arrays.

Arraybackendin_array
0 likes · 4 min read
Using PHP in_array() Function: Syntax, Parameters, and Practical Examples
php Courses
php Courses
Jan 10, 2025 · Backend Development

Top PHP Alternatives for Web Development

This article reviews the most popular programming languages that can serve as alternatives to PHP for web development, evaluating each option’s performance, ecosystem, and suitability for server‑side projects, and offers guidance on selecting the best replacement based on project requirements.

JavaNode.jsPHP
0 likes · 7 min read
Top PHP Alternatives for Web Development
php Courses
php Courses
Jan 10, 2025 · Backend Development

Using PHP's array_multisort() Function to Sort Multiple Arrays

This article explains the syntax and parameters of PHP's array_multisort() function, demonstrates its usage with a concrete example sorting names, ages, and scores, and shows the resulting ordered arrays, highlighting how to sort multiple arrays simultaneously.

array_multisortbackendcode-example
0 likes · 4 min read
Using PHP's array_multisort() Function to Sort Multiple Arrays
大转转FE
大转转FE
Jan 10, 2025 · Backend Development

Which Real‑Time Data Technique Is Best? Polling, WebSocket, or SSE Compared

This article compares three real‑time data update methods—short and long polling, WebSocket, and Server‑Sent Events—explaining their principles, advantages, drawbacks, and providing practical code examples so developers can choose the most suitable solution for their web applications.

PollingSSEWeb Development
0 likes · 16 min read
Which Real‑Time Data Technique Is Best? Polling, WebSocket, or SSE Compared
Architect
Architect
Jan 9, 2025 · Industry Insights

How to Ensure Immediate Reads After Writes in Multi-Active Architectures

This article analyzes the "write‑after‑immediate‑read" challenge in multi‑active disaster‑recovery setups, breaks down solution directions, presents a three‑city five‑center case study, and outlines a four‑step model—distinguish scenarios, mark written data, assess latency, and enable near‑by access—to achieve consistent, low‑latency reads.

Data ConsistencyMulti-Activebackend
0 likes · 15 min read
How to Ensure Immediate Reads After Writes in Multi-Active Architectures
Top Architect
Top Architect
Jan 9, 2025 · Backend Development

Common Interface Performance Optimization Strategies for Backend Systems

This article presents a comprehensive set of practical techniques—including batch processing, asynchronous execution, caching, pre‑processing, pooling, parallelization, indexing, transaction management, pagination, SQL tuning, and lock granularity—to significantly reduce API latency and improve overall backend performance, illustrated with Java code examples and diagrams.

APIOptimizationPerformance
0 likes · 13 min read
Common Interface Performance Optimization Strategies for Backend Systems
php Courses
php Courses
Jan 9, 2025 · Backend Development

Using curl_init() in PHP: Syntax, Parameters, Return Values, and Example

This article explains the PHP curl_init() function, covering its syntax, optional URL parameter, return values, and provides a complete example demonstrating initialization, option setting, execution, error handling, and response processing for HTTP API requests.

Networkingbackendcurl
0 likes · 4 min read
Using curl_init() in PHP: Syntax, Parameters, Return Values, and Example
php Courses
php Courses
Jan 9, 2025 · Backend Development

10 Essential PHP Functions to Boost Development Efficiency

This article introduces ten essential PHP built‑in functions—including array_map, array_filter, array_reduce, json_encode/decode, and string utilities—explaining their purpose and providing clear code examples to help developers write more concise and efficient backend code.

ArrayCodingPHP
0 likes · 5 min read
10 Essential PHP Functions to Boost Development Efficiency
Open Source Tech Hub
Open Source Tech Hub
Jan 8, 2025 · Backend Development

Build Asynchronous RabbitMQ Clients with Workerman in PHP

This guide explains how to install the workerman/rabbitmq package, set up producer and consumer scripts for both Workerman and PHP‑FPM environments, and run asynchronous RabbitMQ messaging using detailed PHP code examples and configuration options.

Message QueuePHPbackend
0 likes · 7 min read
Build Asynchronous RabbitMQ Clients with Workerman in PHP
php Courses
php Courses
Jan 8, 2025 · Backend Development

Using PHP's array_pop Function to Remove the Last Element from an Array

This article explains how PHP's array_pop function removes and returns the last element of an array, provides its syntax, demonstrates its usage with a complete code example, shows the resulting output, and highlights its usefulness for array manipulation in backend development.

Arrayarray_popbackend
0 likes · 4 min read
Using PHP's array_pop Function to Remove the Last Element from an Array
php Courses
php Courses
Jan 8, 2025 · Backend Development

Using PHP's array_slice() Function: Syntax, Parameters, and Examples

This article explains PHP's array_slice() function, detailing its parameters, return value, and usage through multiple code examples that demonstrate extracting subsets of arrays, preserving keys, and omitting length to retrieve remaining elements, plus practical notes for pagination.

Data Processingarray manipulationarray_slice
0 likes · 4 min read
Using PHP's array_slice() Function: Syntax, Parameters, and Examples
Architect
Architect
Jan 7, 2025 · Backend Development

When Should You Split or Merge Microservices? A Practical Guide

This article examines the principles of microservice decomposition and composition, analyzes the risks of improper service splitting such as communication overhead, dependency loops, and chaotic call chains, and offers concrete governance strategies to achieve a balanced, maintainable architecture.

System Designarchitecturebackend
0 likes · 10 min read
When Should You Split or Merge Microservices? A Practical Guide
php Courses
php Courses
Jan 7, 2025 · Backend Development

Using the throw Keyword for Exception Handling in PHP

This article explains PHP's throw keyword, covering exception fundamentals, the try‑catch mechanism, the exception class hierarchy, and provides detailed code examples demonstrating how to throw and handle both built‑in and custom exceptions for robust error management.

Throwbackendcode-example
0 likes · 5 min read
Using the throw Keyword for Exception Handling in PHP
macrozheng
macrozheng
Jan 6, 2025 · Backend Development

Discover Elasticvue: A Lightweight Open‑Source GUI for Managing Elasticsearch

This article introduces Elasticvue, a free open‑source Elasticsearch GUI that supports ES 7.x/8.x, explains how to install it via Docker, demonstrates its features such as cluster monitoring, index and shard management, document search, and REST queries using a real e‑commerce project example.

DockerElasticsearchGUI
0 likes · 7 min read
Discover Elasticvue: A Lightweight Open‑Source GUI for Managing Elasticsearch
Architect
Architect
Jan 5, 2025 · Information Security

How to Build a Dynamic IP Blacklist with Nginx, Lua, and Redis

This guide explains how to create a dynamic IP blacklist that blocks malicious crawlers or users by configuring Nginx with Lua scripts and a Redis store, covering requirements, environment setup, design choices, configuration files, Lua code, and advanced usage scenarios.

IP blacklistLuaRedis
0 likes · 9 min read
How to Build a Dynamic IP Blacklist with Nginx, Lua, and Redis
Python Programming Learning Circle
Python Programming Learning Circle
Jan 4, 2025 · Backend Development

Instagram’s Migration from Python 2 to Python 3: Challenges, Solutions, and Performance Gains

This article details how Instagram migrated its massive Python 2/Django codebase to Python 3, covering the motivations, custom Django extensions, migration strategy, technical pitfalls such as Unicode handling, pickle compatibility, iterator behavior, and the resulting CPU and memory improvements.

DjangoPythonbackend
0 likes · 18 min read
Instagram’s Migration from Python 2 to Python 3: Challenges, Solutions, and Performance Gains
Liangxu Linux
Liangxu Linux
Jan 4, 2025 · Backend Development

Master Nginx Regex and Location Matching Rules: How Priority Works

This guide explains Nginx's regular‑expression syntax, the five location prefix types, their matching priority, and provides concrete configuration examples with code snippets and diagrams to help you correctly route requests in a single‑node Nginx v1.23.2 setup.

backendlocationpriority
0 likes · 14 min read
Master Nginx Regex and Location Matching Rules: How Priority Works
Architecture Digest
Architecture Digest
Jan 3, 2025 · Operations

Designing High‑Availability Architecture with Rate Limiting, Circuit Breaking, and Degradation Strategies

This article explains how to build a highly available distributed e‑commerce system by using load‑balancing, redundant servers, rate‑limiting techniques, circuit‑breaker patterns, and graceful degradation methods, and provides concrete Spring Cloud and Java code examples for each strategy.

backendcircuit breakingdistributed systems
0 likes · 18 min read
Designing High‑Availability Architecture with Rate Limiting, Circuit Breaking, and Degradation Strategies
Java Tech Enthusiast
Java Tech Enthusiast
Jan 3, 2025 · Backend Development

Automated Ticket Ordering Feature in China Railway 12306: Design and Implementation

China Railway’s 12306 trial of an automatic ticket‑ordering feature lets users pre‑select up to 60 trains, set priority and pre‑pay the highest fare for Spring Festival travel, with the system submitting orders automatically, handling refunds, and addressing priority sorting, scheduling, payment accuracy, and server load through extensive stress testing and a gray‑release strategy.

System Designautomationbackend
0 likes · 6 min read
Automated Ticket Ordering Feature in China Railway 12306: Design and Implementation
php Courses
php Courses
Jan 3, 2025 · Backend Development

Effective Exception Handling in PHP for Robust Applications

This article explains why proper exception handling is essential for building robust PHP applications, covering the advantages of exceptions over error codes, how to throw, catch, and create custom exceptions, set up global handlers, convert errors to exceptions, and log them effectively.

backendcustom-exceptionerror-management
0 likes · 7 min read
Effective Exception Handling in PHP for Robust Applications
Tencent Cloud Developer
Tencent Cloud Developer
Jan 2, 2025 · Backend Development

Rewriting the News Plugin Integration Layer: Design, Benefits, and Refactoring Timing

The article details a nine‑month rewrite of a fragmented 23‑interface news‑plugin integration layer into a single trpc‑go service, showing how unified architecture cut development effort by half, boosted stability above 99.99 %, slashed resource costs, raised test coverage to 66 %, and provides practical criteria for deciding when to refactor.

PerformanceRefactoringbackend
0 likes · 15 min read
Rewriting the News Plugin Integration Layer: Design, Benefits, and Refactoring Timing
php Courses
php Courses
Jan 2, 2025 · Backend Development

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

This article explains the PHP in_array() function, covering its syntax, parameter details, return values, and provides three practical code examples—including basic usage, strict mode comparison, and searching within multidimensional arrays—to help developers efficiently check element existence in arrays.

array_searchbackendin_array
0 likes · 5 min read
Using PHP in_array() Function: Syntax, Parameters, Return Values, and Examples
php Courses
php Courses
Jan 2, 2025 · Backend Development

Using PHP Closures to Encapsulate Reusable Code Blocks

This article explains how PHP closures—anonymous functions that capture external variables—can be used to encapsulate reusable code blocks, demonstrates practical examples including data processing callbacks and integration with object‑oriented classes, and shows how this approach enhances code reuse, maintainability, and flexibility.

Anonymous Functionsbackendclosures
0 likes · 4 min read
Using PHP Closures to Encapsulate Reusable Code Blocks
21CTO
21CTO
Jan 1, 2025 · Backend Development

Monolith vs Microservices: Which Architecture Fits Your Project?

This article compares monolithic and microservice architectures, outlining their advantages, disadvantages, and ideal use‑cases, helping developers decide which approach aligns best with project size, team structure, scalability needs, and long‑term maintenance goals.

Software Architecturebackendmicroservices
0 likes · 6 min read
Monolith vs Microservices: Which Architecture Fits Your Project?
Raymond Ops
Raymond Ops
Jan 1, 2025 · Backend Development

Unlocking Go’s Switch‑True Trick: Efficient Service Status Checks Explained

This article explores an unconventional Go switch‑true pattern used for checking systemd service status, compares it with equivalent if‑else logic, examines the generated assembly, and discusses when this style is advantageous for handling multiple string‑prefix conditions.

PerformanceSwitchSystemd
0 likes · 10 min read
Unlocking Go’s Switch‑True Trick: Efficient Service Status Checks Explained
macrozheng
macrozheng
Dec 30, 2024 · Backend Development

Master Java Stream API: From Basics to Advanced Collection Operations

This article introduces Java Stream API introduced in JDK 8, explains its pipeline concept, and demonstrates practical operations such as traversal, filtering, deduplication, type conversion, collection‑to‑map transformations, pagination, matching, and parallel processing with clear code examples.

CollectionsJavaJava8
0 likes · 15 min read
Master Java Stream API: From Basics to Advanced Collection Operations
FunTester
FunTester
Dec 30, 2024 · Backend Development

Top Go Frameworks and Libraries in 2024: Gin, Beego, Echo, Buffalo, and GORM

This article reviews five leading Go frameworks and libraries—Gin, Beego, Echo, Buffalo, and GORM—detailing their core features, typical use cases, and reasons to choose each, helping developers select the most suitable tools for modern backend and full‑stack development in 2024.

BeegoBuffaloEcho
0 likes · 15 min read
Top Go Frameworks and Libraries in 2024: Gin, Beego, Echo, Buffalo, and GORM
Open Source Tech Hub
Open Source Tech Hub
Dec 28, 2024 · Backend Development

Build a High‑Performance Queue System with Webman and GatewayWorker

This guide explains how to create a scalable PHP queue and ticket‑calling system using the high‑performance Webman framework and GatewayWorker, covering the system’s purpose, core components, step‑by‑step installation, configuration, startup commands, and sample log output.

GatewayWorkerInstallationPHP
0 likes · 5 min read
Build a High‑Performance Queue System with Webman and GatewayWorker
Top Architect
Top Architect
Dec 27, 2024 · Backend Development

Introducing Liteflow: A Lightweight Rule Engine for Java Backend Development

This article presents Liteflow, a lightweight yet powerful rule engine for Java Spring Boot applications, covering its architecture, supported rule formats, component types, EL rule files, data context handling, configuration options, and a practical e‑commerce workflow example, while providing Maven dependency snippets and usage code.

backend
0 likes · 11 min read
Introducing Liteflow: A Lightweight Rule Engine for Java Backend Development
php Courses
php Courses
Dec 27, 2024 · Backend Development

Using PHP password_hash for Secure Password Hashing

This article explains how PHP's password_hash function creates cryptographically strong, salted password hashes, demonstrates its usage with example code, and shows how to verify passwords securely using password_verify, emphasizing best practices for backend security.

Hashingbackendpassword security
0 likes · 4 min read
Using PHP password_hash for Secure Password Hashing