Tagged articles

Backend

5000 articles · Page 8 of 50
php Courses
php Courses
Jul 16, 2025 · Backend Development

Mastering Failure Handling in PHP: Strategies for Robust Backend Code

This article explains why rewriting logic on failure is essential for PHP applications, outlines common scenarios such as database connection, API calls, and file operations, provides concrete code examples, best‑practice guidelines, and an advanced strategy‑pattern approach to build resilient, user‑friendly backend systems.

BackendStrategy Patternbest practices
0 likes · 6 min read
Mastering Failure Handling in PHP: Strategies for Robust Backend Code
php Courses
php Courses
Jul 16, 2025 · Backend Development

Master PHP’s is_dir() Function: Quick Guide & Real-World Examples

Learn how PHP’s is_dir() function checks whether a given path is a directory, explore practical use cases such as file management, and follow step‑by‑step code examples that demonstrate simple checks, directory traversal, and proper handling of permissions.

BackendPHPdirectory check
0 likes · 5 min read
Master PHP’s is_dir() Function: Quick Guide & Real-World Examples
Practical DevOps Architecture
Practical DevOps Architecture
Jul 16, 2025 · Operations

How to Build a Simple Python Service Health Check Script

This guide shows how to write a Python script that constructs a service health URL from command‑line arguments, sends an HTTP request using the requests library, parses the JSON response, and raises an error if the service status is not "UP", providing clear success or failure feedback.

BackendScripthealth-check
0 likes · 2 min read
How to Build a Simple Python Service Health Check Script
php Courses
php Courses
Jul 15, 2025 · Backend Development

Master PHP’s array_pop: Remove and Retrieve the Last Array Element

This article explains how PHP's array_pop() function removes the last element from an array, returns it, and demonstrates its usage with code examples, output interpretation, multiple-element removal, and important considerations for preserving the original array.

Backendarray_popphp-functions
0 likes · 4 min read
Master PHP’s array_pop: Remove and Retrieve the Last Array Element
php Courses
php Courses
Jul 15, 2025 · Backend Development

7 Fatal PHP Mistakes Every Developer Must Avoid

This article outlines the seven most common and dangerous errors in PHP development—ranging from SQL injection and unchecked input to poor session handling and lack of autoloading—while offering concrete code‑level solutions to boost security, performance, and maintainability.

BackendPHPPerformance
0 likes · 6 min read
7 Fatal PHP Mistakes Every Developer Must Avoid
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Jul 14, 2025 · Backend Development

Kafka Producer Idempotency: PID, Sequence Numbers, and Broker Deduplication

Kafka ensures that a producer’s repeated message sends, caused by network glitches or broker failures, result in only one persisted record per partition by using a unique Producer ID, monotonically increasing sequence numbers, and broker-side tracking of the latest committed sequence for each PID‑partition pair.

BackendKafkamessage deduplication
0 likes · 5 min read
Kafka Producer Idempotency: PID, Sequence Numbers, and Broker Deduplication
Programmer XiaoFu
Programmer XiaoFu
Jul 14, 2025 · Backend Development

Free Your Hands: 6 SpringBoot Techniques for Automatic Common Field Filling

The article analyzes the repetitive maintenance of common fields like createTime and updateUser in SpringBoot CRUD services, presents six production‑tested strategies—including MyBatis‑Plus meta‑object handling, AOP with custom annotations, multi‑data‑source adaptation, distributed ID generation, caching, batch optimization, and audit logging—detailing implementations, pitfalls, and best‑practice recommendations that can cut code by 90% and boost development efficiency.

AOPBackendMyBatis-Plus
0 likes · 9 min read
Free Your Hands: 6 SpringBoot Techniques for Automatic Common Field Filling
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jul 11, 2025 · Backend Development

How to Solve Spring Boot Bidirectional JSON Recursion with 6 Jackson Techniques

This article explains why bidirectional entity relationships cause infinite JSON recursion in Spring Boot, demonstrates the problem with sample code and console output, and presents six practical Jackson solutions—including @JsonManagedReference, @JsonIdentityInfo, @JsonIgnore, @JsonView, and custom serializers—complete with code snippets and result screenshots.

BackendBidirectional relationshipJSON recursion
0 likes · 9 min read
How to Solve Spring Boot Bidirectional JSON Recursion with 6 Jackson Techniques
php Courses
php Courses
Jul 10, 2025 · Backend Development

10 Must‑Know PHP 8.3 Features to Supercharge Your Code in 2024

This article introduces ten powerful PHP 8.3 updates—including readonly properties, enums, match expressions, constructor promotion, named arguments, nullsafe operator, union types, array unpacking, JSON error handling, and JIT compilation—explaining how each feature works and how it can boost development efficiency.

BackendNew Featurescode-examples
0 likes · 4 min read
10 Must‑Know PHP 8.3 Features to Supercharge Your Code in 2024
Big Data Technology Tribe
Big Data Technology Tribe
Jul 9, 2025 · Backend Development

Mastering Idempotency: Design Patterns & Best Practices for Reliable Distributed Systems

This comprehensive guide explains the concept of idempotency, why it is essential in distributed and micro‑service architectures, and provides practical patterns, code examples, and best‑practice recommendations for HTTP, databases, messaging, caching, and service‑mesh implementations.

BackendDesign Patternsdistributed systems
0 likes · 21 min read
Mastering Idempotency: Design Patterns & Best Practices for Reliable Distributed Systems
Open Source Tech Hub
Open Source Tech Hub
Jul 8, 2025 · Backend Development

Why FrankenPHP Is the Next Big Leap for PHP Backend Performance

FrankenPHP, now officially supported by the PHP Foundation, replaces the traditional PHP‑FPM setup with a Go‑based Caddy server that embeds PHP, offering faster request handling, simplified deployment, worker mode, modern protocol support, and extensibility, while still being evaluated for robustness.

BackendCaddyDocker
0 likes · 7 min read
Why FrankenPHP Is the Next Big Leap for PHP Backend Performance
Cognitive Technology Team
Cognitive Technology Team
Jul 8, 2025 · Backend Development

How to Register Spring Beans at Runtime: A Step‑by‑Step Guide

This tutorial explains multiple ways to register Spring beans dynamically at runtime, covering BeanDefinitionRegistryPostProcessor implementation, programmatic bean creation with BeanDefinitionBuilder, ApplicationContextInitializer usage, BeanFactory registration, and direct BeanDefinitionRegistry manipulation, complete with code examples and configuration details.

@BeanBackendJava
0 likes · 7 min read
How to Register Spring Beans at Runtime: A Step‑by‑Step Guide
php Courses
php Courses
Jul 8, 2025 · Backend Development

Why PHP 8.5’s New array_first() and array_last() Functions Matter

PHP 8.5 introduces the native array_first() and array_last() functions, offering a safe, pointer‑free way to retrieve the first or last element of any array, improving readability, reducing bugs, and aligning PHP with modern language practices for developers and frameworks alike.

BackendPHPPHP 8.5
0 likes · 5 min read
Why PHP 8.5’s New array_first() and array_last() Functions Matter
FunTester
FunTester
Jul 8, 2025 · Fundamentals

Why Pooling Techniques Are Essential for High‑Performance Systems

Pooling techniques—such as thread pools, connection pools, and object pools—reuse resources to cut creation overhead, boost performance, and improve stability, making them vital for high‑concurrency scenarios like HTTP, WebSocket, and Kafka, and essential knowledge for performance testers building efficient, scalable systems.

BackendPoolingperformance testing
0 likes · 7 min read
Why Pooling Techniques Are Essential for High‑Performance Systems
php Courses
php Courses
Jul 7, 2025 · Backend Development

Master PHP’s array_pop: Remove and Retrieve the Last Array Element

Learn how to use PHP’s built-in array_pop function to efficiently remove and return the last element of an array, with clear syntax explanation, a step-by-step code example, and expected output demonstrating its effect on the original array.

BackendPHPTutorial
0 likes · 3 min read
Master PHP’s array_pop: Remove and Retrieve the Last Array Element
Lin is Dream
Lin is Dream
Jul 7, 2025 · Backend Development

Master Sliding‑Window Rate Limiting with Redis Sorted Sets

This article explains how to implement a precise sliding‑window rate‑limiting algorithm using Redis Sorted Sets, detailing the problem scenario, the algorithm steps, Lua script implementation, Java integration, and practical extensions for high‑performance backend services.

BackendJavaLua
0 likes · 8 min read
Master Sliding‑Window Rate Limiting with Redis Sorted Sets
Java Architect Essentials
Java Architect Essentials
Jul 6, 2025 · Backend Development

Mastering Spring Cloud Config: Who Wins the Priority Battle?

This article explains how Spring Cloud and Spring Cloud Alibaba determine configuration precedence among local files, Nacos remote settings, environment variables, system properties, and command‑line arguments, highlighting version‑specific rule changes, key override switches, and provides a comprehensive comparison table to help developers troubleshoot and ace interview questions.

BackendDevOpsNacos
0 likes · 10 min read
Mastering Spring Cloud Config: Who Wins the Priority Battle?
IT Architects Alliance
IT Architects Alliance
Jul 6, 2025 · Operations

Why 80% of Performance Issues Stem from Architecture – and How to Fix Them

Most performance bottlenecks arise not from code but from architectural flaws, such as overly layered designs, synchronous calls, misconfigured connection pools, cache pitfalls, and inadequate monitoring, and the article outlines these issues and offers best‑practice strategies like async patterns, proper DB design, caching tiers, and progressive refactoring.

BackendOptimizationPerformance
0 likes · 11 min read
Why 80% of Performance Issues Stem from Architecture – and How to Fix Them
Java Architect Essentials
Java Architect Essentials
Jul 6, 2025 · Backend Development

Mastering Spring Bean Circular Dependencies: 3 Real-World Solutions

This article explains Spring's three‑level cache mechanism for resolving bean circular dependencies, dives into why the cache alone is insufficient, and presents three practical scenarios with concrete solutions such as redesigning constructors, using @Lazy, and handling AOP proxy consistency.

@BeanBackendJava
0 likes · 14 min read
Mastering Spring Bean Circular Dependencies: 3 Real-World Solutions
Java Architect Essentials
Java Architect Essentials
Jul 4, 2025 · Backend Development

5 Common Spring Transaction Pitfalls and How to Fix Them

This article explains five frequent scenarios where Spring @Transactional fails—such as internal method calls, non‑public methods, swallowed exceptions, final/static methods, and unsupported MySQL engines—and provides concrete solutions and best‑practice rules for reliable transaction management.

AOPBackendJava
0 likes · 9 min read
5 Common Spring Transaction Pitfalls and How to Fix Them
Java Web Project
Java Web Project
Jul 4, 2025 · Backend Development

Why Process Engines Are Essential for Scalable Business Logic: A Deep Dive with MemberClub

The article explains how excessive if‑else branching in multi‑business systems harms maintainability, argues for using a flow engine and plugin extension engine to achieve code isolation and extensibility, and demonstrates the approach with concrete Java examples from the open‑source MemberClub project.

BackendMicroservicesflow engine
0 likes · 8 min read
Why Process Engines Are Essential for Scalable Business Logic: A Deep Dive with MemberClub
php Courses
php Courses
Jul 4, 2025 · Backend Development

Boost Your API Workflow: Integrating Symfony API Platform with Postman

Learn how to combine Symfony API Platform and Postman to automate CRUD generation, documentation, environment management, testing, authentication, monitoring, and CI/CD integration, creating a seamless, high‑performance API development workflow that accelerates productivity for both solo developers and teams.

API PlatformBackendPostman
0 likes · 7 min read
Boost Your API Workflow: Integrating Symfony API Platform with Postman
Code Ape Tech Column
Code Ape Tech Column
Jul 4, 2025 · Backend Development

How Nacos Implements Long‑Polling for Config Synchronization

This article explains the inner workings of Nacos' configuration center, detailing the client‑side long‑polling mechanism, the server‑side handling of listener requests, and the key classes and code paths that enable real‑time config updates in microservice environments.

BackendConfiguration CenterJava
0 likes · 13 min read
How Nacos Implements Long‑Polling for Config Synchronization
Java Tech Enthusiast
Java Tech Enthusiast
Jul 3, 2025 · Backend Development

Mastering Large File Uploads with Spring Boot: Chunked Upload Guide

This article explains why traditional single-file uploads fail for large files, outlines the benefits of chunked uploading, and provides a complete Spring Boot implementation—including core dependencies, controller logic, high‑performance merging, Vue front‑end code, enterprise‑level optimizations, and performance test results.

BackendLarge FilesPerformance
0 likes · 11 min read
Mastering Large File Uploads with Spring Boot: Chunked Upload Guide
php Courses
php Courses
Jul 3, 2025 · Backend Development

Mastering PHP curl_setopt: Set Options for HTTP Requests

This article explains how to use PHP's curl_setopt function to configure cURL sessions, covering its syntax, parameters, return values, and a complete example that demonstrates sending a GET request with custom options and handling the response.

BackendHTTPPHP
0 likes · 4 min read
Mastering PHP curl_setopt: Set Options for HTTP Requests
Java Architect Essentials
Java Architect Essentials
Jul 1, 2025 · Backend Development

Why Postman Fails and MockMvc Wins: Real‑World API Testing Secrets

This article recounts a midnight production outage caused by inadequate Postman tests, explains three hidden pitfalls of Postman, demonstrates how MockMvc provides precise, code‑level assertions and automated scenarios, and offers a step‑by‑step guide to boost API test automation from 30% to 90% coverage.

BackendJavaMockMvc
0 likes · 9 min read
Why Postman Fails and MockMvc Wins: Real‑World API Testing Secrets
Java Architect Essentials
Java Architect Essentials
Jul 1, 2025 · Backend Development

How @Validated Simplifies SpringBoot Parameter Validation

This article explains how the @Validated annotation in SpringBoot can automatically enforce request parameter validation, reducing boilerplate code, supporting group validation, and improving code readability and maintainability for backend developers.

BackendJavaSpringBoot
0 likes · 9 min read
How @Validated Simplifies SpringBoot Parameter Validation
php Courses
php Courses
Jul 1, 2025 · Backend Development

PHP vs Node.js in 2025: Surprising Performance Insights Revealed

An in‑depth 2025 benchmark compares PHP 8.4 and Node.js 22 on modern hardware, revealing PHP’s improved JIT and memory handling narrowing the gap, while Node.js still excels in I/O and concurrency, and offering practical guidance on choosing the right runtime for various web workloads.

BackendNode.jsPerformance
0 likes · 7 min read
PHP vs Node.js in 2025: Surprising Performance Insights Revealed
Raymond Ops
Raymond Ops
Jun 30, 2025 · Backend Development

Master Nginx Regex and Location Matching: Rules, Priorities, and Practical Examples

This article demonstrates how Nginx v1.23.2 processes regular expressions and location directives, explains the matching hierarchy and priority rules, and provides concrete configuration examples—including exact, prefix, and regex‑based locations—so readers can reliably control URL routing in their servers.

BackendConfigurationNginx
0 likes · 13 min read
Master Nginx Regex and Location Matching: Rules, Priorities, and Practical Examples
Code Ape Tech Column
Code Ape Tech Column
Jun 30, 2025 · Backend Development

Mastering Software Performance: 6 Time‑Space Trade‑offs and 4 Advanced Parallel Techniques

This article explores practical performance‑optimization techniques, covering six fundamental time‑for‑space trade‑offs such as indexing, compression, caching, prefetching, peak‑shaving, and batch processing, followed by four advanced methods that boost parallelism like resource draining, horizontal scaling, sharding, and lock‑free programming.

BackendBatch ProcessingCompression
0 likes · 22 min read
Mastering Software Performance: 6 Time‑Space Trade‑offs and 4 Advanced Parallel Techniques
21CTO
21CTO
Jun 28, 2025 · Backend Development

Boost Your Django Projects: Must‑Use Python Libraries for 2024

Discover a curated list of essential Python libraries—including Python‑Dotenv, Django Ninja, Pydantic, Python‑Social‑Auth, HTMX, Cotton, Faker, and Systemd—that enhance Django development by improving configuration, API creation, form handling, authentication, front‑end interactivity, component reuse, test data generation, and logging.

BackendDjangoLibraries
0 likes · 7 min read
Boost Your Django Projects: Must‑Use Python Libraries for 2024
php Courses
php Courses
Jun 26, 2025 · Backend Development

Build a Full JWT Authentication System in Native PHP Without Frameworks

Learn how to implement a complete JWT authentication workflow in pure PHP—from generating and verifying tokens, creating a simple login system, protecting routes with middleware, to adding token refresh logic—while covering essential security best practices without relying on any framework.

BackendJWT
0 likes · 8 min read
Build a Full JWT Authentication System in Native PHP Without Frameworks
dbaplus Community
dbaplus Community
Jun 25, 2025 · Operations

How We Boosted Kafka Production Capacity by 35% with Simple Compression Tweaks

Facing petabyte‑scale log traffic, the Qunar team identified low compression rates in their Kafka‑Filebeat pipeline as the main bottleneck and, through systematic tuning of batch size, memory queues, and round‑robin settings, achieved a 35% reduction in traffic and a 30‑42% drop in request volume while raising per‑minute throughput by 35%.

BackendCompressionFilebeat
0 likes · 10 min read
How We Boosted Kafka Production Capacity by 35% with Simple Compression Tweaks
Java Backend Technology
Java Backend Technology
Jun 25, 2025 · Information Security

How to Seamlessly Refresh JWT Tokens: Backend and Frontend Strategies

This article explains why sudden logouts occur due to expired JWT tokens stored in Redis, and presents both backend automatic token renewal and frontend double‑token (access‑token and refresh‑token) approaches, complete with code examples, testing tips, and handling edge cases such as long‑idle form submissions.

BackendJWTToken Refresh
0 likes · 10 min read
How to Seamlessly Refresh JWT Tokens: Backend and Frontend Strategies
Top Architect
Top Architect
Jun 24, 2025 · Backend Development

How to Sync MySQL Data to Elasticsearch: Strategies, Pros & Cons

This article explains why MySQL‑Elasticsearch synchronization is needed in large‑scale projects, compares several sync methods—including synchronous and asynchronous double‑write, Logstash, Binlog, Canal, and Alibaba Cloud DTS—detailing their implementation steps, advantages, disadvantages, and typical application scenarios.

BackendBinlogCanal
0 likes · 17 min read
How to Sync MySQL Data to Elasticsearch: Strategies, Pros & Cons
IT Services Circle
IT Services Circle
Jun 21, 2025 · Backend Development

How Instagram Scaled to 14 Million Users: Inside Its Backend Architecture

This article recounts a 2009 photo‑sharing startup idea, then dives into Instagram’s backend design principles, cloud infrastructure, request flow, data storage, sharding, caching, background jobs, and monitoring, illustrating how disciplined engineering enabled rapid scaling to millions of users.

BackendInstagramcloud
0 likes · 9 min read
How Instagram Scaled to 14 Million Users: Inside Its Backend Architecture
Open Source Tech Hub
Open Source Tech Hub
Jun 21, 2025 · Backend Development

Achieving 280k QPS with Webman 2.0: 100‑Concurrent Load Test on Ubuntu

This guide walks through setting up an Ubuntu 22.04 server, installing PHP and Composer, deploying the Webman 2.0 framework, and using ApacheBench to issue 100,000 requests with 100 concurrent keep‑alive connections, achieving roughly 280,000 QPS and demonstrating the framework’s high‑throughput performance.

BackendLoad TestingPHP
0 likes · 2 min read
Achieving 280k QPS with Webman 2.0: 100‑Concurrent Load Test on Ubuntu
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 21, 2025 · Artificial Intelligence

Master AI Agent Workflows with Spring Boot 3: From Chains to Orchestrators

This article introduces the fundamentals of augmented large language model agents, explains six workflow patterns—including chain, parallel, routing, orchestrator‑workers, evaluator‑optimizer, and autonomous agents—and provides complete Spring Boot 3 code examples, configuration, and test results for each pattern.

BackendJavaLLM
0 likes · 15 min read
Master AI Agent Workflows with Spring Boot 3: From Chains to Orchestrators
Architecture Digest
Architecture Digest
Jun 20, 2025 · Backend Development

How to Implement Seamless Token Refresh in Java Backend with JWT

This article explains why silent token refresh is needed, outlines backend and front‑end strategies for automatically renewing JWTs, provides a complete Java implementation with Maven dependencies, utility methods, unit tests, and discusses handling edge cases such as long‑idle forms.

BackendJWTJava
0 likes · 10 min read
How to Implement Seamless Token Refresh in Java Backend with JWT
MaGe Linux Operations
MaGe Linux Operations
Jun 20, 2025 · Backend Development

Master Nginx Load Balancing: Algorithms, Reverse Proxy, and Real‑World Configs

This article explains how Nginx functions as a load balancer and reverse proxy, detailing its event‑driven architecture, multi‑process model, and core configuration, and compares common algorithms such as round‑robin, least‑connections, IP‑hash, weighted round‑robin, and weighted least‑connections with practical code examples.

BackendConfigurationNginx
0 likes · 10 min read
Master Nginx Load Balancing: Algorithms, Reverse Proxy, and Real‑World Configs
Code Ape Tech Column
Code Ape Tech Column
Jun 20, 2025 · Backend Development

Mastering Asynchronous Processing in Java: Build a Robust SDK with Spring

This article introduces a generic asynchronous processing SDK for Java, explaining its purpose, advantages, underlying principles, component choices such as Kafka, XXL‑Job, MySQL, and Spring AOP, and provides detailed configuration, database schema, usage examples, and best‑practice guidelines to achieve reliable, non‑blocking execution and eventual consistency in backend systems.

BackendKafkaSDK
0 likes · 9 min read
Mastering Asynchronous Processing in Java: Build a Robust SDK with Spring
php Courses
php Courses
Jun 20, 2025 · Backend Development

Master Multibyte String Cutting in PHP with mb_substr – Examples & Tips

The article explains PHP's mb_substr() function, detailing its syntax, parameters, and how it correctly handles multibyte characters, with multiple code examples and notes on edge cases, making it essential for developers working on internationalized backend projects.

BackendPHPString Manipulation
0 likes · 3 min read
Master Multibyte String Cutting in PHP with mb_substr – Examples & Tips
vivo Internet Technology
vivo Internet Technology
Jun 18, 2025 · Backend Development

Cutting Spring Boot Startup Time by 50%: From 280 s to 159 s

This article systematically analyzes a Spring Boot project's 280‑second startup, identifies bottlenecks such as bean initialization and sharding data source loading, and applies listener‑based timing, bean‑post‑processor profiling, and asynchronous initialization to reduce launch time to 159 seconds, improving developer efficiency.

BackendJavaPerformance
0 likes · 13 min read
Cutting Spring Boot Startup Time by 50%: From 280 s to 159 s
macrozheng
macrozheng
Jun 18, 2025 · Backend Development

Mastering TinyID: A High‑Performance Distributed ID System for Java Backend

This article introduces TinyID, a distributed ID service originally developed by Didi, explains its features, segment‑based architecture, database schema, HTTP and client APIs, configuration steps, and provides practical code examples for integrating the system into Java backend applications.

BackendJavaTinyid
0 likes · 11 min read
Mastering TinyID: A High‑Performance Distributed ID System for Java Backend
Code Mala Tang
Code Mala Tang
Jun 17, 2025 · Backend Development

Mastering Rate Limiting: Algorithms, Redis & Lua for Scalable Backend APIs

This article explains the concept of rate limiting, compares five common algorithms—including fixed‑window, sliding‑log, sliding‑window counter, token bucket and leaky bucket—covers distributed designs using Redis and Lua scripts, and provides complete FastAPI implementation and pytest tests for both fixed‑window and sliding‑log strategies.

BackendFastAPILua
0 likes · 13 min read
Mastering Rate Limiting: Algorithms, Redis & Lua for Scalable Backend APIs
Programmer DD
Programmer DD
Jun 16, 2025 · Backend Development

Why Self-Contained Systems Might Replace Microservices: Key Differences Explained

This article introduces Self-Contained Systems (SCS) as an alternative to microservices, outlines SCS core characteristics, compares both approaches across granularity, communication, UI handling and integration, and concludes with practical insights for large‑scale, multi‑team projects.

ArchitectureBackendself-contained systems
0 likes · 8 min read
Why Self-Contained Systems Might Replace Microservices: Key Differences Explained
Raymond Ops
Raymond Ops
Jun 13, 2025 · Operations

Master HAProxy: Step-by-Step Deployment and Configuration Guide

This article provides a comprehensive, hands‑on guide to installing HAProxy, configuring global, defaults, listen, frontend, and backend sections, setting up ACL‑based load balancing, preparing backend web servers, testing the setup, and accessing the HAProxy statistics page.

ACLBackendConfiguration
0 likes · 16 min read
Master HAProxy: Step-by-Step Deployment and Configuration Guide
macrozheng
macrozheng
Jun 13, 2025 · Backend Development

Why MyBatis-Plus saveBatch Triggers Unexpected Transaction Rollback and How to Fix It

This article explains a puzzling Spring Boot transaction rollback caused by MyBatis-Plus's saveBatch method, reproduces the error with nested @Transactional calls, analyzes why the rollback flag is set, and offers a practical workaround by replacing the framework batch operation with a custom mapper implementation.

BackendJavaMyBatis-Plus
0 likes · 6 min read
Why MyBatis-Plus saveBatch Triggers Unexpected Transaction Rollback and How to Fix It
php Courses
php Courses
Jun 13, 2025 · Backend Development

Master PHP’s file() Function: Read Files into Arrays with Flags

Learn how to use PHP’s built‑in file() function to read a text file into an array, control newline handling with FILE_IGNORE_NEW_LINES, skip empty lines with FILE_SKIP_EMPTY_LINES, and see practical code examples illustrating each option.

BackendFileFile Handling
0 likes · 4 min read
Master PHP’s file() Function: Read Files into Arrays with Flags
Dual-Track Product Journal
Dual-Track Product Journal
Jun 13, 2025 · Backend Development

Layered E‑Commerce Architecture: Blueprint for Scalable Platforms

This article breaks down a mature e‑commerce platform into six layered modules—user reach, business operation, transaction fulfillment, supply chain, infrastructure, and BI—detailing core functions, design considerations, and data‑driven processes to guide scalable system design.

Backende-commerceproduct management
0 likes · 7 min read
Layered E‑Commerce Architecture: Blueprint for Scalable Platforms
Lin is Dream
Lin is Dream
Jun 13, 2025 · Backend Development

How to Seamlessly Integrate SFTP Upload/Download in Spring Boot

This guide walks you through adding SFTP capabilities to a Spring Boot application, covering Maven dependencies, configuration properties, a reusable SFTP helper class, service and controller layers for file transfer, optional ZIP compression, and practical tips like retries, multithreading, and scheduling.

BackendFileUploadJSch
0 likes · 9 min read
How to Seamlessly Integrate SFTP Upload/Download in Spring Boot
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jun 13, 2025 · Backend Development

Turn a Spring Boot CRUD App into an AI‑Powered Service with Model Context Protocol

This guide shows how to integrate Spring Boot with the Model Context Protocol (MCP) to let large language models interact with existing services via natural language, covering entity definitions, Maven dependencies, configuration, tool annotations, and testing to create an AI‑enabled book management API.

AI IntegrationBackendJava
0 likes · 18 min read
Turn a Spring Boot CRUD App into an AI‑Powered Service with Model Context Protocol
Code Mala Tang
Code Mala Tang
Jun 12, 2025 · Backend Development

Essential FastAPI Middleware Guide: Boost Security, Performance, and Functionality

This article explains how FastAPI middleware sits between incoming requests and outgoing responses, detailing built‑in and third‑party middleware such as CORS, GZip, HTTPS redirect, session, trusted host, error handling, rate limiting, authentication, custom headers, logging, timeout, trailing‑slash handling, IP whitelisting, proxy headers, CSRF protection, context management and global state, each with usage scenarios and code examples.

BackendFastAPIPython
0 likes · 20 min read
Essential FastAPI Middleware Guide: Boost Security, Performance, and Functionality
php Courses
php Courses
Jun 12, 2025 · Backend Development

Mastering PHP curl_errno(): Retrieve and Handle cURL Error Codes

Learn how to use PHP's curl_errno() function to obtain cURL request error codes, understand common error numbers, and implement robust error handling with practical code examples that initialize a cURL handle, execute requests, check for errors, and close the handle.

BackendPHPcurl
0 likes · 4 min read
Mastering PHP curl_errno(): Retrieve and Handle cURL Error Codes
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 12, 2025 · Backend Development

Master Spring Boot 3 Interception: Filters, Security, Interceptors & AOP

This article explains the various interception mechanisms in Spring Boot 3—including Filters, Spring Security filters, MVC Interceptors, AOP, ControllerAdvice, Request/ResponseBodyAdvice, and REST Clients—provides execution flow diagrams, detailed code examples, and practical usage tips for building robust backend applications.

BackendFiltersInterceptors
0 likes · 14 min read
Master Spring Boot 3 Interception: Filters, Security, Interceptors & AOP
Programmer1970
Programmer1970
Jun 11, 2025 · Backend Development

A Comprehensive Overview of Spring Framework’s Transaction Management

This article dissects Spring's transaction management system, detailing its layered architecture, core interfaces such as PlatformTransactionManager, TransactionDefinition and TransactionSynchronization, the lifecycle of transaction start, commit and rollback, programmatic and declarative usage, advanced features like distributed and nested transactions, common pitfalls, and optimization recommendations.

AOPBackendJTA
0 likes · 13 min read
A Comprehensive Overview of Spring Framework’s Transaction Management
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Jun 10, 2025 · Backend Development

Why Is Your Kafka Consumer Slow? Proven Strategies to Boost Throughput

This article explains why Kafka consumers often become bottlenecks—due to complex processing, resource constraints, or sub‑optimal configuration—and provides concrete steps such as profiling Java code, simplifying logic, using background threads, scaling consumer instances, and tuning key consumer parameters.

BackendConsumerDocker Compose
0 likes · 4 min read
Why Is Your Kafka Consumer Slow? Proven Strategies to Boost Throughput
macrozheng
macrozheng
Jun 9, 2025 · Backend Development

Mastering Redis Hotspot Keys: Detection, Risks, and Solutions

This article explains what Redis hotspot keys are, the performance and stability issues they cause, common causes, how to monitor and identify them, and practical mitigation strategies such as cluster scaling, key sharding, and multi‑level caching.

BackendPerformanceRedis
0 likes · 10 min read
Mastering Redis Hotspot Keys: Detection, Risks, and Solutions
Code Mala Tang
Code Mala Tang
Jun 8, 2025 · Backend Development

Why Overusing try/catch Can Kill Your Node.js Performance (And How to Fix It)

Overusing generic try/catch blocks in Node.js can silently swallow errors, degrade performance by up to 26%, and create debugging nightmares, while strategic error handling—targeted catches, proper resource cleanup, and error boundaries—offers faster, more maintainable code and prevents memory leaks.

BackendExpress.jsNode.js
0 likes · 6 min read
Why Overusing try/catch Can Kill Your Node.js Performance (And How to Fix It)
Architecture and Beyond
Architecture and Beyond
Jun 8, 2025 · Backend Development

Designing Queueing and Rate Limiting for Scalable AIGC Services

This article explains why queueing systems and rate‑limiting strategies are essential for AIGC platforms, describes the user‑facing product behaviors they produce, outlines design considerations, compares technical options, and provides practical implementation guidance to keep services stable, cost‑effective, and user‑friendly.

AIGCBackendQueue
0 likes · 30 min read
Designing Queueing and Rate Limiting for Scalable AIGC Services
Architecture and Beyond
Architecture and Beyond
Jun 7, 2025 · Fundamentals

What Is Technical Debt? Types, Costs, and Management Strategies

Technical debt, a metaphor likening shortcuts in software development to financial debt, accumulates interest over time, increasing maintenance complexity and costs; this article explains its definition, classifications, front‑end and back‑end impacts, cost dimensions, and systematic approaches to identify, prioritize, and repay it.

ArchitectureBackendCost Management
0 likes · 32 min read
What Is Technical Debt? Types, Costs, and Management Strategies
Architect
Architect
Jun 6, 2025 · Backend Development

How to Prevent Duplicate Messages in Kafka and Pulsar: A Practical Guide

This article explains the three message delivery semantics, the common causes of duplicate messages in queue systems, and presents concrete producer‑side, broker‑side, and consumer‑side deduplication techniques for Kafka and Pulsar, including code samples and best‑practice recommendations.

BackendIdempotenceKafka
0 likes · 9 min read
How to Prevent Duplicate Messages in Kafka and Pulsar: A Practical Guide
php Courses
php Courses
Jun 6, 2025 · Backend Development

Master Go Modules: From Initialization to Advanced Dependency Management

This comprehensive guide walks Go developers through the evolution of package management, explains how to initialize and configure Go modules, demonstrates practical dependency handling, and shares best practices and advanced techniques for building maintainable, modular Go applications.

BackendGoGo modules
0 likes · 6 min read
Master Go Modules: From Initialization to Advanced Dependency Management
php Courses
php Courses
Jun 6, 2025 · Backend Development

Master PHP’s str_split(): Split Strings into Characters Easily

Learn how to use PHP’s str_split() function to divide strings into individual characters or custom-sized chunks, with clear syntax explanations, practical examples—including splitting “Hello World” and generating numeric codes—plus tips for handling default and optional parameters.

BackendCode ExamplesPHP
0 likes · 4 min read
Master PHP’s str_split(): Split Strings into Characters Easily
Lin is Dream
Lin is Dream
Jun 6, 2025 · Backend Development

Master Java Lambda Expressions: From Anonymous Classes to Streamlined Code

This article explains why Java introduced the seemingly odd lambda syntax, shows how lambdas replace verbose anonymous inner classes for loops, grouping and collection operations, introduces functional interfaces, and provides comprehensive code examples demonstrating creation, method references, sorting, filtering, and threading with lambdas.

BackendCode ExampleFunctional Interface
0 likes · 8 min read
Master Java Lambda Expressions: From Anonymous Classes to Streamlined Code
php Courses
php Courses
Jun 5, 2025 · Backend Development

What Exciting New Features Will PHP 8.5 Bring to Developers?

PHP 8.5 introduces a suite of enhancements focused on developer experience, including an expanded constructor property promotion with default values and readonly, smarter match expressions with pattern matching, a native pipe operator for fluent function chaining, stricter never return type handling, faster autoloading and OPcache, plus new standard library functions such as str_contains_all and improved array_key_first/last.

8.5BackendPHP
0 likes · 7 min read
What Exciting New Features Will PHP 8.5 Bring to Developers?
Java Web Project
Java Web Project
Jun 4, 2025 · Backend Development

How to Eliminate Repetitive Common Fields in Java Order Services with MyBatis‑Plus and AOP

This article analyzes the pain points of manually maintaining common fields in order‑related entities and presents a production‑tested solution that combines MyBatis‑Plus automatic filling, custom AOP annotations, multi‑data‑source handling, distributed ID generation, and auditing to dramatically reduce boilerplate code and bugs.

AOPAutomatic Field FillBackend
0 likes · 9 min read
How to Eliminate Repetitive Common Fields in Java Order Services with MyBatis‑Plus and AOP
Alibaba Cloud Developer
Alibaba Cloud Developer
Jun 4, 2025 · Artificial Intelligence

Bridge Java and Python AI: Integrate MCP with Spring AI for Seamless Tool Calls

This article walks through how Java developers can connect to Python‑based AI services using the Model Context Protocol (MCP), compares STDIO and SSE transports, explains why Spring AI’s MCP support is limited, and shows a complete implementation with the raw MCP Java SDK and OpenAI client to invoke tools like Blender from Java code.

AI IntegrationBackendJava
0 likes · 50 min read
Bridge Java and Python AI: Integrate MCP with Spring AI for Seamless Tool Calls
Top Architect
Top Architect
Jun 4, 2025 · Backend Development

Replacing Tomcat with Undertow in Spring Boot: Configuration, Performance Comparison, and Recommendations

This article explains how to replace the default embedded Tomcat container in Spring Boot with Undertow, details the configuration steps and Maven dependencies, compares performance and memory usage between the two servers, and concludes with a recommendation for high‑concurrency applications, while also promoting related AI resources and services.

BackendJavaPerformance
0 likes · 10 min read
Replacing Tomcat with Undertow in Spring Boot: Configuration, Performance Comparison, and Recommendations
Top Architect
Top Architect
Jun 4, 2025 · Backend Development

Implementing Request Debounce in Java Backend Using Redis and Redisson

This article explains how to implement request debouncing in Java backend services using Redis and Redisson, covering the concept, interface types needing debouncing, duplicate request detection, shared cache and distributed lock solutions, with complete code examples and testing results.

BackendJavaRedis
0 likes · 17 min read
Implementing Request Debounce in Java Backend Using Redis and Redisson