Tagged articles

Backend

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

BackendGraalVMSpringBoot
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 SecurityBackendJava
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.

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

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

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

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

BackendCoding PracticesFunctions
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.

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

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

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

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

BackendOptimistic LockToken
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.

BackendPHPPerformance Optimization
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.

BackendGoSocket
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-testingBackendCI/CD
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.

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

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

BackendDependency InjectionJava
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.

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

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

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

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

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

BackendSystem Designcheckout design
0 likes · 36 min read
Designing Modern Checkout Systems: Architecture, Flow, and Real‑World Scenarios
Lobster Programming
Lobster Programming
Mar 6, 2025 · Backend Development

Which Multi‑Tenant Architecture Is Right for Your SaaS? A Deep Dive into 5 Patterns

This article explains five common multi‑tenant implementation patterns—independent databases, shared database with separate schemas, shared tables, hybrid approaches, and containerized isolation—detailing their isolation levels, cost implications, scalability, and suitable use cases for SaaS applications.

ArchitectureBackendDatabase isolation
0 likes · 6 min read
Which Multi‑Tenant Architecture Is Right for Your SaaS? A Deep Dive into 5 Patterns
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.

BackendPHPdata conversion
0 likes · 4 min read
Using PHP json_decode to Convert JSON Strings to PHP Variables
php Courses
php Courses
Mar 5, 2025 · Backend Development

PHP Session Management and User Authentication

This article explains PHP's session management mechanisms, basic session operations, security considerations, and various user authentication methods—including session‑based login, token‑based authentication, and password hashing—providing developers with practical guidance to build secure web applications.

BackendPHPUser Authentication
0 likes · 4 min read
PHP Session Management and User Authentication
php Courses
php Courses
Mar 4, 2025 · Backend Development

Advanced PHP File and Directory Operations

This article provides a comprehensive guide to advanced PHP file and directory handling, covering reading and writing files, retrieving file metadata, manipulating file pointers, traversing and managing directories, handling uploads, error handling, and best practices with clear code examples.

BackendPHPfile I/O
0 likes · 6 min read
Advanced PHP File and Directory Operations
php Courses
php Courses
Mar 4, 2025 · Backend Development

Using PHP mysqli_query to Execute MySQL Queries

This article explains how to use PHP's mysqli_query function to connect to a MySQL database, execute SELECT statements, process result sets with mysqli_fetch_assoc, and handle other query types such as INSERT, UPDATE, and DELETE, including full example code and best practices.

BackendPHPdatabase
0 likes · 4 min read
Using PHP mysqli_query to Execute MySQL Queries
Java Backend Technology
Java Backend Technology
Mar 4, 2025 · Backend Development

When Are Service‑Layer Interfaces Really Needed?

This article examines the three classic reasons for defining interfaces on Service and DAO layers, explains why they often fall short when using Spring's dependency injection, and offers practical structuring and workflow tips for projects that may or may not require multiple implementations.

BackendDependency InjectionService Layer
0 likes · 8 min read
When Are Service‑Layer Interfaces Really Needed?
IT Services Circle
IT Services Circle
Mar 3, 2025 · Backend Development

Meituan Spring Hiring Overview and Java Backend Interview Q&A

This article discusses Meituan's spring recruitment numbers, then provides detailed Java backend interview questions and answers covering Spring MVC vs Spring Boot, MySQL MVCC, Redis Zset implementation, message queue reliability, HashMap internals, and thread pool usage, offering practical insights for candidates.

BackendJavaMySQL
0 likes · 20 min read
Meituan Spring Hiring Overview and Java Backend Interview Q&A
Selected Java Interview Questions
Selected Java Interview Questions
Mar 1, 2025 · Backend Development

Using Maven Reactor for Selective Multi‑Module Builds

This article explains how Maven’s reactor determines build order in a parent‑child multi‑module project and demonstrates how to use command‑line options such as -pl, -rf, -am, and -amd to build only required modules or their dependents, greatly speeding up the build process.

BackendMulti-ModuleReactor
0 likes · 8 min read
Using Maven Reactor for Selective Multi‑Module Builds
Code Ape Tech Column
Code Ape Tech Column
Feb 28, 2025 · Backend Development

Spring Boot Packaging with Maven Assembly Plugin and a Deployment Shell Script

This article explains how to configure Maven profiles for different environments, use the maven‑assembly‑plugin and maven‑jar‑plugin to create a zip deployment package for a Spring Boot application, and provides a reusable shell script (shenniu_publish.sh) for extracting, starting, stopping, and restarting the service on Linux.

BackendMavenSpring Boot
0 likes · 13 min read
Spring Boot Packaging with Maven Assembly Plugin and a Deployment Shell Script
Selected Java Interview Questions
Selected Java Interview Questions
Feb 27, 2025 · Backend Development

Step-by-Step Guide to Using MybatisX with Spring Boot

This article introduces MybatisX, an IntelliJ IDEA plugin that streamlines MyBatis and MyBatis‑Plus development, and provides a detailed step‑by‑step tutorial on setting up a Spring Boot project, configuring the database, generating code, and writing a simple controller using MyBatis‑Plus.

BackendJavaMyBatisX
0 likes · 5 min read
Step-by-Step Guide to Using MybatisX with Spring Boot
Java Architect Essentials
Java Architect Essentials
Feb 27, 2025 · Backend Development

How to Enforce Login Attempt Limits with Spring Boot, Redis, and Lua Scripts

This article walks through the problem of locking out users after multiple failed login attempts, explains why IP‑based locking with Redis and Lua scripts is effective, and provides a complete Spring Boot implementation—including front‑end HTML, custom annotations, AOP aspect, Redis configuration, and sample controller code—to enforce a configurable login‑attempt limit.

BackendJavaLogin Rate Limiting
0 likes · 18 min read
How to Enforce Login Attempt Limits with Spring Boot, Redis, and Lua Scripts
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Feb 27, 2025 · Backend Development

Understanding and Using Spring's @Import Annotation

This article explains the purpose, usage patterns, and internal mechanics of Spring's @Import annotation, including importing regular classes, ImportSelector implementations, and ImportBeanDefinitionRegistrar implementations, with complete code examples and a discussion of how Spring processes these imports at runtime.

BackendConfigurationDependencyInjection
0 likes · 9 min read
Understanding and Using Spring's @Import Annotation
php Courses
php Courses
Feb 26, 2025 · Backend Development

Using PHP file_exists() to Check File and Directory Existence

This article explains PHP's file_exists() function, detailing its syntax, parameters, return values, usage examples for checking both files and directories, and important considerations such as remote checks and permission handling in web applications.

Backendfile checkfile_exists
0 likes · 4 min read
Using PHP file_exists() to Check File and Directory Existence
Architect's Must-Have
Architect's Must-Have
Feb 26, 2025 · Backend Development

How to Implement Version-Based Routing and Gray Deployment in Microservices

This article explains how to design custom routing strategies for versioned microservices, including default master branch routing, unified version routing, and service‑specific routing, and shows how to apply these rules to achieve gray deployments with load‑balancing and seamless version isolation.

BackendGray DeploymentMicroservices
0 likes · 10 min read
How to Implement Version-Based Routing and Gray Deployment in Microservices
Selected Java Interview Questions
Selected Java Interview Questions
Feb 25, 2025 · Backend Development

Integrating URule Rule Engine with Spring Boot: Installation, Configuration, and Practical Examples

This article introduces the URule rule engine, explains its core concepts, shows how to install and configure it in a Spring Boot project, demonstrates library definitions, rule set creation (wizard and script modes), decision table usage, and provides real‑world scenario code examples for backend developers.

BackendConfigurationJava
0 likes · 15 min read
Integrating URule Rule Engine with Spring Boot: Installation, Configuration, and Practical Examples
php Courses
php Courses
Feb 25, 2025 · Backend Development

Understanding PHP time() Function: Usage, Examples, and Applications

This article explains PHP's time() function, describing how it returns the current Unix timestamp, demonstrates basic usage with code examples, shows how to compare dates and format the timestamp, and provides practical snippets for common time‑related tasks in backend development.

BackendPHPdate handling
0 likes · 4 min read
Understanding PHP time() Function: Usage, Examples, and Applications
Architect's Guide
Architect's Guide
Feb 24, 2025 · Backend Development

Using Java Optional to Prevent NullPointerException

This article introduces Java 8's Optional class, explains its creation methods and common operations such as get, isPresent, ifPresent, filter, map, flatMap, orElse, orElseGet, orElseThrow, and shows practical usage scenarios and best‑practice recommendations for handling null values in backend code.

BackendFunctional ProgrammingJava
0 likes · 15 min read
Using Java Optional to Prevent NullPointerException
Top Architect
Top Architect
Feb 23, 2025 · Backend Development

Introducing LiteFlow: A Lightweight Rule Engine for Java Backend Development

This article explains how the LiteFlow rule engine can be integrated into Spring Boot projects to orchestrate serial and parallel business processes, describes its architecture, component types, configuration options, and provides practical code examples and a real‑world e‑commerce workflow.

Backend
0 likes · 11 min read
Introducing LiteFlow: A Lightweight Rule Engine for Java Backend Development
FunTester
FunTester
Feb 23, 2025 · Operations

How to Efficiently Process Test Data in a Multithreaded Performance Engine

This article explains two design approaches for handling test data in a multithreaded performance testing engine, compares their trade‑offs, and provides complete Java code for data aggregation, statistical analysis, TPS calculation, and refactoring the tool for cleaner extensibility.

BackendData StatisticsJava
0 likes · 14 min read
How to Efficiently Process Test Data in a Multithreaded Performance Engine
php Courses
php Courses
Feb 20, 2025 · Backend Development

Using PHP mb_strlen() to Get the Length of Multibyte Strings

This article explains how to enable the mbstring extension and use PHP's mb_strlen() function with optional encoding parameters to accurately measure the length of multibyte strings such as Chinese and Japanese, including practical code examples for length calculation and validation.

BackendPHPmbstring
0 likes · 5 min read
Using PHP mb_strlen() to Get the Length of Multibyte Strings
macrozheng
macrozheng
Feb 20, 2025 · Backend Development

Mastering Java 8 Streams: Clean Code Tips and Common Pitfalls

This article explores how Java 8 streams and lambda expressions can make code shorter and more elegant, while highlighting common mistakes such as poor formatting, oversized functions, misuse of Optional, and over‑reliance on parallel streams, and offers practical guidelines for writing readable, maintainable backend code.

BackendJavacode-quality
0 likes · 13 min read
Mastering Java 8 Streams: Clean Code Tips and Common Pitfalls
php Courses
php Courses
Feb 19, 2025 · Backend Development

Using PHP's file() Function to Read Files into an Array

This tutorial explains how PHP's file() function reads a text file into an array, demonstrates the default behavior of preserving line breaks, and shows how to use flags such as FILE_IGNORE_NEW_LINES and FILE_SKIP_EMPTY_LINES to control newline retention and skip empty lines.

BackendTutorialfile-function
0 likes · 4 min read
Using PHP's file() Function to Read Files into an Array
php Courses
php Courses
Feb 18, 2025 · Backend Development

Using PHP glob() to Retrieve File Paths with Pattern Matching

This article explains PHP's glob() function, detailing its syntax, parameters, and various pattern‑matching examples—including wildcard, extension, brace, and recursive searches—while highlighting important flags and considerations for handling returned file and directory arrays.

BackendPatternfile-matching
0 likes · 4 min read
Using PHP glob() to Retrieve File Paths with Pattern Matching
Mingyi World Elasticsearch
Mingyi World Elasticsearch
Feb 17, 2025 · Backend Development

Infinilabs Gateway Config File: A Layer‑by‑Layer Deep Dive

This article walks through the Infinilabs Gateway configuration file from top‑level environment variables down to low‑level disk queues, explaining each section—env, paths, gateway core, stats, API, Elasticsearch services, entry, router, flow, pipelines, metrics, disk queue, Badger KV, floating IP, and global elastic settings—so readers can quickly understand and customize the gateway for microservice and big‑data deployments.

BackendConfigurationElasticsearch
0 likes · 18 min read
Infinilabs Gateway Config File: A Layer‑by‑Layer Deep Dive
php Courses
php Courses
Feb 17, 2025 · Backend Development

Using PHP is_string() to Determine Whether a Variable Is a String

This article explains the PHP is_string() function, its syntax, and provides a complete example showing how to check variables $name, $age, and $city to determine if they are strings, along with best‑practice security considerations.

Backendis_stringphp-functions
0 likes · 4 min read
Using PHP is_string() to Determine Whether a Variable Is a String
php Courses
php Courses
Feb 17, 2025 · Backend Development

Using PHP is_bool() to Check Boolean Variables

This article explains how the PHP is_bool() function can be used to determine whether a variable holds a boolean value, provides clear code examples with different variable types, and shows the resulting output to illustrate correct usage.

BackendFunctionTutorial
0 likes · 4 min read
Using PHP is_bool() to Check Boolean Variables
21CTO
21CTO
Feb 15, 2025 · Backend Development

Choosing the Right API Architecture in 2025: REST, GraphQL, or tRPC?

This article examines the strengths and trade‑offs of REST, GraphQL, and tRPC for API design in 2025, helping teams decide which architecture aligns with their expertise, project scope, and performance requirements.

APIArchitectureBackend
0 likes · 7 min read
Choosing the Right API Architecture in 2025: REST, GraphQL, or tRPC?
Python Programming Learning Circle
Python Programming Learning Circle
Feb 15, 2025 · Backend Development

Proper Python Configuration for Multi‑Environment Applications

This article explains how to structure Python projects so that configuration is managed through packages and environment variables, enabling seamless deployment across development, testing, staging, and production environments without code changes, while illustrating best practices with clear examples and code snippets.

BackendConfigurationPython
0 likes · 12 min read
Proper Python Configuration for Multi‑Environment Applications
Architect's Guide
Architect's Guide
Feb 15, 2025 · Backend Development

Using @TableLogic Annotation for Logical Deletion in MyBatis-Plus

This article explains how the @TableLogic annotation in MyBatis-Plus implements logical deletion by converting delete operations into updates, details its parameters, supported field types, global configuration, and provides complete Java and SQL code examples for practical usage.

BackendJavaMyBatis-Plus
0 likes · 8 min read
Using @TableLogic Annotation for Logical Deletion in MyBatis-Plus
php Courses
php Courses
Feb 14, 2025 · Backend Development

Using PHP fread() to Read Files: Syntax, Parameters, and Example

This article explains PHP's fread() function, covering its syntax, parameters, return values, optional offset argument, and provides a complete example that opens a file, reads its contents based on size, outputs the data, and closes the handle.

BackendCode ExampleFile Handling
0 likes · 3 min read
Using PHP fread() to Read Files: Syntax, Parameters, and Example
php Courses
php Courses
Feb 14, 2025 · Backend Development

Using PHP’s file() Function to Read Files into an Array

This article explains how PHP’s file() function reads a text file into an array, demonstrates the default behavior of preserving line endings, and shows how to use flags such as FILE_IGNORE_NEW_LINES and FILE_SKIP_EMPTY_LINES for more flexible file handling.

BackendFile HandlingPHP
0 likes · 3 min read
Using PHP’s file() Function to Read Files into an Array
37 Interactive Technology Team
37 Interactive Technology Team
Feb 13, 2025 · Backend Development

How to Unify Swagger2.0 Docs with GF2 Routing: A Practical Guide

This article analyzes the shortcomings of separating Swagger2.0 documentation from parameter handling in a Go backend, proposes a unified parameter definition and routing adapter for the GF framework, and demonstrates the resulting automatic OpenAPI generation with detailed code flow and visual examples.

API documentationBackendGo
0 likes · 8 min read
How to Unify Swagger2.0 Docs with GF2 Routing: A Practical Guide
php Courses
php Courses
Feb 13, 2025 · Backend Development

Using PHP strlen() to Calculate String Length

This article explains PHP's strlen() function, its syntax, demonstrates how to calculate string lengths with and without surrounding spaces using code examples, and discusses important considerations such as encoding support and handling of special or multibyte characters.

BackendCodingPHP
0 likes · 4 min read
Using PHP strlen() to Calculate String Length
Top Architect
Top Architect
Feb 12, 2025 · Backend Development

Payment System Architecture Overview and Core Components

This article presents a comprehensive overview of a typical payment system architecture, detailing the division between transaction and payment cores, their interactions, service governance, data consistency, asynchronous processing, and practical production practices for building stable, scalable backend payment services.

ArchitectureBackendService Governance
0 likes · 9 min read
Payment System Architecture Overview and Core Components
php Courses
php Courses
Feb 12, 2025 · Backend Development

Using PHP str_replace for String Replacement and Deletion

This article explains PHP's str_replace function, its syntax, and provides three practical examples showing simple replacement, multiple replacements with arrays, and character deletion, while also noting additional options available in the official documentation.

BackendPHPTutorial
0 likes · 3 min read
Using PHP str_replace for String Replacement and Deletion
php Courses
php Courses
Feb 12, 2025 · Backend Development

Handling Division by Zero Errors in PHP: Differences Between PHP 7 and PHP 8 and Best Practices

This article explains how PHP 7 and PHP 8 handle division‑by‑zero errors, outlines common causes of zero‑division, and presents six practical techniques—including input validation, conditional checks, ternary operators, custom error handlers, try‑catch blocks, and avoiding the @ operator—supported by clear code examples and a real‑world financial‑app case study.

BackendExceptiondivision-by-zero
0 likes · 6 min read
Handling Division by Zero Errors in PHP: Differences Between PHP 7 and PHP 8 and Best Practices
php Courses
php Courses
Feb 11, 2025 · Backend Development

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

This article explains how the PHP implode() function joins array elements into a string, demonstrates basic and advanced usage with examples—including handling sub‑arrays and omitting the separator—and highlights important considerations for effective string manipulation in backend development.

BackendStringTutorial
0 likes · 4 min read
Using PHP implode() to Join Array Elements into a String
Lobster Programming
Lobster Programming
Feb 10, 2025 · Backend Development

How to Choose the Right Distributed Lock: DB, Redis, or ZooKeeper?

This article explains the concept of distributed locks and compares three common implementation approaches—using a database, Redis, and ZooKeeper—detailing their mechanisms, advantages, drawbacks, and suitable scenarios for ensuring consistent access to shared resources in distributed systems.

BackendZooKeeperconcurrency
0 likes · 7 min read
How to Choose the Right Distributed Lock: DB, Redis, or ZooKeeper?