Tagged articles
5000 articles
Page 11 of 50
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.

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

BackendDistributed SchedulingNetty
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.

BackendDependency AnalysisIntelliJ IDEA
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.

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

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

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

BackendTutorialphp-functions
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.

BackendChain of ResponsibilityStrategy Pattern
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.

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

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

BackendMemory Managementfile-handling
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.

Backendcloud-nativee‑commerce
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.

2024AIBackend
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.

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

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

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

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

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

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

BackendPollingReal-Time
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.

BackendData ConsistencyDistributed Systems
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.

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

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

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

BackendMessage QueuePHP
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.

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

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

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

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

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

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

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

BackendSystem Designautomation
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
Selected Java Interview Questions
Selected Java Interview Questions
Jan 2, 2025 · Artificial Intelligence

Integrating Chinese Open‑Source AI Platforms with Java SDK and Prompt Engineering

This article introduces several Chinese open‑source AI platforms, shows how to import their Java SDKs, obtain API keys, run test demos, encapsulate a reusable AI module with Spring Boot configuration, and apply prompt‑engineering techniques to generate AI‑driven questionnaire content.

AI SDKArtificial IntelligenceBackend
0 likes · 13 min read
Integrating Chinese Open‑Source AI Platforms with Java SDK and Prompt Engineering
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.

Backendcase studyperformance
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.

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

BackendMicroservicesSoftware Architecture
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.

BackendSystemdcode-generation
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.

BackendCollectionsStream API
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.

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

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

BackendHashingpassword security
0 likes · 4 min read
Using PHP password_hash for Secure Password Hashing
php Courses
php Courses
Dec 27, 2024 · Backend Development

Using PHP's setcookie Function to Create and Manage Cookies

This article explains the PHP setcookie function, detailing its syntax, parameters, and practical examples for setting cookies with various attributes such as expiration time, path, domain, security, and HttpOnly flags.

BackendCookiesetcookie
0 likes · 4 min read
Using PHP's setcookie Function to Create and Manage Cookies
JD Tech Talk
JD Tech Talk
Dec 27, 2024 · Backend Development

Log Sampling and Cross‑Thread Propagation in High‑Throughput Java Services

The article examines the performance impact of excessive logging in large‑scale Java systems and proposes request‑level sampling with cross‑thread identifier propagation, offering practical component‑based solutions, implementation considerations, and a concrete code example for backend developers.

BackendSamplingThreadLocal
0 likes · 7 min read
Log Sampling and Cross‑Thread Propagation in High‑Throughput Java Services
Architect's Guide
Architect's Guide
Dec 27, 2024 · Backend Development

Fast‑Retry: High‑Performance Asynchronous Retry Framework for Java

Fast‑Retry is a high‑throughput Java retry library that enables asynchronous, non‑blocking retries for massive task volumes, offering programmable and annotation‑based APIs, custom retry policies, and significant performance gains over traditional synchronous frameworks like Spring‑Retry and Guava‑Retry.

BackendRetryfast-retry
0 likes · 11 min read
Fast‑Retry: High‑Performance Asynchronous Retry Framework for Java
php Courses
php Courses
Dec 26, 2024 · Backend Development

Using curl_multi_add_handle() in PHP to Manage Multiple cURL Handles

This article explains how the PHP curl_multi_add_handle() function can be used to add multiple cURL handles to a single session, improving network request efficiency and code maintainability, and provides a complete example with detailed code walkthrough.

BackendHTTP requestsNetworking
0 likes · 5 min read
Using curl_multi_add_handle() in PHP to Manage Multiple cURL Handles
php Courses
php Courses
Dec 26, 2024 · Backend Development

Using PHP basename() Function to Retrieve File Names from Paths

This article explains the PHP basename() function, detailing its syntax, parameters, and behavior, and demonstrates its usage through multiple code examples that extract file names from absolute and relative paths, optionally removing specified suffixes, while noting OS-specific considerations.

BackendFile PathPHP
0 likes · 5 min read
Using PHP basename() Function to Retrieve File Names from Paths
Sohu Tech Products
Sohu Tech Products
Dec 25, 2024 · Operations

Mastering Elasticsearch Query Limits: Tips to Boost Performance

This article explains the five major Elasticsearch query limits—including result size, max clause count, field data, join operations, and query throughput—provides concrete code examples, and offers practical optimization strategies to improve performance and ensure cluster stability.

BackendElasticsearchperformance optimization
0 likes · 11 min read
Mastering Elasticsearch Query Limits: Tips to Boost Performance
ITPUB
ITPUB
Dec 25, 2024 · Backend Development

How a Low Guava RateLimiter Triggered RPC Thread‑Pool Exhaustion

A developer investigates why an RPC service suddenly rejected many requests, discovers that a Guava RateLimiter with a limit of only ten calls per minute caused thread‑pool saturation, and explains the misinterpretations, monitoring data, and steps taken to pinpoint the root cause.

BackendRate Limiterthread pool
0 likes · 10 min read
How a Low Guava RateLimiter Triggered RPC Thread‑Pool Exhaustion
php Courses
php Courses
Dec 25, 2024 · Backend Development

Using PHP's urldecode() Function to Decode URLs

This article explains the concept of URL encoding and decoding, introduces PHP's urldecode() function with its prototype, provides step‑by‑step example code showing how to encode a string with urlencode() and then decode it back using urldecode(), and notes its limitations and the alternative rawurldecode() function.

BackendURLurldecode
0 likes · 4 min read
Using PHP's urldecode() Function to Decode URLs
php Courses
php Courses
Dec 25, 2024 · Backend Development

Key New Features in PHP 8.4

PHP 8.4 brings a collection of developer‑friendly enhancements—including readonly independent properties, string‑key array unpacking, JIT performance gains, typed class constants, improved error messages, an upgraded type system, and stronger Fiber support—aimed at making code cleaner, faster and more maintainable.

AsyncBackendNew Features
0 likes · 6 min read
Key New Features in PHP 8.4
Bin's Tech Cabin
Bin's Tech Cabin
Dec 25, 2024 · Backend Development

Unveiling Netty and Kafka Time Wheels: High‑Performance Scheduling Explained

This article explores the design and implementation of time wheel algorithms in Netty and Kafka, comparing their single‑layer and multi‑layer approaches, analyzing performance trade‑offs, and detailing how these systems achieve O(1) scheduling for massive delayed tasks while avoiding empty ticks.

BackendKafkaNetty
0 likes · 76 min read
Unveiling Netty and Kafka Time Wheels: High‑Performance Scheduling Explained
JD Tech Talk
JD Tech Talk
Dec 24, 2024 · Frontend Development

Large File Upload: Principles, Implementation, and Optimizations

This article explains what constitutes a large file, contrasts its upload challenges with ordinary files, outlines the chunked upload workflow for both front‑end and back‑end, and provides practical code examples and optimization techniques such as resumable uploads, instant upload, progress tracking, and pause/resume functionality.

BackendLarge File UploadVue
0 likes · 12 min read
Large File Upload: Principles, Implementation, and Optimizations
php Courses
php Courses
Dec 23, 2024 · Backend Development

Using Named Arguments in PHP 8: Concepts, Benefits, and Best Practices

This guide explains PHP 8's named arguments feature, showing how they improve code readability, allow skipping optional parameters, make argument order irrelevant, and provide practical examples and best‑practice recommendations for writing clearer, more maintainable backend code.

BackendPHP8best-practices
0 likes · 7 min read
Using Named Arguments in PHP 8: Concepts, Benefits, and Best Practices
php Courses
php Courses
Dec 23, 2024 · Backend Development

Using PHP str_replace for String Replacement and Deletion

This article explains the PHP str_replace function, its syntax, and demonstrates through three examples how to perform simple replacements, replace multiple substrings, and delete characters in strings, while also mentioning additional options and linking to further learning resources.

Backendphp-tutorialstr_replace
0 likes · 4 min read
Using PHP str_replace for String Replacement and Deletion
Architect's Guide
Architect's Guide
Dec 23, 2024 · Backend Development

Implementing API Request and Response Encryption/Decryption with Spring Boot and ControllerAdvice

This article walks through the design and implementation of symmetric AES encryption for both GET and POST API endpoints in a Spring Boot application, covering requirement analysis, data model definition, custom RequestBodyAdvice and ResponseBodyAdvice, serialization challenges with FastJSON vs Jackson, and final configuration to ensure consistent JSON output across encrypted and non‑encrypted responses.

AESBackendControllerAdvice
0 likes · 12 min read
Implementing API Request and Response Encryption/Decryption with Spring Boot and ControllerAdvice
IT Services Circle
IT Services Circle
Dec 22, 2024 · Backend Development

Various Strategies for Implementing Order Auto‑Cancellation in High‑Concurrency Systems

This article compares seven practical approaches—DelayQueue, database polling, Redis queues, Redis key expiration callbacks, RabbitMQ delayed messages, scheduled task frameworks, and event‑stream processing—for automatically cancelling unpaid orders, outlining their suitable scenarios, code examples, advantages, disadvantages, and optimization tips.

BackendDelayQueueOrder Cancellation
0 likes · 12 min read
Various Strategies for Implementing Order Auto‑Cancellation in High‑Concurrency Systems
Architect's Guide
Architect's Guide
Dec 22, 2024 · Backend Development

Cool Request Plugin for IDEA: Tracing, MyBatis Function Tracking, and Custom Timing Features

The article introduces the Cool Request IDEA plugin, explains its tracing capabilities for arbitrary packages, automatic MyBatis function monitoring, customizable timing colors, script-based environment manipulation, and provides a Java code example for handling responses, highlighting its usefulness for backend developers.

BackendIDEAMyBatis
0 likes · 4 min read
Cool Request Plugin for IDEA: Tracing, MyBatis Function Tracking, and Custom Timing Features
IT Services Circle
IT Services Circle
Dec 20, 2024 · Backend Development

Comprehensive Backend Development Interview Notes: OS Memory, Concurrency, Networking, Databases, Redis, Kafka, and Docker

This article compiles detailed backend interview notes covering salary expectations, OS stack vs heap differences, process and thread concepts, DNS resolution, ping protocol, MySQL indexing and locking mechanisms, Redis performance characteristics, Kafka throughput optimizations, and Docker's underlying implementation.

BackendDockerNetworking
0 likes · 17 min read
Comprehensive Backend Development Interview Notes: OS Memory, Concurrency, Networking, Databases, Redis, Kafka, and Docker
Selected Java Interview Questions
Selected Java Interview Questions
Dec 20, 2024 · Backend Development

12 MyBatis‑Plus Optimization Tips for Efficient Database Operations

This article presents twelve practical MyBatis‑Plus optimization techniques—ranging from avoiding null checks and specifying select fields to batch operations, safe ordering, pagination, logical deletion, optimistic locking, and performance tracking—each illustrated with code examples and clear explanations to help backend developers write cleaner, faster, and more maintainable Java ORM queries.

BackendDatabase OptimizationMyBatisPlus
0 likes · 14 min read
12 MyBatis‑Plus Optimization Tips for Efficient Database Operations
macrozheng
macrozheng
Dec 20, 2024 · Backend Development

Avoid the Top 10 Java ThreadPool Pitfalls and Boost Performance

This article explains ten common mistakes when using Java thread pools—such as unbounded queues, wrong thread counts, missing shutdown, and ignored exceptions—and provides concrete code examples and best‑practice solutions to help developers write safer, more efficient concurrent code.

BackendThreadPoolbest practices
0 likes · 10 min read
Avoid the Top 10 Java ThreadPool Pitfalls and Boost Performance
IT Architects Alliance
IT Architects Alliance
Dec 19, 2024 · Backend Development

From Monolith to Microservices: When and How to Adopt Distributed Architecture

The article examines monolithic architecture’s early popularity, its simplicity and deployment ease, then details its scalability and maintenance drawbacks, and explains how distributed architectures—through decoupling, redundancy, scalability, and mechanisms like caching and load balancing—address these issues, outlining practical migration steps.

BackendMicroservicesScalability
0 likes · 20 min read
From Monolith to Microservices: When and How to Adopt Distributed Architecture
macrozheng
macrozheng
Dec 19, 2024 · Backend Development

Master Java Optional: Clean Null Handling with Real-World Examples

This article introduces Java's Optional class, explains why null checks cause clutter, demonstrates how to replace traditional three‑level null‑checking with concise Optional chains, and provides detailed examples of all core Optional methods such as empty, of, ofNullable, isPresent, get, ifPresent, filter, map, flatMap, orElse, orElseGet, and orElseThrow.

Backendjavajava8
0 likes · 11 min read
Master Java Optional: Clean Null Handling with Real-World Examples
php Courses
php Courses
Dec 18, 2024 · Backend Development

PHP array_merge() Function: Syntax, Examples, and Usage Guide

This article explains the PHP array_merge() function, its simple syntax, and demonstrates how to merge indexed, multiple, and associative arrays with clear code examples, showing the resulting output and highlighting key behaviors such as key overriding.

BackendCode ExamplePHP
0 likes · 5 min read
PHP array_merge() Function: Syntax, Examples, and Usage Guide