Tagged articles
5000 articles
Page 9 of 50
php Courses
php Courses
Apr 16, 2025 · Backend Development

Using PHP mysqli_query to Perform MySQL Queries

This article explains how the PHP mysqli_query function works with MySQL, provides a complete example for executing SELECT queries, and discusses its use for INSERT, UPDATE, DELETE operations along with result handling and related fetching functions.

BackendPHPdatabase
0 likes · 4 min read
Using PHP mysqli_query to Perform MySQL Queries
Cognitive Technology Team
Cognitive Technology Team
Apr 15, 2025 · Backend Development

Common Pitfalls of Spring Transaction Management and How to Avoid Them

This article explains the typical reasons why Spring @Transactional annotations may fail—including AOP proxy limitations, method visibility, self‑invocation, exception handling, propagation settings, async execution, multiple data sources, and database constraints—and provides practical solutions to ensure reliable transaction behavior.

BackendExceptionProxy
0 likes · 6 min read
Common Pitfalls of Spring Transaction Management and How to Avoid Them
Java Tech Enthusiast
Java Tech Enthusiast
Apr 15, 2025 · Backend Development

Four Techniques for Handling CORS in SpringBoot Applications

The article explains what CORS is and presents four main approaches—using simple and pre‑flight request headers, configuring Nginx as a reverse proxy, adding a SpringBoot CorsConfig or CorsFilter bean, and delegating CORS to an API gateway—so developers can resolve cross‑origin issues in SpringBoot applications.

BackendCORSConfiguration
0 likes · 5 min read
Four Techniques for Handling CORS in SpringBoot Applications
Java Web Project
Java Web Project
Apr 15, 2025 · Backend Development

Transform a Spring Boot CRUD Service into an AI‑Powered MCP Endpoint

This guide walks through converting a traditional Spring Boot book‑management API into a Model Context Protocol (MCP) service that can be invoked via natural‑language prompts, covering dependency setup, proxy configuration, @Tool annotations, MCP server registration, chat client wiring, data initialization, and end‑to‑end testing.

AI integrationBackendChatClient
0 likes · 17 min read
Transform a Spring Boot CRUD Service into an AI‑Powered MCP Endpoint
Architect's Tech Stack
Architect's Tech Stack
Apr 15, 2025 · Backend Development

The Chaotic Evolution of API Design: From Early AJAX to Post‑Restful Practices

This article narrates the messy history of API design, illustrating early AJAX conventions, the misuse of HTTP status codes, the challenges of maintaining Restful standards, ad‑hoc extensions, and the eventual abandonment of Restful in favor of a simplified POST‑centric approach, while highlighting practical lessons for backend developers.

APIBackendDesign
0 likes · 6 min read
The Chaotic Evolution of API Design: From Early AJAX to Post‑Restful Practices
Senior Tony
Senior Tony
Apr 15, 2025 · Backend Development

How to Size Java Thread Pools: CPU vs I/O Strategies and Dynamic ThreadPool Solutions

This article explains two common approaches for configuring Java thread pools—static sizing based on CPU‑bound or I/O‑bound workloads and a formula‑driven method—then critiques their limits in real systems and introduces DynamicTp as a flexible, monitoring‑enabled alternative with code examples and architectural details.

BackendCPU BoundDynamicThreadPool
0 likes · 8 min read
How to Size Java Thread Pools: CPU vs I/O Strategies and Dynamic ThreadPool Solutions
Top Architect
Top Architect
Apr 12, 2025 · Backend Development

Decoupling Front‑End and Back‑End with a Dedicated TPS Microservice for Third‑Party Push Integration

This article analyzes the coupling problems caused by multiple controller calls and third‑party push interfaces, proposes a TPS microservice to centralize third‑party interactions, demonstrates Java Feign interfaces and enum‑based routing, and shows how backend and frontend can achieve low‑coupling architecture while reducing code duplication.

BackendCouplingapi-design
0 likes · 9 min read
Decoupling Front‑End and Back‑End with a Dedicated TPS Microservice for Third‑Party Push Integration
Java Tech Enthusiast
Java Tech Enthusiast
Apr 12, 2025 · Backend Development

Understanding AtomicLong vs LongAdder in Java Concurrency

In high‑concurrency Java applications, LongAdder—introduced in JDK 8 and using partitioned cells to reduce contention—generally outperforms the single‑value AtomicLong, which relies on CAS and can cause CPU waste under heavy load, so Alibaba advises LongAdder for scalable distributed counters, though memory usage and workload specifics must be considered.

BackendCASatomiclong
0 likes · 7 min read
Understanding AtomicLong vs LongAdder in Java Concurrency
Architecture and Beyond
Architecture and Beyond
Apr 12, 2025 · Backend Development

How to Keep Your AIGC Service Stable: Queueing and Rate‑Limiting Strategies

This article explains why AIGC services need queueing systems and rate‑limiting, describes the user‑facing behaviors of both mechanisms, outlines design goals, compares queue and limiter implementations, and provides practical guidance on selecting middleware, monitoring, and integrating them into a production workflow.

AIGCBackendMessage Queue
0 likes · 28 min read
How to Keep Your AIGC Service Stable: Queueing and Rate‑Limiting Strategies
Architect's Guide
Architect's Guide
Apr 12, 2025 · Backend Development

Refactoring Data Validation with Java 8 Functional Interfaces

This article demonstrates how Java 8's functional interfaces, especially Function and SFunction, can be used to abstract and reuse data‑validation logic, dramatically reducing boilerplate code, improving readability, and making validation rules easier to maintain and extend.

BackendLambdadata validation
0 likes · 12 min read
Refactoring Data Validation with Java 8 Functional Interfaces
Architect
Architect
Apr 11, 2025 · Backend Development

Which API Architecture Fits Your Project? RPC, SOAP, REST, or GraphQL Compared

This article compares four major API architectural styles—RPC, SOAP, REST, and GraphQL—by detailing their mechanisms, advantages, disadvantages, and typical use cases, and then provides guidance on selecting the most suitable style based on language, environment, and resource constraints.

APIBackendComparison
0 likes · 21 min read
Which API Architecture Fits Your Project? RPC, SOAP, REST, or GraphQL Compared
Selected Java Interview Questions
Selected Java Interview Questions
Apr 10, 2025 · Backend Development

Understanding PageHelper Issues and ThreadLocal Pitfalls in MyBatis

This article analyzes unexpected behaviors caused by PageHelper in a Java backend project, such as duplicate user registration, limited query results, and password‑reset errors, and explains how ThreadLocal pagination parameters, startPage(), and cleanup mechanisms lead to these problems while offering practical debugging tips.

BackendMyBatisThreadLocal
0 likes · 11 min read
Understanding PageHelper Issues and ThreadLocal Pitfalls in MyBatis
JD Tech Talk
JD Tech Talk
Apr 10, 2025 · Backend Development

Proper RPC Interface Design: Avoiding Result Wrappers and Using Exceptions

The article explains why designing RPC interfaces with generic Result objects that contain errorCode, errorMessage and data defeats RPC's purpose, and demonstrates how returning plain business objects and leveraging Java exceptions leads to cleaner, more maintainable backend code.

BackendException HandlingInterface Design
0 likes · 8 min read
Proper RPC Interface Design: Avoiding Result Wrappers and Using Exceptions
Code Ape Tech Column
Code Ape Tech Column
Apr 9, 2025 · Backend Development

Using @JsonView in Spring to Control JSON Serialization of Fields

This article explains how the Jackson @JsonView annotation can be used in Spring back‑end projects to selectively serialize object fields, reduce bandwidth, improve security, and handle nested associations by defining view interfaces and applying them on entity fields and controller methods.

BackendJacksonjava
0 likes · 8 min read
Using @JsonView in Spring to Control JSON Serialization of Fields
Java Backend Technology
Java Backend Technology
Apr 9, 2025 · Backend Development

Master Spring Annotations: From @RequestMapping to @Conditional – A Complete Backend Guide

This comprehensive guide explains the most common Spring MVC and Spring Boot annotations—including @RequestMapping, @GetMapping, @Autowired, @Component, @Scope, and conditional annotations—detailing their purposes, configuration attributes, and practical code examples to help Java backend developers write cleaner, more maintainable code.

BackendDependencyInjectionSpringBoot
0 likes · 14 min read
Master Spring Annotations: From @RequestMapping to @Conditional – A Complete Backend Guide
Selected Java Interview Questions
Selected Java Interview Questions
Apr 8, 2025 · Backend Development

Authentication Implementation: Choosing Between JWT and Session in Backend Development

This article explains the technical selection between JWT and session for authentication, compares their differences, advantages, and disadvantages, and provides a complete Java implementation—including token generation, Redis storage, login/logout, password update, and request interception—demonstrating why JWT was chosen for a distributed backend system.

AuthenticationBackendJWT
0 likes · 13 min read
Authentication Implementation: Choosing Between JWT and Session in Backend Development
php Courses
php Courses
Apr 8, 2025 · Backend Development

Applying Prefix Sum Technique in PHP for Efficient Subarray Sum Queries

This article explains the concept of prefix sums, demonstrates how to build and use a prefix‑sum array in PHP with clear code examples, and discusses when the technique is advantageous and its limitations, enabling O(1) interval sum queries after an O(n) preprocessing step.

BackendPHPPrefix Sum
0 likes · 10 min read
Applying Prefix Sum Technique in PHP for Efficient Subarray Sum Queries
Nightwalker Tech
Nightwalker Tech
Apr 8, 2025 · Fundamentals

Cursor Development Rules Configuration for Backend, Frontend, and Android Projects

This document presents a comprehensive set of Cursor development rules covering backend (Golang/Java), frontend (TypeScript with React/Vue), and Android (Kotlin/Java) environments, including general principles, automation and safety policies, code quality optimization, architecture awareness, and change traceability, with copy‑ready appendices.

Backendbest practicescoding guidelines
0 likes · 24 min read
Cursor Development Rules Configuration for Backend, Frontend, and Android Projects
Su San Talks Tech
Su San Talks Tech
Apr 8, 2025 · Backend Development

Mastering Rate Limiting: Practical Algorithms and Real‑World Cases

This article explains why rate limiting is essential for high‑traffic services, compares four classic algorithms (fixed‑window, sliding‑window, leaky‑bucket, token‑bucket), provides Java and Redis implementations, shares production case studies, highlights common pitfalls, and offers performance‑tuning tips for robust backend systems.

BackendDistributed Systemsrate limiting
0 likes · 11 min read
Mastering Rate Limiting: Practical Algorithms and Real‑World Cases
ITPUB
ITPUB
Apr 7, 2025 · Operations

Diagnose HTTP Service Latency with httpstat: A Step‑by‑Step Guide

Learn how to install Go, set up the httpstat tool, and use it to break down HTTP request phases—DNS lookup, TCP connection, TLS handshake, server processing, and content transfer—to quickly pinpoint network or service latency issues.

BackendHTTP debuggingNetwork Latency
0 likes · 7 min read
Diagnose HTTP Service Latency with httpstat: A Step‑by‑Step Guide
Architecture Digest
Architecture Digest
Apr 6, 2025 · Backend Development

Design and Implementation of a General‑Purpose Asynchronous Processing SDK for Backend Systems

This article introduces a reusable asynchronous processing SDK built on Spring, Kafka, and MySQL that leverages @AsyncExec annotations, transactional event listeners, and configurable thread pools to ensure reliable, non‑blocking execution, data consistency, and fault‑tolerant handling of business logic in backend applications.

AsyncBackendKafka
0 likes · 8 min read
Design and Implementation of a General‑Purpose Asynchronous Processing SDK for Backend Systems
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Apr 5, 2025 · Backend Development

Master Spring Boot 3: 110 Real-World Cases and Advanced Configuration Tricks

This article presents a curated collection of 110 Spring Boot 3 practical examples, covering @Profile usage, PropertySource configuration, resource loading, bean validation, and automatic proxy creation, providing developers with hands‑on code snippets and clear explanations to enhance backend development skills.

BackendBean Validationannotations
0 likes · 8 min read
Master Spring Boot 3: 110 Real-World Cases and Advanced Configuration Tricks
Ma Wei Says
Ma Wei Says
Apr 5, 2025 · Backend Development

Ensuring Accurate Inventory Deduction in High‑Concurrency Sales with Redis

This article explains why simple GET‑modify‑SET inventory updates cause overselling in flash‑sale spikes and presents several Redis‑based solutions—including Lua scripts, WATCH‑based optimistic locks, distributed SETNX locks, and asynchronous queue processing—detailing their implementation, advantages, and trade‑offs.

BackendLua Scriptconcurrency
0 likes · 8 min read
Ensuring Accurate Inventory Deduction in High‑Concurrency Sales with Redis
Architecture Digest
Architecture Digest
Apr 3, 2025 · Backend Development

Real‑Time Streaming with Spring’s ResponseBodyEmitter: Concepts, Use Cases, and Code Example

This article explains the purpose, core methods, and practical scenarios of Spring Framework’s ResponseBodyEmitter, compares it with SSE and raw streaming, and provides a complete Spring Boot controller example that demonstrates how to implement real‑time log streaming and other asynchronous HTTP responses.

BackendReal-TimeResponseBodyEmitter
0 likes · 9 min read
Real‑Time Streaming with Spring’s ResponseBodyEmitter: Concepts, Use Cases, and Code Example
Cognitive Technology Team
Cognitive Technology Team
Apr 2, 2025 · Backend Development

Understanding Rate Limiting: Importance, Types, Algorithms, and Implementation

This article explains the concept of rate limiting in system design, covering its importance, common use cases, various types, popular algorithms such as token bucket and leaky bucket, implementation across different system layers, and the challenges associated with configuring and scaling rate‑limiting solutions.

BackendSystem Designalgorithm
0 likes · 10 min read
Understanding Rate Limiting: Importance, Types, Algorithms, and Implementation
Java Tech Enthusiast
Java Tech Enthusiast
Apr 2, 2025 · Backend Development

Understanding the Underlying Mechanism of Java HashMap

Java’s HashMap stores entries in a hash‑based array where a key’s hash determines the bucket index, resolves collisions with linked lists that become red‑black trees for long chains, resizes when the load factor exceeds 0.75, and requires ConcurrentHashMap for safe multithreaded updates, a core concept often asked in interviews.

BackendData StructureHashMap
0 likes · 6 min read
Understanding the Underlying Mechanism of Java HashMap
Top Architecture Tech Stack
Top Architecture Tech Stack
Apr 2, 2025 · Backend Development

Implementing a Dynamic IP Blacklist with Nginx, Lua, and Redis

This article explains how to set up a dynamic IP blacklist using Nginx, Lua scripts, and Redis, covering environment preparation, design options, configuration of nginx.conf, Lua script implementation, and advanced features such as rate limiting, white‑listing, and automated detection to protect servers from malicious traffic.

BackendLuaip blacklist
0 likes · 9 min read
Implementing a Dynamic IP Blacklist with Nginx, Lua, and Redis
Su San Talks Tech
Su San Talks Tech
Apr 2, 2025 · Backend Development

How to Import Millions of Excel Rows in Seconds: 4 Proven Performance Hacks

This article analyzes why traditional Excel import methods crash under massive loads and presents four practical optimization techniques—including streaming parsing, batch inserts, asynchronous processing, and parallel sharding—backed by code samples, configuration tips, and real‑world performance benchmarks for importing millions of rows efficiently.

BackendBatch ProcessingExcel Import
0 likes · 10 min read
How to Import Millions of Excel Rows in Seconds: 4 Proven Performance Hacks
Python Programming Learning Circle
Python Programming Learning Circle
Apr 1, 2025 · Backend Development

Simple Basketball Information Management System with Django

This article presents a simple basketball information management system built with Django, detailing CRUD operations for player data, pagination logic, and corresponding HTML templates for both admin and front‑end interfaces, accompanied by full source code snippets and screenshots of the resulting pages.

BackendCRUDWeb Development
0 likes · 12 min read
Simple Basketball Information Management System with Django
php Courses
php Courses
Mar 31, 2025 · Backend Development

PHP Ecosystem in 2025: New Language Features, Framework Trends, Design Patterns, and Emerging Applications

The 2025 PHP ecosystem overview details the language’s new features such as enhanced generics and fibers, performance improvements via JIT and OPcache, evolving best practices, the latest trends in major and micro frameworks, modern design pattern implementations, cloud‑native deployment, AI integration, and future directions.

BackendCloud NativeDesign Patterns
0 likes · 17 min read
PHP Ecosystem in 2025: New Language Features, Framework Trends, Design Patterns, and Emerging Applications
php Courses
php Courses
Mar 31, 2025 · Backend Development

Implementing Map Zoom with AMap API in PHP

This tutorial explains how to use the AMap (Gaode) Map API in PHP to add a map zoom feature to a web page, covering API key acquisition, library inclusion, map instance creation, container setup, initial zoom level, control addition, and final display with complete code examples.

Amap APIBackendMap Zoom
0 likes · 5 min read
Implementing Map Zoom with AMap API in PHP
Practical DevOps Architecture
Practical DevOps Architecture
Mar 31, 2025 · Backend Development

Understanding the Nginx try_files Directive

The article explains how Nginx's try_files directive, introduced after version 0.7, attempts to serve static files by checking the $uri and $uri/ variables, falls back to a named location when files are missing, and can replace traditional rewrite rules for more efficient request handling.

BackendConfigurationNginx
0 likes · 4 min read
Understanding the Nginx try_files Directive
MaGe Linux Operations
MaGe Linux Operations
Mar 29, 2025 · Backend Development

Master Strong and Weak Cache with Nginx: Boost Web Performance

This guide explains the concepts of strong (expires‑based) and weak (validation‑based) HTTP caching, details the relevant response headers, provides Nginx configuration examples for each strategy, compares their behaviors and suitable use cases, and offers best‑practice tips and debugging tools to improve website performance.

BackendStrong CacheWeb Performance
0 likes · 7 min read
Master Strong and Weak Cache with Nginx: Boost Web Performance
Top Architect
Top Architect
Mar 27, 2025 · Backend Development

Why SpringBoot 3.0 Removed spring.factories and Introduced the Imports Mechanism

SpringBoot 3.0 eliminates the long‑standing spring.factories file due to startup performance penalties, lack of modular support, static configuration limits, and incompatibility with GraalVM native images, and replaces it with a set of imports files that provide clearer, faster, and more modular auto‑configuration registration.

BackendSpring FactoriesSpringBoot
0 likes · 15 min read
Why SpringBoot 3.0 Removed spring.factories and Introduced the Imports Mechanism
Top Architect
Top Architect
Mar 27, 2025 · Backend Development

Liteflow Rule Engine: Concepts, Usage, and Business Practice

This article introduces Liteflow, a lightweight yet powerful Java rule engine, explains its architecture, demonstrates how to configure and use it with Spring Boot, shows component types and EL rule files, and provides a real‑world e‑commerce workflow example with code snippets.

Backend
0 likes · 13 min read
Liteflow Rule Engine: Concepts, Usage, and Business Practice
php Courses
php Courses
Mar 27, 2025 · Backend Development

Simplifying Laravel API Requests with SaloonPHP Laravel Plugin

This article introduces the SaloonPHP Laravel Plugin, explains how to install it, demonstrates creating request classes and using them in services, and highlights features like caching and retries that streamline API request management in Laravel projects.

APIBackendComposer
0 likes · 3 min read
Simplifying Laravel API Requests with SaloonPHP Laravel Plugin
php Courses
php Courses
Mar 25, 2025 · Backend Development

Accurate MIME Type Detection in PHP with league/mime-type-detection

This article explains how to install and use the league/mime-type-detection library in PHP to reliably detect MIME types via file content, extensions, or both, offering code examples, lookup features, and a discussion of its advantages for backend file‑handling systems.

BackendComposerMIME type
0 likes · 4 min read
Accurate MIME Type Detection in PHP with league/mime-type-detection
Top Architecture Tech Stack
Top Architecture Tech Stack
Mar 25, 2025 · Information Security

Designing Secure Third‑Party API Interfaces: Authentication, Signature, and Best Practices

This guide details a secure third‑party API design, covering API key generation, request signing with timestamps and nonces, permission division, CRUD endpoint definitions, unified response structures, and best‑practice security measures such as HTTPS, IP whitelisting, rate limiting, logging, and idempotency handling.

API SecurityAuthenticationBackend
0 likes · 29 min read
Designing Secure Third‑Party API Interfaces: Authentication, Signature, and Best Practices
JD Tech
JD Tech
Mar 24, 2025 · Backend Development

SQL Coloring Plugin for MyBatis: Design, Implementation, and Usage Guide

This article describes a lightweight, non‑intrusive MyBatis plugin that adds identifiable coloring comments to SQL statements—embedding statementId, pFinderId, and optional custom data—to simplify SQL source tracing, improve slow‑SQL analysis, and support SELECT, INSERT, UPDATE, DELETE operations with minimal performance overhead.

BackendMyBatisjava
0 likes · 12 min read
SQL Coloring Plugin for MyBatis: Design, Implementation, and Usage Guide
Top Architecture Tech Stack
Top Architecture Tech Stack
Mar 24, 2025 · Backend Development

Using Spring's ResponseBodyEmitter for Real‑Time Log Streaming

This article explains how Spring Framework's ResponseBodyEmitter enables real‑time, chunked HTTP responses for use cases such as log streaming, progress updates, chat, and AI output, detailing its advantages over SSE, usage scenarios, core methods, a complete controller example, and best‑practice considerations.

BackendResponseBodyEmitterSpring Boot
0 likes · 9 min read
Using Spring's ResponseBodyEmitter for Real‑Time Log Streaming
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Mar 22, 2025 · Backend Development

Mastering If‑Else: 9 Proven Techniques to Simplify Java Logic

This article presents nine practical techniques—including the Strategy pattern, lambda maps, Optional chaining, ternary operators, enums, early returns, condition merging, and rule engines—to replace cumbersome if‑else chains in Java, offering cleaner, more maintainable and performant code for Spring Boot developers.

BackendCode OptimizationSpring Boot
0 likes · 9 min read
Mastering If‑Else: 9 Proven Techniques to Simplify Java Logic
php Courses
php Courses
Mar 21, 2025 · Backend Development

Generating Heatmaps with Baidu Map API in PHP

This article explains how to create and display heatmaps in a PHP project by integrating the Baidu Map API, covering prerequisite setup, library inclusion, data preparation, heatmap generation using the HeatMap class, and rendering the map with JavaScript on a web page.

BackendBaidu Map APIData visualization
0 likes · 5 min read
Generating Heatmaps with Baidu Map API in PHP
Code Mala Tang
Code Mala Tang
Mar 21, 2025 · Backend Development

How to Implement Rate Limiting in FastAPI with SlowAPI

This tutorial explains how to add request rate limiting to a FastAPI application using the SlowAPI library, covering both IP‑based limits and custom token‑based strategies, with installation steps, code examples, and best‑practice recommendations.

BackendFastAPIPython
0 likes · 5 min read
How to Implement Rate Limiting in FastAPI with SlowAPI
Zhuanzhuan Tech
Zhuanzhuan Tech
Mar 20, 2025 · Backend Development

Implementing Geolocation‑Based Fraud Detection with Redis GEO Commands

This article outlines a fraud‑detection use case that leverages Redis GEO commands to compare user order addresses with known malicious locations, discusses technology choices among MySQL, Redis, and Elasticsearch, explains Redis’s Sorted‑Set and GeoHash implementation, and provides Java code examples for GEOADD, GEOPOS, GEODIST, and GEORADIUS.

BackendGEOADDGeoHash
0 likes · 9 min read
Implementing Geolocation‑Based Fraud Detection with Redis GEO Commands
Java Tech Enthusiast
Java Tech Enthusiast
Mar 19, 2025 · Backend Development

Java Backend Interview Topics: Thread‑Safe Collections, JVM Memory, Optimistic Lock, Caching, and More

The article reviews key Java backend interview topics—including thread‑safe collections, JVM memory layout and heap tuning, Full GC troubleshooting, Java 8 features, optimistic locking, stock‑over‑sell handling with Redis, MySQL scaling, cache‑consistency patterns, anti‑bot safeguards, and Bloom filters—while noting JD’s recent 30% salary hike for algorithm engineers.

BackendJVMconcurrency
0 likes · 22 min read
Java Backend Interview Topics: Thread‑Safe Collections, JVM Memory, Optimistic Lock, Caching, and More
php Courses
php Courses
Mar 19, 2025 · Backend Development

PHP Performance Optimization: Faster Alternatives to Common Functions

This article presents a series of PHP function replacements—such as using isset() instead of array_key_exists(), strpos() over strstr(), pre‑increment ++$i, foreach over for, json_encode()/json_decode() instead of serialize()/unserialize(), strict === over ==, and implode() rather than string concatenation—to boost code speed without altering business logic.

BackendPHPcoding practices
0 likes · 6 min read
PHP Performance Optimization: Faster Alternatives to Common Functions
Su San Talks Tech
Su San Talks Tech
Mar 19, 2025 · Operations

10 Proven Strategies to Achieve 99.99% System Availability

This article presents ten practical techniques—including redundant deployment, circuit breaking, traffic shaping, auto‑scaling, gray releases, downgrade switches, full‑link stress testing, data sharding, chaos engineering, and three‑layer monitoring—to dramatically improve system high‑availability from 99% to 99.99% in production environments.

BackendCloud NativeMicroservices
0 likes · 12 min read
10 Proven Strategies to Achieve 99.99% System Availability
FunTester
FunTester
Mar 19, 2025 · Backend Development

Common Go Error Handling Mistakes and Best Practices

This article examines typical Go error handling pitfalls—including misuse of panic, improper error wrapping, incorrect error comparisons, and neglecting error checks—provides illustrative code samples, explains their potential impacts, and offers best‑practice recommendations to write robust, maintainable Go programs.

BackendGobest practices
0 likes · 18 min read
Common Go Error Handling Mistakes and Best Practices
Java Backend Full-Stack
Java Backend Full-Stack
Mar 18, 2025 · Backend Development

18 Essential Practices for Designing Robust Backend APIs

The article outlines eighteen critical considerations for designing backend interfaces, ranging from documentation format and unified parameter schemas to encryption, idempotency, versioning, and monitoring, providing interview-ready insights that can impress hiring managers.

BackendIdempotencyVersioning
0 likes · 5 min read
18 Essential Practices for Designing Robust Backend APIs
Tencent Technical Engineering
Tencent Technical Engineering
Mar 17, 2025 · Artificial Intelligence

Building a License Approval System with Cursor AI: A Low‑Effort Full‑Stack Demo

The article demonstrates how, with Cursor’s AI‑assisted coding and its YOLO mode, a developer can rapidly build a full‑stack license‑approval system—Vue 3 front‑end, Go/Gin back‑end, JWT authentication, MySQL storage—in under a day of effort, highlighting practical tips, limitations, and the broader potential for low‑code creation.

AI programmingBackendCursor
0 likes · 11 min read
Building a License Approval System with Cursor AI: A Low‑Effort Full‑Stack Demo
Java Backend Technology
Java Backend Technology
Mar 17, 2025 · Backend Development

Mastering Business Operation Logging: From AOP to Binlog with Spring

This article explores comprehensive strategies for capturing business operation logs in a Spring‑based system, comparing three solutions—from a simple AOP‑annotation approach, through an enhanced AOP + SpEL method, to a robust Binlog‑plus‑time‑window architecture—while weighing their advantages, drawbacks, and implementation details.

BackendBinlogSpEL
0 likes · 16 min read
Mastering Business Operation Logging: From AOP to Binlog with Spring
Top Architect
Top Architect
Mar 16, 2025 · Backend Development

Integrating Flowable Workflow Engine with Spring Boot: A Comprehensive Guide

This article provides a step‑by‑step tutorial on using the Flowable BPMN engine within a Spring Boot project, covering workflow fundamentals, key concepts, Maven dependencies, BPMN diagram creation, service task implementation, runtime APIs, unit testing, and common troubleshooting tips.

BackendFlowablespring-boot
0 likes · 20 min read
Integrating Flowable Workflow Engine with Spring Boot: A Comprehensive Guide
FunTester
FunTester
Mar 16, 2025 · Backend Development

Implementing Gender-Based Rest Periods in a Supermarket Checkout Simulation (Third Round)

The article describes how a Java-based supermarket checkout performance test was refined by adding gender-specific rest intervals—2 minutes for male cashiers and 5 minutes for female cashiers—through code changes that introduce a gender attribute, rest logic, and integration into the test workflow.

BackendPerformance TestingRest Scheduling
0 likes · 5 min read
Implementing Gender-Based Rest Periods in a Supermarket Checkout Simulation (Third Round)
Java Tech Enthusiast
Java Tech Enthusiast
Mar 14, 2025 · Backend Development

RocketMQ Message Tracing: Concepts, Configuration, and Implementation

RocketMQ’s message tracing feature records each message’s full lifecycle—including producer, broker, and consumer details such as timestamps, latency, and success flags—by enabling traceTopicEnable, creating an internal RMQ_SYS_TRACE_TOPIC, and allowing custom trace topics for fast diagnostics, end‑to‑end tracking, monitoring, and audit compliance.

BackendMessage QueueMessage Tracing
0 likes · 7 min read
RocketMQ Message Tracing: Concepts, Configuration, and Implementation
Dual-Track Product Journal
Dual-Track Product Journal
Mar 14, 2025 · Operations

How Bad Inventory Sync Can Kill Your E‑commerce Business—and 3 Fixes to Save It

This article examines how delayed or inconsistent inventory synchronization leads to costly overselling and deadstock in e‑commerce, presents three destructive synchronization patterns, and offers a step‑by‑step guide—including real‑time messaging, distributed locks, rule‑engine integration, and intelligent alerts—to transform inventory management from a liability into a self‑healing system.

BackendDistributed SystemsOperations
0 likes · 8 min read
How Bad Inventory Sync Can Kill Your E‑commerce Business—and 3 Fixes to Save It
Su San Talks Tech
Su San Talks Tech
Mar 14, 2025 · Backend Development

Ensuring Idempotency in Distributed Systems: Patterns, Code, and Best Practices

This article explains the concept of idempotency, outlines scenarios where it is essential, analyzes common causes of idempotency problems, and presents a comprehensive set of solutions—including unique constraints, optimistic and pessimistic locks, distributed locks, token mechanisms, state machines, deduplication tables, and global request IDs—accompanied by practical code examples and database design guidelines.

BackendDistributed SystemsIdempotency
0 likes · 14 min read
Ensuring Idempotency in Distributed Systems: Patterns, Code, and Best Practices
php Courses
php Courses
Mar 13, 2025 · Backend Development

Effective Strategies for Optimizing PHP Application Performance

Optimizing PHP applications involves a combination of code-level improvements—such as caching, efficient algorithms, and query optimization—and server-side configurations like upgrading PHP, enabling opcode caches, tuning web servers, and leveraging CDNs, along with monitoring tools and asynchronous processing to achieve faster, more scalable performance.

BackendPHPServer Configuration
0 likes · 5 min read
Effective Strategies for Optimizing PHP Application Performance
Raymond Ops
Raymond Ops
Mar 11, 2025 · Backend Development

Master Go Socket and HTTP Programming: From Dial to Custom Requests

This article explains Go's socket programming workflow, the versatile net.Dial function for TCP, UDP, and ICMP connections, provides complete ICMP and TCP example programs, and then covers HTTP client usage with net/http, including basic methods, form posts, and custom request handling.

BackendGoNetwork programming
0 likes · 12 min read
Master Go Socket and HTTP Programming: From Dial to Custom Requests
Test Development Learning Exchange
Test Development Learning Exchange
Mar 11, 2025 · Backend Development

Comprehensive API Testing Process and Implementation Guide

This article outlines a step‑by‑step API testing workflow—from defining objectives and analyzing requirements to designing test cases, setting up environments, executing tests with tools like Postman and pytest, analyzing results, integrating into CI/CD pipelines, and applying best practices for continuous improvement.

API testingBackendPostman
0 likes · 5 min read
Comprehensive API Testing Process and Implementation Guide
Su San Talks Tech
Su San Talks Tech
Mar 11, 2025 · Backend Development

7 Proven Retry Strategies to Keep Your System Running Smoothly

This article explores seven practical retry solutions—from simple loops and Spring Retry to Resilience4j, message queues, scheduled tasks, two‑phase commits, and distributed locks—explaining their scenarios, core code, and how they prevent costly system failures.

BackendMQRetry
0 likes · 10 min read
7 Proven Retry Strategies to Keep Your System Running Smoothly
Selected Java Interview Questions
Selected Java Interview Questions
Mar 10, 2025 · Backend Development

Postmortem of a Server Crash Caused by a Mis‑managed Scheduled Task in a Backend Module

The article analyzes a server outage triggered by a module that repeatedly created a scheduled task without proper lifecycle control, examines the problematic Java code, lists four key issues, presents a corrected implementation, and reflects on development, testing, review, and logging practices to prevent similar incidents.

BackendIncidentScheduledExecutorService
0 likes · 5 min read
Postmortem of a Server Crash Caused by a Mis‑managed Scheduled Task in a Backend Module
Code Ape Tech Column
Code Ape Tech Column
Mar 10, 2025 · Backend Development

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

This article explains how to dynamically switch between multiple service providers, such as SMS vendors, in a Spring‑based backend by using spring‑smart‑di's @AutowiredProxySPI and related annotations, covering configuration, Maven dependency, enabling the feature, and custom proxy implementations.

BackendDynamic Configurationdependency-injection
0 likes · 9 min read
Dynamic Service Provider Switching with spring-smart-di and AutowiredProxySPI
php Courses
php Courses
Mar 10, 2025 · Backend Development

Using curl_multi_getcontent() to Retrieve Content from Multiple cURL Sessions in PHP

This article explains the purpose and usage of PHP's curl_multi_getcontent() function, demonstrates how to combine it with curl_multi_init() and curl_multi_exec() for concurrent requests, and provides a complete example showing initialization, execution, content retrieval, and cleanup of multiple cURL handles.

BackendConcurrent RequestsHTTP
0 likes · 4 min read
Using curl_multi_getcontent() to Retrieve Content from Multiple cURL Sessions in PHP
FunTester
FunTester
Mar 10, 2025 · Backend Development

Avoid These Common Go String Mistakes That Hurt Performance

This article examines six frequent Go string pitfalls—including misuse of rune, incorrect iteration, inefficient concatenation, unnecessary conversions, substring memory leaks, and improper trim functions—explaining their impact, demonstrating flawed code, and providing optimized examples to improve correctness and performance.

BackendGoStrings
0 likes · 13 min read
Avoid These Common Go String Mistakes That Hurt Performance
IT Services Circle
IT Services Circle
Mar 9, 2025 · Backend Development

Understanding RocketMQ Message Tracing: Concepts, Configuration, and Custom TraceTopic Implementation

This article explains RocketMQ's message tracing feature, covering its definition, key data attributes, core benefits, configuration steps for both normal and IO‑isolated modes, the underlying implementation mechanism, supported trace topics, and provides complete Java code examples for custom TraceTopic usage and verification.

BackendConfigurationMessage Tracing
0 likes · 11 min read
Understanding RocketMQ Message Tracing: Concepts, Configuration, and Custom TraceTopic Implementation
Liangxu Linux
Liangxu Linux
Mar 9, 2025 · Backend Development

Mastering Nginx Gzip: Configuration, Tips, and Common Pitfalls

Compressing HTTP responses with Nginx gzip improves user experience by reducing load times and cuts bandwidth costs, while proper directives, static gzip handling, and awareness of common misconfigurations ensure optimal performance in production environments.

BackendGzipOps
0 likes · 6 min read
Mastering Nginx Gzip: Configuration, Tips, and Common Pitfalls
Architect's Guide
Architect's Guide
Mar 9, 2025 · Backend Development

Generating PDF Templates with iText in Java: A Step‑by‑Step Tutorial

This article demonstrates how to create a PDF template by first designing a Word document, converting it to PDF, inserting text, option, and image fields using a PDF editor, and then programmatically filling those fields with Java iText code, including dependency setup and image insertion.

BackendPDFiText
0 likes · 7 min read
Generating PDF Templates with iText in Java: A Step‑by‑Step Tutorial
Code Ape Tech Column
Code Ape Tech Column
Mar 7, 2025 · Backend Development

Using Spring's ResponseBodyEmitter for Real‑Time Streaming Responses

This article introduces Spring Framework's ResponseBodyEmitter, explains its advantages over SSE for asynchronous HTTP responses, demonstrates practical usage with a real‑time log‑streaming example, outlines core methods, working principles, best‑practice considerations, and compares it with traditional Streaming and Server‑Sent Events.

BackendHTTPResponseBodyEmitter
0 likes · 10 min read
Using Spring's ResponseBodyEmitter for Real‑Time Streaming Responses
Chen Tian Universe
Chen Tian Universe
Mar 7, 2025 · Product Management

Designing Modern Checkout Systems: Architecture, Flow, and Real‑World Scenarios

This article explores the evolution, architecture, design preparation, processing flow, front‑end/back‑end considerations, configuration strategies, and diverse real‑world examples of checkout systems across medical, e‑commerce, entertainment, ETC, and gaming domains, highlighting how business needs shape payment experiences.

BackendPayment ArchitectureSystem Design
0 likes · 36 min read
Designing Modern Checkout Systems: Architecture, Flow, and Real‑World Scenarios
php Courses
php Courses
Mar 5, 2025 · Backend Development

Using PHP json_decode to Convert JSON Strings to PHP Variables

This article explains how PHP's built-in json_decode function converts JSON-formatted strings into PHP variables, demonstrating both object and associative array outputs with code examples, and shows how to adjust parameters to obtain the desired data structure.

BackendData ConversionPHP
0 likes · 4 min read
Using PHP json_decode to Convert JSON Strings to PHP Variables