Tagged articles

backend

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

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

Coding PracticesOptimizationPHP
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.

System Designbackendcloud-native
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.

Gobackendbest 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 designInterviewVersioning
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.

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

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

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

E‑commerceInventorybackend
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.

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

GoSocketbackend
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 testingCI/CDPostman
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.

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

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

Dynamic ConfigurationJavaSpring
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.

Concurrent RequestsPHPbackend
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.

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

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

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

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

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

Payment ArchitectureSystem Designbackend
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.

Database isolationSaaSarchitecture
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.

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

PHPUser Authenticationbackend
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.

File I/OPHPbackend
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.

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

Service LayerSpringbackend
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.

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

Multi-moduleReactorbackend
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.

MavenShell scriptSpring 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.

JavaMyBatisXMybatis-Plus
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.

JavaLogin Rate LimitingLua
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.

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

Gray DeploymentRoutingVersioning
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.

ConfigurationJavaRule Engine
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.

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

Functional ProgrammingJavaJava8
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.

Data StatisticsJavaQuantile
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.

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

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

backendfile-functionfile-handling
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.

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

ConfigurationElasticsearchInfinilabs Gateway
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.

Functionbackendboolean
0 likes · 4 min read
Using PHP is_bool() to Check Boolean Variables
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.

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

AnnotationJavaLogical Deletion
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.

Code ExampleFile HandlingPHP
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.

File HandlingPHPbackend
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 documentationGoRouting
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.

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

Service Governancearchitectureasynchrony
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.

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

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

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

Zookeeperbackendconcurrency
0 likes · 7 min read
How to Choose the Right Distributed Lock: DB, Redis, or ZooKeeper?
php Courses
php Courses
Feb 10, 2025 · Backend Development

Using PHP’s floatval Function to Convert Variables to Float

This article explains how PHP’s built‑in floatval function converts various variable types—including integers, strings, booleans, and arrays—into floating‑point numbers, provides syntax details, demonstrates multiple code examples, and notes edge cases such as non‑numeric strings returning zero.

backendfloatvaltutorial
0 likes · 3 min read
Using PHP’s floatval Function to Convert Variables to Float
php Courses
php Courses
Feb 10, 2025 · Backend Development

Using PHP fgetc() to Read Characters from Files and Standard Input

This article explains how to use PHP's fgetc() function to read single characters from files and standard input, covering file opening with fopen(), the function's syntax, example code for looping through file contents, and a demonstration of handling user-entered characters with a switch statement.

File Handlingbackendfgetc
0 likes · 4 min read
Using PHP fgetc() to Read Characters from Files and Standard Input
Java Captain
Java Captain
Feb 9, 2025 · Backend Development

Using Lua Scripts in Spring Boot with Redis for Performance and Atomic Operations

This article explains how to integrate Lua scripts into Spring Boot applications with Redis, covering Lua fundamentals, advantages of Lua in Redis, practical use cases, step‑by‑step implementation in Spring Boot, performance optimizations, error handling, security considerations, and best practices for reliable backend development.

LuaPerformanceRedis
0 likes · 23 min read
Using Lua Scripts in Spring Boot with Redis for Performance and Atomic Operations
JD Retail Technology
JD Retail Technology
Feb 7, 2025 · Backend Development

Cache Big‑Key and Hot‑Key Issues: Case Study, Root‑Cause Analysis, and Mitigation Strategies

A promotional event created an oversized Redis cache entry that, combined with cache‑penetration bursts, saturated network bandwidth and caused a service outage, prompting mitigation through Protostuff serialization, gzip compression, request throttling, and enhanced monitoring, while recommending design‑time cache planning and stress testing to prevent future big‑key failures.

BigKeyCacheHotKey
0 likes · 9 min read
Cache Big‑Key and Hot‑Key Issues: Case Study, Root‑Cause Analysis, and Mitigation Strategies
php Courses
php Courses
Feb 6, 2025 · Backend Development

Using PHP's array_reverse() Function: Syntax, Examples, and Tips

This article explains PHP's array_reverse() function, covering its syntax, optional parameters, and multiple code examples that demonstrate reversing indexed arrays, associative arrays with key preservation, and combining with other array functions for more complex operations.

PHParray_reversebackend
0 likes · 4 min read
Using PHP's array_reverse() Function: Syntax, Examples, and Tips
php Courses
php Courses
Feb 5, 2025 · Backend Development

Using PHP is_executable() to Check File Executability

This article explains PHP's is_executable() function, detailing its definition, parameters, return values, usage examples, code explanation, precautions, and common application scenarios for checking file executability to enhance system security in web development.

File Permissionsbackendis_executable
0 likes · 4 min read
Using PHP is_executable() to Check File Executability
php Courses
php Courses
Feb 5, 2025 · Backend Development

Using PHP tmpfile() to Create and Manage Temporary Files

This article explains how the PHP tmpfile() function creates a unique temporary file that is automatically removed at script termination, demonstrates its syntax, shows a complete example with fwrite, fseek, fread and fclose, and highlights important usage considerations such as manual deletion with unlink().

File Handlingbackendphp-functions
0 likes · 4 min read
Using PHP tmpfile() to Create and Manage Temporary Files
Raymond Ops
Raymond Ops
Feb 4, 2025 · Fundamentals

Master Go Naming: Consistent, Concise, and Precise Conventions

Effective naming in Go requires consistency, brevity, and precision, with guidelines covering variable and function names, camel‑case conventions, short local variables, descriptive parameters, return values, method receivers, package naming, interface naming, and error types, illustrated by numerous code examples from the standard library.

Code stylebackendbest-practices
0 likes · 7 min read
Master Go Naming: Consistent, Concise, and Precise Conventions
Code Ape Tech Column
Code Ape Tech Column
Feb 4, 2025 · Backend Development

Sa-Token Java Permission Authentication Framework: Overview, Login, and Permission Implementation

This article introduces the lightweight Sa-Token Java authentication framework, explains why it is chosen over Spring Security and Shiro, details its login and permission APIs with code examples, shows how to configure it in Spring Boot and WebFlux projects, and lists its extensive feature set for secure backend development.

JavaSa-TokenSpring Boot
0 likes · 23 min read
Sa-Token Java Permission Authentication Framework: Overview, Login, and Permission Implementation
Architect's Guide
Architect's Guide
Feb 4, 2025 · Backend Development

Deploying Redis Sentinel with Portainer and Integrating it into a Spring Boot Application

This tutorial walks through installing Portainer for Docker container management, creating docker‑compose files to deploy Portainer, setting up a master‑slave‑sentinel Redis architecture, configuring a custom bridge network, and finally integrating Redis Sentinel into a Spring Boot project with Lettuce connection pooling.

Container ManagementDockerRedis Sentinel
0 likes · 15 min read
Deploying Redis Sentinel with Portainer and Integrating it into a Spring Boot Application
Ubiquitous Tech
Ubiquitous Tech
Feb 3, 2025 · Backend Development

Boost Java Development Efficiency with Equator’s Automatic Object Comparison

This article walks through the pain points of manually logging Java object changes, introduces the open‑source Equator library, explains its field‑ and getter‑based comparison strategies, shows how to integrate it via Maven, and demonstrates clean change‑log output with flexible field filtering and deep‑structure support.

EquatorJavaMaven
0 likes · 8 min read
Boost Java Development Efficiency with Equator’s Automatic Object Comparison
IT Services Circle
IT Services Circle
Jan 30, 2025 · Backend Development

15 Practical Spring Framework Tips for Developers

This article presents fifteen useful Spring techniques—including bean retrieval, event handling, custom interceptors, retry mechanisms, global exception handling, startup initialization, bean lifecycle methods, resource cleanup, dynamic configuration injection, conditional bean registration, caching, transaction management, bean loading order, AOP aspects, and conditional bean creation—each illustrated with clear Java code examples.

DependencyInjectionJavaSpring
0 likes · 17 min read
15 Practical Spring Framework Tips for Developers