Tagged articles

Backend

5000 articles · Page 15 of 50
Open Source Tech Hub
Open Source Tech Hub
Oct 27, 2024 · Backend Development

How FastRoute Supercharges PHP Routing with One‑Pass Regex

This article explains FastRoute, a high‑performance PHP routing library created by Nikita Popov, detailing its design, core dispatcher and router mechanisms, feature set, single‑regex compilation technique, code examples, and real‑world usage within the Webman framework.

BackendFastRoutePHP
0 likes · 8 min read
How FastRoute Supercharges PHP Routing with One‑Pass Regex
MaGe Linux Operations
MaGe Linux Operations
Oct 26, 2024 · Backend Development

Step-by-Step HAProxy Deployment and Configuration Guide for Load Balancing

This tutorial walks through installing HAProxy, configuring global, defaults, listen, frontend, and backend sections, setting up ACL‑based routing, defining server groups for default, website, and blog services, testing load‑balancing behavior, and accessing the HAProxy statistics page, all with complete command‑line examples.

ACLBackendHAProxy
0 likes · 15 min read
Step-by-Step HAProxy Deployment and Configuration Guide for Load Balancing
Su San Talks Tech
Su San Talks Tech
Oct 26, 2024 · Databases

9 Proven Tricks to Supercharge Your Pagination API Performance

This article presents nine practical techniques—including default filters, smaller page sizes, reduced joins, index tuning, straight_join usage, data archiving, count(*) optimization, ClickHouse offloading, and read/write splitting—to dramatically improve the speed and scalability of pagination query interfaces.

BackendSQLpagination
0 likes · 13 min read
9 Proven Tricks to Supercharge Your Pagination API Performance
Code Ape Tech Column
Code Ape Tech Column
Oct 25, 2024 · Fundamentals

Understanding Why BigDecimal Preserves Precision in Java

This article explains how Java's BigDecimal class maintains exact decimal precision by scaling numbers to long integers, detailing its internal fields, demonstrating addition with sample code, and analyzing the underlying add method logic to show why no precision is lost.

ArithmeticBackendBigDecimal
0 likes · 6 min read
Understanding Why BigDecimal Preserves Precision in Java
php Courses
php Courses
Oct 25, 2024 · Backend Development

Handling Special Cases in PHP Function Object Programming (FOP)

This article explains how PHP's Function Object Programming treats $this, static methods, anonymous functions, and call_user_func() differently from standard OOP, providing code examples and guidance to avoid common pitfalls when using functions as objects.

Backendfunction-object-programmingphp-fop
0 likes · 3 min read
Handling Special Cases in PHP Function Object Programming (FOP)
Wukong Talks Architecture
Wukong Talks Architecture
Oct 25, 2024 · Backend Development

Debugging a TCP Communication Bug That Stops Device Production at 70% Due to Length Field Misalignment

The article details a mysterious production stall at 70% caused by a TCP packet length field misalignment when the configuration name is "rabbit‑TD", explains the step‑by‑step investigation using server logs and packet captures, identifies the root cause of the merged D4/D5 packets, and proposes two concrete fixes to correct the length handling.

BackendTCPdebugging
0 likes · 10 min read
Debugging a TCP Communication Bug That Stops Device Production at 70% Due to Length Field Misalignment
Mingyi World Elasticsearch
Mingyi World Elasticsearch
Oct 24, 2024 · Backend Development

Full Elasticsearch 8.x Java API Client Code Ready for Immediate Project Use

This article walks through the new features of the Elasticsearch 8.x Java API client, shows how to set up the development environment, initialize the client with HTTPS or API‑key authentication, and provides complete, ready‑to‑run code examples for index creation, document indexing, searching, aggregations, and scripted sorting.

BackendElasticsearchElasticsearch 8.x
0 likes · 15 min read
Full Elasticsearch 8.x Java API Client Code Ready for Immediate Project Use
DeWu Technology
DeWu Technology
Oct 23, 2024 · Backend Development

Automated Traffic Rule Inspection with Flow Replay Platform

The Flow Replay Platform automates traffic‑rule inspection by recording traffic from all environments, letting engineers define jsonPath‑based interface rules that continuously validate pre‑release and production traffic, instantly alerting anomalies, reducing false positives, accelerating release verification, and cutting manual testing effort, as demonstrated by discovered coupon‑related bugs.

Backendautomated testingmonitoring
0 likes · 9 min read
Automated Traffic Rule Inspection with Flow Replay Platform
MaGe Linux Operations
MaGe Linux Operations
Oct 23, 2024 · Backend Development

How to Hide Nginx Version and Set a Custom Server Header

This guide walks you through downloading, compiling, and configuring Nginx so that the server version is hidden and a custom Server header is displayed, including step‑by‑step commands, source code edits, and verification methods.

BackendVersion Hidingcustom server header
0 likes · 4 min read
How to Hide Nginx Version and Set a Custom Server Header
Architecture Digest
Architecture Digest
Oct 23, 2024 · Backend Development

Generating Dynamic PDF Invoices with iTextPdf in Java

This article explains how to use the iTextPdf library in a Java SpringBoot project to create, fill, and merge PDF invoice templates—covering dependency setup, template design, dynamic table generation, and final PDF concatenation for both fixed and variable invoice data.

BackendDynamic PDFJava
0 likes · 11 min read
Generating Dynamic PDF Invoices with iTextPdf in Java
php Courses
php Courses
Oct 23, 2024 · Backend Development

Using PHP rawurlencode() to Encode URLs and Query Parameters

This article explains how PHP's rawurlencode() function encodes special characters in URLs and query strings, demonstrates its syntax with code examples, and shows how to safely construct encoded URLs for web applications.

Backendphp-functionsrawurlencode
0 likes · 4 min read
Using PHP rawurlencode() to Encode URLs and Query Parameters
php Courses
php Courses
Oct 22, 2024 · Backend Development

Using PHP str_replace for String Replacement and Deletion

This article explains PHP's str_replace function, shows its syntax, and provides three practical examples demonstrating simple replacement, multiple replacements using arrays, and character deletion, while also mentioning additional options and linking to the official documentation.

BackendTutorialstr_replace
0 likes · 4 min read
Using PHP str_replace for String Replacement and Deletion
php Courses
php Courses
Oct 22, 2024 · Backend Development

Structured Approach for Migrating Python Functions to PHP

This guide outlines a systematic method for tracking, testing, and documenting the migration of Python functions to PHP, including creating a mapping table, using version control, writing unit tests, recording edge cases, and conducting regular progress reviews to ensure code quality and functional equivalence.

BackendPHPPython
0 likes · 4 min read
Structured Approach for Migrating Python Functions to PHP
macrozheng
macrozheng
Oct 22, 2024 · Backend Development

Can @Service Replace @Controller in Spring Boot? A Deep Dive

This article explores whether the @Service annotation can replace @Controller in Spring Boot, demonstrates a working example, explains the underlying bean registration process, and clarifies how Spring’s component scanning and request mapping enable such unconventional usage.

BackendControllerJava
0 likes · 8 min read
Can @Service Replace @Controller in Spring Boot? A Deep Dive
Java Architecture Stack
Java Architecture Stack
Oct 22, 2024 · Backend Development

How to Prevent Browser Caching of JavaScript in Java Backend Apps

This article explains why stale JavaScript can break functionality, outlines the risks of caching such as outdated bugs, security flaws, and debugging difficulties, and provides practical Java‑side solutions—including versioned URLs, cache‑control headers, static‑resource policies, and ETag/Last‑Modified handling—to ensure browsers always load the latest scripts.

BackendHTTP headersJava
0 likes · 7 min read
How to Prevent Browser Caching of JavaScript in Java Backend Apps
php Courses
php Courses
Oct 21, 2024 · Backend Development

Using PHP get_headers() to Retrieve HTTP Response Headers

This article explains the PHP get_headers() function, its syntax, parameters, and usage examples, demonstrates how to retrieve and display HTTP response headers from a URL, and discusses common application scenarios such as checking remote file existence, obtaining file metadata, and supporting web crawling or monitoring.

BackendHTTPWeb Scraping
0 likes · 4 min read
Using PHP get_headers() to Retrieve HTTP Response Headers
php Courses
php Courses
Oct 21, 2024 · Backend Development

Using PHP array_push to Add Elements to an Array

This article explains how the PHP array_push function can append one or multiple elements to the end of an array, shows step‑by‑step code examples for single and multiple element insertion, and demonstrates the resulting array length and contents.

BackendPHPTutorial
0 likes · 3 min read
Using PHP array_push to Add Elements to an Array
Architect's Guide
Architect's Guide
Oct 19, 2024 · Backend Development

Java Spring Development Best Practices: 14 Tips for Clean and Efficient Code

This article presents fourteen practical Java Spring development best‑practice tips—including using @ConfigurationProperties, Lombok's @RequiredArgsConstructor, modularizing code, throwing exceptions instead of returning error codes, minimizing unnecessary database calls, avoiding null returns, reducing if‑else chains, and leveraging IDE features—to help developers write cleaner, more maintainable backend code.

BackendConfigurationJava
0 likes · 7 min read
Java Spring Development Best Practices: 14 Tips for Clean and Efficient Code
macrozheng
macrozheng
Oct 18, 2024 · Backend Development

Why @Transactional Often Fails: 13 Real-World Pitfalls and How to Fix Them

An in‑depth guide reveals thirteen common pitfalls that cause Spring’s @Transactional annotation to malfunction—ranging from unnecessary usage and proxy limitations to propagation misconfigurations and exception handling—plus practical demos and solutions to ensure reliable transaction rollbacks in Java backend development.

@TransactionalAOPBackend
0 likes · 20 min read
Why @Transactional Often Fails: 13 Real-World Pitfalls and How to Fix Them
Programmer XiaoFu
Programmer XiaoFu
Oct 18, 2024 · Backend Development

Unlock Spring Boot’s Powerful Built‑In Features You’re Not Using

This article walks through Spring Boot’s built‑in utilities—including request logging with CommonsRequestLoggingFilter, request/response wrappers, the OncePerRequestFilter base class, and AOP helpers like AopContext, AopUtils, and ReflectionUtils—showing how to configure and apply them in real code.

AOPBackendContentCachingWrapper
0 likes · 12 min read
Unlock Spring Boot’s Powerful Built‑In Features You’re Not Using
Tencent Cloud Developer
Tencent Cloud Developer
Oct 18, 2024 · Backend Development

Tencent Meeting "My Recordings" List Optimization Practice

Tencent Meeting optimized its “My Recordings” list by replacing offset pagination with cursor‑based seeks, implementing a two‑layer cache separating ID lists from record details, choosing MongoDB for multi‑source aggregation, and adding reliable Kafka‑driven sync, cutting latency from 308 ms to 70 ms while supporting over 700 QPS.

BackendMongoDBcaching
0 likes · 36 min read
Tencent Meeting "My Recordings" List Optimization Practice
Architecture Digest
Architecture Digest
Oct 17, 2024 · Backend Development

Simplifying Backend CRUD with APIJSON: One Interface per Operation

This article explains how APIJSON can replace dozens of traditional SpringBoot controller methods with a single configurable endpoint, demonstrating concise request formats, permission annotations, and example code for creating, reading, updating, deleting, and aggregating data in a Java backend.

APIJSONBackendCRUD
0 likes · 8 min read
Simplifying Backend CRUD with APIJSON: One Interface per Operation
Java Captain
Java Captain
Oct 17, 2024 · Backend Development

Reducing CRUD Boilerplate with APIJSON: One Interface for All Operations

This article explains how APIJSON lets developers replace dozens of SpringBoot CRUD endpoints with a single, configurable interface for GET, POST, PUT, DELETE and HEAD requests, dramatically cutting code lines while supporting complex queries, pagination, joins and role‑based permissions.

APIJSONBackendCRUD
0 likes · 7 min read
Reducing CRUD Boilerplate with APIJSON: One Interface for All Operations
Architect's Guide
Architect's Guide
Oct 17, 2024 · Backend Development

Using JXLS for Complex Excel Export in Java Backend Applications

This article introduces the JXLS library for Java, explains how to add Maven dependencies, provides backend utility and controller code for exporting Excel files, and details common XLS expressions such as jx:area, jx:each, jx:mergeCells, and dynamic column handling to simplify complex Excel report generation.

BackendDynamic ColumnsExcel Export
0 likes · 8 min read
Using JXLS for Complex Excel Export in Java Backend Applications
Architect
Architect
Oct 16, 2024 · Backend Development

Mastering Spring Transaction Hooks for Safe Kafka Publishing

This article explains how to use Spring's TransactionSynchronizationManager to detect active transactions, register synchronization callbacks, and asynchronously publish payment‑log messages to Kafka without affecting the main business flow, complete with practical code snippets and pitfalls to avoid.

BackendJavaKafka
0 likes · 11 min read
Mastering Spring Transaction Hooks for Safe Kafka Publishing
php Courses
php Courses
Oct 16, 2024 · Backend Development

How to Use PHP rawurldecode() to Decode URL‑Encoded Strings

This article explains the PHP rawurldecode() function, its syntax, and how it decodes URL‑encoded strings, provides a complete code example with expected output, and highlights the differences between rawurldecode() and urldecode() for proper URL handling in web development.

BackendPHPURL decoding
0 likes · 4 min read
How to Use PHP rawurldecode() to Decode URL‑Encoded Strings
JD Cloud Developers
JD Cloud Developers
Oct 16, 2024 · Operations

Concurrency vs RPS: Which Load‑Testing Mode Boosts Service Performance?

This article compares the concurrency (virtual user) mode and the RPS (requests per second) mode of the Forcebot load‑testing platform, showing how each impacts TPS, TP99, and TP999 metrics through a product‑query tag case study, and explains when to apply each mode for optimal service performance.

BackendLoad TestingRPS
0 likes · 8 min read
Concurrency vs RPS: Which Load‑Testing Mode Boosts Service Performance?
php Courses
php Courses
Oct 15, 2024 · Backend Development

Using curl_multi_select() in PHP to Wait for Active cURL Transfers

The article explains how to use PHP’s curl_multi_select() function to wait for active cURL transfers in a multi‑handle scenario, detailing its definition, parameters, behavior, and providing a complete example that demonstrates efficient concurrent HTTP requests handling.

BackendHTTPcURL Multi
0 likes · 4 min read
Using curl_multi_select() in PHP to Wait for Active cURL Transfers
FunTester
FunTester
Oct 15, 2024 · Backend Development

Generate Realistic Test Data in Go with the GoFakeIt Library

This article introduces GoFakeIt, a lightweight Go library for quickly generating diverse fake data—personal, address, financial, network, and more—explains its key features, shows how to install it via go get, and provides practical code examples for each data type.

BackendFake DataGo
0 likes · 13 min read
Generate Realistic Test Data in Go with the GoFakeIt Library
Baidu Geek Talk
Baidu Geek Talk
Oct 14, 2024 · Backend Development

Evolution of Baidu Visual Search Architecture: Stack Upgrade, Full‑Link Refactoring, and Stability Enhancements

Baidu Visual Search upgraded its PHP/HHVM stack to Golang, introduced a Backend‑For‑Frontend layer, refactored presentation and system modules with the GDP framework and ExGraph, and built comprehensive monitoring and self‑healing tools, delivering a modular, scalable, and stable AI‑driven search platform.

ArchitectureBackendSystem Design
0 likes · 13 min read
Evolution of Baidu Visual Search Architecture: Stack Upgrade, Full‑Link Refactoring, and Stability Enhancements
php Courses
php Courses
Oct 14, 2024 · Backend Development

Using PHP chmod() to Set File Permissions

This article explains how to use PHP's chmod() function to change file permissions, describes permission masks, provides the syntax and a practical example that sets a file's mode to 644, and includes the full PHP code snippet.

BackendPHPTutorial
0 likes · 3 min read
Using PHP chmod() to Set File Permissions
FunTester
FunTester
Oct 14, 2024 · Backend Development

Mastering Go Benchmarking: A Practical Guide to Performance Testing

This article introduces Go's benchmarking framework, explains its purpose and best practices, provides step‑by‑step code examples for measuring string concatenation performance, shows how to run benchmarks from the command line, and teaches how to interpret the detailed test reports.

BackendBenchmarkingGo
0 likes · 11 min read
Mastering Go Benchmarking: A Practical Guide to Performance Testing
Architecture Digest
Architecture Digest
Oct 13, 2024 · Backend Development

Improving Spring MVC Controllers: Unified Response Structure, Validation, and Exception Handling

The article explains how to simplify Spring MVC controller code by introducing a unified response wrapper, handling String return types with ResponseBodyAdvice, adjusting HttpMessageConverter order, applying JSR‑303 validation for @RequestParam, @PathVariable and @RequestBody, creating custom validation annotations, and implementing global exception handling for consistent API responses.

BackendControllerExceptionHandling
0 likes · 18 min read
Improving Spring MVC Controllers: Unified Response Structure, Validation, and Exception Handling
Architect's Tech Stack
Architect's Tech Stack
Oct 13, 2024 · Backend Development

Should try‑catch be placed inside or outside a for loop?

This article discusses whether a try‑catch block should be placed inside or outside a Java for‑loop, explains the trade‑offs, and provides code examples illustrating both approaches to help developers write more robust exception‑handling logic.

Backendbest-practicesexception-handling
0 likes · 4 min read
Should try‑catch be placed inside or outside a for loop?
Java Architect Essentials
Java Architect Essentials
Oct 13, 2024 · Backend Development

Patent on a SpringBoot-Based Web System Backend Implementation Method and Device

The Chinese Patent Office announced that Industrial and Commercial Bank of China obtained patent CN112905176B for a SpringBoot-based web system backend implementation method and device, which details a process of receiving operation data, extracting business and object IDs, retrieving configuration, forming conditional expressions, and processing data to reduce development changes and improve system stability.

BackendWebpatent
0 likes · 3 min read
Patent on a SpringBoot-Based Web System Backend Implementation Method and Device
php Courses
php Courses
Oct 12, 2024 · Backend Development

Using PHP ceil() Function to Round Numbers Upward

This article explains PHP's ceil() function, detailing its syntax, behavior for floating‑point and integer values, and provides three practical code examples demonstrating how to effectively round numbers upward in a variety of scenarios.

BackendPHPRounding
0 likes · 4 min read
Using PHP ceil() Function to Round Numbers Upward
php Courses
php Courses
Oct 12, 2024 · Backend Development

Modern Secure Session Management in PHP: Replacing session_register()

This tutorial explains why the legacy PHP function session_register() was deprecated and guides developers through modern, secure session management techniques such as using the $_SESSION superglobal, regenerating session IDs, enforcing expiration, setting secure cookie flags, CSRF tokens, and encrypting session data.

BackendPHPsecurity
0 likes · 8 min read
Modern Secure Session Management in PHP: Replacing session_register()
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Oct 12, 2024 · Backend Development

Understanding Spring Boot Integration with Log4j2 and Logback: Logging Mechanisms, Configuration, and Hot Level Updates

This article provides a comprehensive analysis of how Spring Boot integrates Log4j2 (and Logback), detailing the internal logging architecture, configuration options, initialization flow, logger groups, and how to perform hot updates of logger levels via the LoggersEndpoint or custom APIs.

BackendConfigurationSpring Boot
0 likes · 37 min read
Understanding Spring Boot Integration with Log4j2 and Logback: Logging Mechanisms, Configuration, and Hot Level Updates
Java Architect Essentials
Java Architect Essentials
Oct 11, 2024 · Backend Development

Mastering EasyQuery: A Strongly Typed Java ORM with Real‑World Query Examples

This article explains why the author created the EasyQuery ORM for Java, demonstrates a wide range of query patterns—including single‑record, pagination, joins, subqueries, streaming, custom VO mapping, dynamic conditions, grouping, native SQL, function columns, and high‑performance encryption—while providing complete code snippets and links to documentation and source repositories.

BackendJavaORM
0 likes · 13 min read
Mastering EasyQuery: A Strongly Typed Java ORM with Real‑World Query Examples
Code Mala Tang
Code Mala Tang
Oct 11, 2024 · Backend Development

Mastering Dependency Injection in Node.js: From Manual to Automatic

This article explains the concept of dependency injection, its benefits such as decoupling, easier maintenance, testing and reusability, and demonstrates both manual and automatic implementations in Node.js, including usage of third‑party libraries like InversifyJS.

BackendIOCInversifyJS
0 likes · 10 min read
Mastering Dependency Injection in Node.js: From Manual to Automatic
php Courses
php Courses
Oct 11, 2024 · Backend Development

Using PHP floatval() to Convert Variables to Float

This article explains PHP's built‑in floatval() function, showing its syntax, how it converts various variable types—including integers, strings, booleans, and arrays—to floating‑point numbers, provides multiple code examples, and notes edge cases where conversion fails, offering a concise guide for developers.

BackendPHPfloatval
0 likes · 4 min read
Using PHP floatval() to Convert Variables to Float
php Courses
php Courses
Oct 10, 2024 · Backend Development

Using PHP str_replace Function for String Replacement and Deletion

This article explains the PHP str_replace function, its syntax, and demonstrates how to replace or delete characters in strings through three practical code examples covering simple replacement, multiple replacements, and character removal.

BackendTutorialstr_replace
0 likes · 4 min read
Using PHP str_replace Function for String Replacement and Deletion
php Courses
php Courses
Oct 10, 2024 · Backend Development

Using PHP mysqli_query to Execute MySQL Queries

This article explains how the PHP mysqli_query function can be used to run SELECT, INSERT, UPDATE, and DELETE statements against a MySQL database, provides a complete example with connection handling, error checking, result processing, and highlights related fetching functions.

BackendMySQLiquery
0 likes · 4 min read
Using PHP mysqli_query to Execute MySQL Queries
Python Programming Learning Circle
Python Programming Learning Circle
Oct 9, 2024 · Backend Development

Why Choose Sanic: An Asynchronous Python Web Framework for Production

The article compares traditional Python web frameworks with modern asynchronous alternatives, presents benchmark results showing Sanic’s superior speed, discusses the importance of avoiding blocking I/O, and highlights Sanic’s ecosystem, production readiness, documentation, and community support for developers seeking high‑performance backend solutions.

BackendPythonWeb Framework
0 likes · 10 min read
Why Choose Sanic: An Asynchronous Python Web Framework for Production
php Courses
php Courses
Oct 9, 2024 · Backend Development

Using PHP's is_float() Function to Check for Floating-Point Numbers

This tutorial explains PHP's is_float() function, demonstrates its boolean return behavior with simple and complex code examples, and discusses type‑checking nuances such as strict float detection and automatic conversion of integers and strings.

BackendType Checkingis_float
0 likes · 5 min read
Using PHP's is_float() Function to Check for Floating-Point Numbers
Code Ape Tech Column
Code Ape Tech Column
Oct 7, 2024 · Backend Development

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

This article explains how to implement runtime switching of multiple service providers, such as SMS vendors, in a Spring-based backend using the spring‑smart‑di library, @EnvironmentProxySPI, and @AutowiredProxySPI annotations, with configuration stored in Nacos, databases, or environment variables.

BackendDependency InjectionDynamic Switching
0 likes · 8 min read
Dynamic Service Provider Switching with spring-smart-di and AutowiredProxySPI
Architect's Guide
Architect's Guide
Oct 7, 2024 · Backend Development

RabbitMQ Overview, Installation Guide, and Delayed Message Implementation

This article introduces RabbitMQ, explains its core features and messaging model, discusses why to use it for asynchronous, decoupled, and throttled processing, and provides step‑by‑step installation instructions for macOS, Windows, and CentOS along with Java code examples for configuring and using delayed messages via the rabbitmq_delayed_message_exchange plugin.

BackendDelayed MessageInstallation
0 likes · 11 min read
RabbitMQ Overview, Installation Guide, and Delayed Message Implementation
Su San Talks Tech
Su San Talks Tech
Oct 5, 2024 · Backend Development

Mastering Idempotency: Design Patterns and Code Solutions for Reliable APIs

Idempotency ensures that repeated API calls produce the same result without side effects, and this guide explains its principles, common scenarios like payments and messaging, root causes of idempotency failures, and multiple implementation strategies—including unique constraints, optimistic and pessimistic locks, distributed locks, token mechanisms, state machines, and deduplication tables—with practical code examples.

API DesignBackendOptimistic Lock
0 likes · 14 min read
Mastering Idempotency: Design Patterns and Code Solutions for Reliable APIs
ITPUB
ITPUB
Oct 5, 2024 · Backend Development

How Tencent Docs Seamlessly Switches Between Monolith and Microservices

This article explains how Tencent Docs tackled the high runtime, deployment, and image‑distribution costs of a large microservice fleet by building a flexible architecture that can merge selected services into a few monolith binaries for private deployments, while retaining microservices for public scenarios, and shares the tooling, configuration, challenges, and performance gains achieved.

ArchitectureBackendConfiguration
0 likes · 15 min read
How Tencent Docs Seamlessly Switches Between Monolith and Microservices
Architect
Architect
Oct 4, 2024 · Backend Development

Building a Code Analysis Platform to Boost Microservice Backend Efficiency

This article details how a microservice‑based backend team designed and implemented a code‑analysis platform that creates a knowledge base, enables precise test selection and application slimming, and ultimately accelerates demand iteration while reducing dead code and unnecessary test runs.

BackendDynamic AnalysisMicroservices
0 likes · 18 min read
Building a Code Analysis Platform to Boost Microservice Backend Efficiency
Selected Java Interview Questions
Selected Java Interview Questions
Oct 3, 2024 · Backend Development

Spring Boot Log4j2 Integration and Logger Level Hot Update

This article explains how Spring Boot integrates Log4j2, details the internal logging initialization process, describes logger and LoggerConfig relationships, and demonstrates how to hot‑update logger levels using LoggersEndpoint or custom endpoints without restarting the application.

BackendLogger LevelSpring Boot
0 likes · 33 min read
Spring Boot Log4j2 Integration and Logger Level Hot Update
DaTaobao Tech
DaTaobao Tech
Sep 30, 2024 · Backend Development

KLimiter: Adaptive Rate Limiter for Downstream Resource Protection

KLimiter is an adaptive rate‑limiter that continuously monitors downstream resource water‑levels, computes impact coefficients from historical traffic, and dynamically throttles multiple upstream entries according to their priorities, using gradual reductions, slow‑start and fallback strategies to maintain stability and efficiency beyond static threshold methods.

Backendadaptive algorithmrate limiting
0 likes · 11 min read
KLimiter: Adaptive Rate Limiter for Downstream Resource Protection
php Courses
php Courses
Sep 30, 2024 · Backend Development

How to Use PHP's setcookie Function to Set Cookies

This article explains PHP's setcookie function, detailing its syntax, parameter meanings, and providing several practical code examples for creating cookies with different lifetimes, paths, domains, and security flags, while also noting how to retrieve cookies using the $_COOKIE superglobal.

BackendPHPcookies
0 likes · 4 min read
How to Use PHP's setcookie Function to Set Cookies
php Courses
php Courses
Sep 30, 2024 · Information Security

Using PHP password_hash for Secure Password Hashing

This article explains how to securely hash passwords in PHP using the password_hash function, demonstrates code examples, describes verification with password_verify, and highlights automatic salting and best practices for protecting user credentials.

BackendPHPhashing
0 likes · 4 min read
Using PHP password_hash for Secure Password Hashing
Top Architect
Top Architect
Sep 29, 2024 · Backend Development

Microservice Architecture and Its Key Design Patterns

This article provides a comprehensive overview of microservice architecture, explaining its definition, advantages, disadvantages, when to adopt it, and detailing essential design patterns such as Database per Microservice, Event Sourcing, CQRS, Saga, BFF, API Gateway, Strangler, Circuit Breaker, externalized configuration, and consumer‑driven contract testing.

Backend
0 likes · 24 min read
Microservice Architecture and Its Key Design Patterns
Architecture Digest
Architecture Digest
Sep 29, 2024 · Backend Development

Implementing a Fixed‑Size FIFO Export Queue in a Java Backend with Spring and EasyExcel

This article explains how to design and implement a fixed-size FIFO export queue in a Java backend using Spring components and EasyExcel, covering business requirements, class definitions, code examples, testing results, and considerations for further enhancements such as Redis queues and high‑concurrency scenarios.

BackendEasyExcelExport
0 likes · 12 min read
Implementing a Fixed‑Size FIFO Export Queue in a Java Backend with Spring and EasyExcel
php Courses
php Courses
Sep 29, 2024 · Backend Development

Using PHP’s is_numeric() Function to Check Numeric Values

This article explains PHP’s is_numeric() function, demonstrates how it determines whether variables or form inputs are numeric through detailed examples, and highlights special cases developers should watch for when validating numeric data.

BackendData Validationis_numeric
0 likes · 4 min read
Using PHP’s is_numeric() Function to Check Numeric Values
php Courses
php Courses
Sep 29, 2024 · Backend Development

Generating Heatmaps with Baidu Maps API in PHP

This tutorial explains how to generate and display heatmaps using the Baidu Maps API in PHP, covering preparation, API integration, data preparation, heatmap generation, and front‑end rendering with JavaScript, providing complete code examples for each step.

BackendBaidu Mapsvisualization
0 likes · 5 min read
Generating Heatmaps with Baidu Maps API in PHP
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Sep 29, 2024 · Backend Development

How to Apply a Global URL Prefix to All Spring Boot Controllers

This article explains multiple ways to apply a common URL prefix to all Spring Boot controllers, covering servlet‑context configuration, property settings, annotation‑based approaches, server‑side forwarding, and Nginx reverse‑proxy techniques, with code samples and discussion of their advantages and drawbacks.

BackendNginxannotation
0 likes · 7 min read
How to Apply a Global URL Prefix to All Spring Boot Controllers
Test Development Learning Exchange
Test Development Learning Exchange
Sep 28, 2024 · Backend Development

Building a Python‑MySQL Automated Test Framework with Dependency and Parameterization Support

This guide demonstrates how to build a Python‑based automated testing framework that reads test cases from a MySQL database, sends HTTP requests, manages case dependencies and parameterization, and records responses, providing a modular structure with database, executor, and main components.

Backendautomated testingdependency handling
0 likes · 6 min read
Building a Python‑MySQL Automated Test Framework with Dependency and Parameterization Support
Top Architect
Top Architect
Sep 27, 2024 · Backend Development

Comprehensive Guide to Nginx Configuration, Optimization, and Deployment

This article provides a step‑by‑step tutorial on understanding, simplifying, annotating, and optimizing Nginx configuration files, covering global, events, and http blocks, practical deployment tips, reverse‑proxy setup, gzip compression, maintenance pages, multi‑site hosting, static‑dynamic separation, and essential command‑line operations for Linux servers.

BackendGZIPNginx
0 likes · 20 min read
Comprehensive Guide to Nginx Configuration, Optimization, and Deployment
php Courses
php Courses
Sep 27, 2024 · Backend Development

Developing Real-Time Monitoring Applications with PHP and WebSocket

This article explains how to build real-time monitoring applications using PHP and the WebSocket protocol, covering the fundamentals of WebSocket, setting up a Ratchet server, creating client-side JavaScript connections, and providing complete code examples such as a stock price monitor.

Backendmonitoringreal-time
0 likes · 7 min read
Developing Real-Time Monitoring Applications with PHP and WebSocket
php Courses
php Courses
Sep 27, 2024 · Backend Development

Implementing User Registration and Data Storage with PHP Functions

This tutorial explains how to implement user registration and data storage in web applications using PHP functions, covering input validation, password hashing, MySQL connection, SQL insertion, and providing complete code examples for both registering users and storing generic data.

BackendData Storageuser registration
0 likes · 4 min read
Implementing User Registration and Data Storage with PHP Functions
php Courses
php Courses
Sep 27, 2024 · Backend Development

Using mysqli_fetch_assoc to Retrieve Rows as Associative Arrays in PHP

This article explains how to connect to a MySQL database in PHP, execute a SELECT query, and use the mysqli_fetch_assoc function to fetch rows as associative arrays, including sample code and notes on handling multiple rows and error checking.

BackendMySQLiassociative array
0 likes · 4 min read
Using mysqli_fetch_assoc to Retrieve Rows as Associative Arrays in PHP
php Courses
php Courses
Sep 26, 2024 · Backend Development

Using PHP’s array_values() Function to Reindex and Convert Arrays

This article explains PHP's array_values() function, demonstrating how it returns a new array with reindexed numeric keys for both indexed and associative arrays, and highlights that the returned array is a copy, not a reference, with practical code examples.

BackendData Structuresarray
0 likes · 4 min read
Using PHP’s array_values() Function to Reindex and Convert Arrays
php Courses
php Courses
Sep 26, 2024 · Backend Development

How to Adjust Image Saturation in PHP Using Imagick

This tutorial explains how to install the Imagick extension in PHP and use its setImageAttribute() and setImageProperty() methods to modify an image's saturation, providing clear code examples and a summary of the process.

BackendTutorialimage-processing
0 likes · 4 min read
How to Adjust Image Saturation in PHP Using Imagick
php Courses
php Courses
Sep 26, 2024 · Backend Development

Using array_map() and array_filter() for Efficient PHP Array Operations

This tutorial explains how PHP's built‑in functions array_map() and array_filter() provide a declarative, readable, and often more performant alternative to traditional foreach loops for transforming and filtering arrays, with step‑by‑step examples ranging from basic usage to advanced combinations.

BackendPHParray_filter
0 likes · 10 min read
Using array_map() and array_filter() for Efficient PHP Array Operations
php Courses
php Courses
Sep 25, 2024 · Backend Development

Using PHP floatval() 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, multiple code examples, and notes on conversion edge cases.

Backendfloatvalphp8
0 likes · 4 min read
Using PHP floatval() to Convert Variables to Float
php Courses
php Courses
Sep 25, 2024 · Backend Development

Using curl_close() to Properly Close cURL Sessions in PHP

This article explains the purpose and syntax of the PHP curl_close() function, demonstrates how to use it with curl_init() and curl_setopt() in a complete example, and highlights the resource, performance, and memory benefits of closing cURL sessions promptly.

BackendHTTPcurl
0 likes · 3 min read
Using curl_close() to Properly Close cURL Sessions in PHP