Tagged articles
5000 articles
Page 18 of 50
php Courses
php Courses
Jun 18, 2024 · Backend Development

Using PHP getcwd() to Retrieve the Current Working Directory

This article explains how the PHP getcwd() function retrieves the absolute path of the current working directory, demonstrates usage with example code, discusses changing directories with chdir(), and highlights important considerations such as false returns and server‑side path differences.

BackendFilesystemPHP
0 likes · 4 min read
Using PHP getcwd() to Retrieve the Current Working Directory
MaGe Linux Operations
MaGe Linux Operations
Jun 17, 2024 · Backend Development

10 Common Go Pitfalls Every PHP Developer Should Avoid

This article shares ten frequent mistakes PHP developers encounter when switching to Go, covering function syntax, map initialization, JSON marshaling, loop variable handling, array vs slice semantics, and variable declaration nuances, each with problem description and corrected code examples.

BackendPHPPitfalls
0 likes · 7 min read
10 Common Go Pitfalls Every PHP Developer Should Avoid
DaTaobao Tech
DaTaobao Tech
Jun 17, 2024 · Backend Development

Cache Consistency Issues and Solutions in a High‑Concurrency Push System

The article examines a cache‑consistency failure in Tmall International’s high‑concurrency push system, explains classic cache problems and mitigation techniques, analyzes the delete‑then‑update bug that caused null‑plan errors, and evaluates four corrective strategies ranging from double‑write to delayed double‑delete.

BackendCacheConsistency
0 likes · 13 min read
Cache Consistency Issues and Solutions in a High‑Concurrency Push System
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 17, 2024 · Backend Development

20 Essential Spring Boot Best Practices to Boost Your Java Backend

This article presents a comprehensive collection of Spring Boot best practices—including package structuring, design patterns, starter usage, dependency management, constructor injection, SLF4J logging, pagination, caching, exception handling, naming conventions, and code quality tools—to help developers build more efficient, maintainable, and robust Java backend applications.

BackendDesign Patternsjava
0 likes · 10 min read
20 Essential Spring Boot Best Practices to Boost Your Java Backend
php Courses
php Courses
Jun 17, 2024 · Backend Development

Using PHP's array_reverse() Function to Reverse Arrays

This article explains the PHP array_reverse() function, its syntax, optional preserve_keys parameter, and provides multiple code examples demonstrating how to reverse indexed and associative arrays and combine the function with sort() for more complex array manipulations.

ArraysBackendCode Examples
0 likes · 3 min read
Using PHP's array_reverse() Function to Reverse Arrays
Lobster Programming
Lobster Programming
Jun 15, 2024 · Backend Development

Choosing the Right Distributed ID Generation Strategy for Scalable Systems

This guide examines ten popular distributed ID generation techniques—from simple UUIDs and database auto‑increment keys to advanced Snowflake, Redis, Zookeeper, and open‑source solutions like Baidu uid‑generator, Meituan Leaf, and Didi Tinyid—highlighting their pros, cons, and suitable scenarios for high‑traffic systems.

Backenddistributed-idsnowflake
0 likes · 8 min read
Choosing the Right Distributed ID Generation Strategy for Scalable Systems
php Courses
php Courses
Jun 14, 2024 · Backend Development

Using PHP basename() Function to Extract File Names from Paths

This article explains the PHP basename() function, its syntax, parameters, and demonstrates its usage through multiple examples showing how to extract file names from absolute and relative paths and optionally remove suffixes.

BackendFile PathPHP
0 likes · 4 min read
Using PHP basename() Function to Extract File Names from Paths
Go Programming World
Go Programming World
Jun 13, 2024 · Backend Development

Using Wire for Dependency Injection in Go Web Applications: A Practical Guide

This article demonstrates how to apply Google’s Wire tool in a production‑grade Go web service, covering project layout, a four‑layer architecture, code generation for constructors, comparisons with dig and inject, and practical CLI usage to streamline dependency injection and improve development efficiency.

BackendGoWeb Development
0 likes · 23 min read
Using Wire for Dependency Injection in Go Web Applications: A Practical Guide
Top Architect
Top Architect
Jun 13, 2024 · Backend Development

FastJSON Serialization Mechanics: Why isChinaName() Executes and How to Control Serialized Output

This article analyzes a FastJSON serialization issue where a newly added log line triggered unexpected method calls, explains the underlying ASM‑generated serializer and JavaBeanSerializer logic, demonstrates code examples, outlines common pitfalls such as @JSONField annotations and getter patterns, and proposes best‑practice conventions for reliable backend serialization.

ASMBackendJSONField
0 likes · 9 min read
FastJSON Serialization Mechanics: Why isChinaName() Executes and How to Control Serialized Output
php Courses
php Courses
Jun 13, 2024 · Backend Development

Using PHP rewind() Function to Reset the File Pointer

This article explains PHP's rewind() function, detailing its syntax, parameters, return values, and providing two practical code examples that demonstrate resetting a file pointer for both reading and writing operations within a.

BackendPHPfile-handling
0 likes · 4 min read
Using PHP rewind() Function to Reset the File Pointer
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jun 13, 2024 · Backend Development

Comprehensive Guide to Parameter Validation in Spring Boot Backend Development

This article explains why parameter validation is essential in Java web development, compares traditional manual checks with validator libraries, demonstrates practical usage of Bean Validation, Hibernate‑Validator, and Spring Boot starter‑validation, and covers advanced topics such as nested validation, group validation, custom constraints, and the underlying validation mechanism.

BackendCustom AnnotationHibernate Validator
0 likes · 32 min read
Comprehensive Guide to Parameter Validation in Spring Boot Backend Development
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 13, 2024 · Backend Development

Master SpringBoot 3.2.5: 9 Essential Techniques to Access Request Data

This tutorial demonstrates nine practical ways to handle SpringBoot 3.2.5 request data, including Optional‑wrapped parameters, direct Servlet API access, retrieving the authenticated Principal, extracting method and locale, reading InputStream, using HttpEntity for headers and body, building request URIs, handling multipart parts, and passing flash attributes on redirects.

Backendjavamultipart
0 likes · 7 min read
Master SpringBoot 3.2.5: 9 Essential Techniques to Access Request Data
DevOps
DevOps
Jun 12, 2024 · Backend Development

Analysis and Implementation of Various WeChat Red Packet Distribution Algorithms in PHP

This article examines four common WeChat red packet distribution algorithms—simple random, double‑mean, line‑segment division, and array_rand optimization—explaining their principles, PHP implementations, performance characteristics, and how to verify randomness, providing code samples and comparative analysis for developers.

BackendPHPalgorithm
0 likes · 13 min read
Analysis and Implementation of Various WeChat Red Packet Distribution Algorithms in PHP
Top Architect
Top Architect
Jun 12, 2024 · Backend Development

Payment Business Architecture: Process Decomposition, Sequence Design, and Structural Design

The article explains how to analyze, decompose, and design a complex payment workflow by breaking it into modules, defining pre‑payment, payment‑gateway, and post‑payment sequences, and outlining the essential data structures such as account management, transaction records, and order handling, while also highlighting practical implementation considerations.

BackendProcess Designarchitecture
0 likes · 10 min read
Payment Business Architecture: Process Decomposition, Sequence Design, and Structural Design
php Courses
php Courses
Jun 12, 2024 · Backend Development

Using PHP ftell() to Retrieve the Current File Pointer Position

This article explains the PHP ftell() function, detailing its purpose, parameters, return values, and providing a complete code example that reads the first ten bytes of a file, displays the content, and shows how to obtain and output the file pointer's byte offset.

BackendCode ExamplePHP
0 likes · 4 min read
Using PHP ftell() to Retrieve the Current File Pointer Position
php Courses
php Courses
Jun 12, 2024 · Backend Development

Using PHP json_decode to Convert JSON Strings to PHP Variables

This article explains how PHP's json_decode function can transform JSON-formatted strings into PHP objects or associative arrays, demonstrates usage with code examples, and shows the resulting output for both object and array conversions.

BackendData ConversionJSON
0 likes · 4 min read
Using PHP json_decode to Convert JSON Strings to PHP Variables
Java Architect Essentials
Java Architect Essentials
Jun 11, 2024 · Backend Development

Why Consistent API Responses Matter: A Java Controller & AOP Guide

The article explains common pitfalls in Java API design—such as inconsistent return formats, missing error handling, irrelevant parameters, and improper use of maps or JSON strings—and demonstrates how adopting a unified ResultBean structure together with AOP can improve readability, error management, and testability of backend services.

BackendControllerResultBean
0 likes · 10 min read
Why Consistent API Responses Matter: A Java Controller & AOP Guide
Top Architect
Top Architect
Jun 11, 2024 · Backend Development

Designing an API Layer and BFF Architecture for a Large-Scale Supply Chain System

The article examines a large-scale supply‑chain system’s architecture, highlighting issues with service placement and dependencies, proposing an intermediate API layer for aggregation, distributed calls, and decoration, and ultimately recommending a Backend‑for‑Frontend approach to tailor APIs per client while reducing coupling.

BFFBackendarchitecture
0 likes · 13 min read
Designing an API Layer and BFF Architecture for a Large-Scale Supply Chain System
Architecture Digest
Architecture Digest
Jun 11, 2024 · Databases

Multi‑Branch Product Sales Statistics Query Using Row Comparison in MySQL

This article explains how to design a MySQL table for product sales statistics, initialize massive test data, and compare several query strategies—including loop queries, OR‑concatenated dynamic SQL, mixed filtering, and the SQL‑92 row‑comparison technique—to efficiently retrieve sales figures for multiple business units and their products without violating development constraints.

BackendDynamic SQLRow Comparison
0 likes · 7 min read
Multi‑Branch Product Sales Statistics Query Using Row Comparison in MySQL
Java Tech Enthusiast
Java Tech Enthusiast
Jun 11, 2024 · Backend Development

Hot‑Pluggable AOP: Dynamic Advice Management in Spring

The article shows how to implement a hot‑plug AOP system in Spring that lets users enable or disable logging at runtime by scanning, registering, and deregistering Advice/Advisor/Pointcut beans through the bean factory, demonstrated with a REST endpoint that adds or removes a logging interceptor.

BackendDynamic Pluginadvice management
0 likes · 9 min read
Hot‑Pluggable AOP: Dynamic Advice Management in Spring
php Courses
php Courses
Jun 11, 2024 · Backend Development

Using curl_exec() in PHP to Retrieve Web Content

This article explains how the PHP cURL library, especially the curl_exec() function, can be used to initialize a session, set options, execute HTTP requests, handle errors, and retrieve remote page content efficiently.

BackendHTTP requestWeb Scraping
0 likes · 4 min read
Using curl_exec() in PHP to Retrieve Web Content
Java Backend Technology
Java Backend Technology
Jun 10, 2024 · Fundamentals

Unlock Java 17: 10 Must‑Know Language Features That Boost Your Code

This article walks Java developers through the most useful JDK 17 enhancements—including text blocks, improved NullPointerException messages, records, the new switch expression, private interface methods, pattern matching, collection factory methods, enriched String APIs, Stream API upgrades, the modern HttpClient, JShell, direct file execution, and ZGC—showing code examples and practical benefits.

Backendjdk17new-features
0 likes · 14 min read
Unlock Java 17: 10 Must‑Know Language Features That Boost Your Code
Top Architect
Top Architect
Jun 10, 2024 · Operations

Comprehensive Guide to the Workflow System: Frameworks, Features, and Process Design

This guide details the workflow system’s underlying frameworks, functional modules, process design operations, form customization, deployment procedures, and task management features, providing a comprehensive overview for developers and administrators to effectively implement and maintain business processes.

BackendProcess Designfrontend
0 likes · 10 min read
Comprehensive Guide to the Workflow System: Frameworks, Features, and Process Design
Cognitive Technology Team
Cognitive Technology Team
Jun 10, 2024 · Backend Development

Recursive Update Bug in ConcurrentHashMap.computeIfAbsent Causing Infinite Loop and CPU Spike

The article explains a bug in Java's ConcurrentHashMap.computeIfAbsent that can cause recursive updates and infinite loops, leading to CPU spikes, and shows that newer Java versions throw an IllegalStateException while recommending avoiding nested computeIfAbsent/putIfAbsent calls, with a code example.

BackendConcurrentHashMapbug
0 likes · 3 min read
Recursive Update Bug in ConcurrentHashMap.computeIfAbsent Causing Infinite Loop and CPU Spike
Test Development Learning Exchange
Test Development Learning Exchange
Jun 6, 2024 · Backend Development

Applying Python Metaclasses for Dynamic API Enhancements

This article demonstrates how Python metaclasses can be leveraged to automatically add authentication headers, manage configuration, log requests, handle exceptions, generate test cases, switch environments, validate parameters, control API versioning, register response validators, and inject dependencies, streamlining backend development.

APIBackendDesign Patterns
0 likes · 10 min read
Applying Python Metaclasses for Dynamic API Enhancements
Architect
Architect
Jun 6, 2024 · Backend Development

Why Fast‑Retry Beats Spring‑Retry for Million‑Task Scenarios

The article explains how Fast‑Retry, an asynchronous multi‑task retry framework, dramatically outperforms synchronous retry libraries like Spring‑Retry and Guava‑Retry when handling massive workloads, and provides step‑by‑step code examples, performance benchmarks, and integration tips for Java developers.

AsynchronousBackendRetry
0 likes · 8 min read
Why Fast‑Retry Beats Spring‑Retry for Million‑Task Scenarios
php Courses
php Courses
Jun 6, 2024 · Backend Development

Using PHP urlencode to Encode URLs with Special and Non-ASCII Characters

This article explains the importance of URL encoding for transmitting special and non-ASCII characters, demonstrates how to use PHP’s urlencode (and rawurlencode) function with example code for English and Chinese strings, and discusses practical considerations such as handling spaces in GET requests.

Backendurl-encodingweb-development
0 likes · 3 min read
Using PHP urlencode to Encode URLs with Special and Non-ASCII Characters
Tencent Cloud Developer
Tencent Cloud Developer
Jun 6, 2024 · Backend Development

Tencent News Recommendation Architecture Upgrade

Tencent News upgraded its recommendation architecture by consolidating data platforms, redesigning index and feature services, adopting DDD and Lambda/Kappa patterns, and adding robust debugging and stability measures, which boosted availability to 99.99%, cut CPU, memory and cost by over 60%, and accelerated development and experiment cycles.

BackendDDDTencent News
0 likes · 28 min read
Tencent News Recommendation Architecture Upgrade
php Courses
php Courses
Jun 5, 2024 · Backend Development

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

This article explains PHP’s built‑in is_float() function, demonstrating how it checks whether a variable is a floating‑point number, with simple and complex code examples, output explanations, and notes on type strictness and practical usage scenarios.

BackendPHPfunctions
0 likes · 5 min read
Using PHP’s is_float() Function to Check for Floating-Point Numbers
Top Architect
Top Architect
Jun 3, 2024 · Backend Development

Understanding Delay Queues and Implementing Them with JDK, RabbitMQ, Redis, and lmstfy

This article explains the concept, use cases, and common implementations of delay queues—including JDK's DelayQueue, RabbitMQ plugins, and Redis ZSet—followed by a detailed guide to installing, configuring, and using the open‑source lmstfy project, and concludes with promotional information for ChatGPT‑related services.

BackendGoMessage Queue
0 likes · 14 min read
Understanding Delay Queues and Implementing Them with JDK, RabbitMQ, Redis, and lmstfy
Architecture Digest
Architecture Digest
Jun 3, 2024 · Backend Development

Spring Statemachine for Order State Management with Persistence, Exception Handling, and AOP Logging

This article explains the fundamentals of finite state machines, introduces Spring Statemachine, demonstrates how to model order lifecycle states, configure persistence with memory and Redis, handle exceptions during state transitions, and use AOP to log transition results, providing complete Java code examples.

BackendPersistenceaop
0 likes · 23 min read
Spring Statemachine for Order State Management with Persistence, Exception Handling, and AOP Logging
php Courses
php Courses
Jun 3, 2024 · Backend Development

Using fopen() in PHP: Syntax, Parameters, and Practical Examples

This article explains PHP's fopen() function, detailing its syntax, parameters, and four practical code examples for reading, writing, appending, and accessing URLs, while emphasizing proper mode selection and the importance of closing file handles to release resources.

BackendCode ExamplesPHP
0 likes · 3 min read
Using fopen() in PHP: Syntax, Parameters, and Practical Examples
FunTester
FunTester
Jun 3, 2024 · Backend Development

Implementing Unix Domain Socket Communication in Java with junixsocket

This article demonstrates how to use the junixsocket library to add Unix domain socket support to Java applications, providing Maven dependency details, full server and client code examples, and cross‑language testing with a Go server implementation.

BackendIPCNetwork programming
0 likes · 6 min read
Implementing Unix Domain Socket Communication in Java with junixsocket
Selected Java Interview Questions
Selected Java Interview Questions
Jun 2, 2024 · Backend Development

Implementing a Data Permission Interceptor with MyBatis‑Plus in Java

This article explains how to create a custom annotation and MyBatis‑Plus interceptor that automatically injects data‑permission WHERE clauses based on the current user's role, covering both a basic implementation and an advanced version with role‑based scope handling, complete with configuration and usage examples.

BackendData Permissionannotation
0 likes · 16 min read
Implementing a Data Permission Interceptor with MyBatis‑Plus in Java
Tech Architecture Stories
Tech Architecture Stories
Jun 1, 2024 · Backend Development

Surviving a Pandemic-Scale Backend: Lessons from Tencent’s 2020 Video Red‑Packet Project

This article recounts the technical and organizational challenges of building Tencent WeSee's 2020 Spring video red‑packet system, detailing high‑traffic spikes, consistency and security demands, TRPC adoption risks, performance bottlenecks, and the 33 robustness principles that guided the subsequent architecture overhaul.

BackendScalabilitySystem Architecture
0 likes · 8 min read
Surviving a Pandemic-Scale Backend: Lessons from Tencent’s 2020 Video Red‑Packet Project
21CTO
21CTO
May 31, 2024 · Backend Development

When Outsourcing Becomes a Nightmare: A Backend Developer’s Survival Story

A senior developer recounts how a Fortune‑500 project's ill‑planned outsourcing to a vendor using a massive MongoDB JSON store led to performance bottlenecks, hidden limits, and a frantic internal rewrite that forced the team to work through holidays and ultimately deliver a successful release.

BackendMongoDBProject Management
0 likes · 12 min read
When Outsourcing Becomes a Nightmare: A Backend Developer’s Survival Story
Selected Java Interview Questions
Selected Java Interview Questions
May 31, 2024 · Backend Development

Flexible Switching Between Spring @Scheduled and XXL‑JOB for Scheduled Tasks

This article explains how to implement a configuration‑driven mechanism that dynamically switches between Spring's native @Scheduled tasks and XXL‑JOB execution, automatically registers jobs, disables Spring's scheduler when needed, and forwards logs to the XXL‑JOB console, providing a complete starter solution for backend developers.

BackendScheduledTasksSpringBoot
0 likes · 25 min read
Flexible Switching Between Spring @Scheduled and XXL‑JOB for Scheduled Tasks
php Courses
php Courses
May 30, 2024 · Backend Development

Using PHP's floatval Function 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, and highlights important considerations such as handling non‑numeric strings that result in a zero value.

BackendPHPfloatval
0 likes · 4 min read
Using PHP's floatval Function to Convert Variables to Float
Go Programming World
Go Programming World
May 30, 2024 · Backend Development

Standardizing RESTful API Error Handling with Business Error Codes and an Error Package in Go

This article explains how to design a unified business error‑code system for RESTful APIs, demonstrates the structure and format of such codes, provides a Go implementation with structs, interfaces and formatting methods, and shows practical usage in a Gin web server including logging and notification strategies.

BackendError CodesError Handling
0 likes · 22 min read
Standardizing RESTful API Error Handling with Business Error Codes and an Error Package in Go
Code Ape Tech Column
Code Ape Tech Column
May 30, 2024 · Backend Development

Dynamic Loading of JAR Files in Spring Boot Applications

This article explains the concepts and step-by-step implementation of dynamically loading JAR packages in Spring Boot applications, covering built‑in classloader usage, creating JARs, and leveraging third‑party libraries to enhance flexibility and extensibility.

BackendDynamic LoadingJAR
0 likes · 9 min read
Dynamic Loading of JAR Files in Spring Boot Applications
Java Architect Essentials
Java Architect Essentials
May 29, 2024 · Backend Development

Deploying Redis Sentinel with Portainer and Integrating It into Spring Boot

This tutorial walks through installing Portainer, using it to deploy a Redis master‑slave‑sentinel cluster with Docker Compose, creating a custom bridge network, testing failover, and finally integrating the sentinel setup into a Spring Boot application with Lettuce connection pooling and sample controller code.

BackendDockerDocker Compose
0 likes · 15 min read
Deploying Redis Sentinel with Portainer and Integrating It into Spring Boot
php Courses
php Courses
May 29, 2024 · Backend Development

Using PHP file_exists Function to Check File Existence

This article introduces PHP's file_exists function, explains its boolean return value, shows how to check both local and remote files with code examples, and highlights important considerations such as correct paths, permissions, and potential HTTP overhead.

BackendPHPTutorial
0 likes · 4 min read
Using PHP file_exists Function to Check File Existence
Java Backend Technology
Java Backend Technology
May 29, 2024 · Backend Development

Why NullPointerExceptions Still Haunt Java Developers—and How to Defeat Them

Java developers constantly battle NullPointerExceptions, a historic flaw introduced by Tony Hoare, but modern JDKs provide clearer messages and defensive techniques—such as explicit null checks, utility methods, avoiding null returns, and using Optional—can dramatically reduce these runtime errors.

BackendError Handlingdefensive programming
0 likes · 6 min read
Why NullPointerExceptions Still Haunt Java Developers—and How to Defeat Them
php Courses
php Courses
May 28, 2024 · Backend Development

Using PHP’s array_flip() Function to Swap Keys and Values

This article explains PHP's array_flip() function, showing its syntax, behavior with duplicate values, and practical examples that demonstrate how to exchange array keys and values for tasks such as reverse lookups and data manipulation.

ArrayBackendarray_flip
0 likes · 5 min read
Using PHP’s array_flip() Function to Swap Keys and Values
php Courses
php Courses
May 28, 2024 · Backend Development

Fast Multiplication of Large Integers Using PHP GMP Library

This article explains how to use PHP's GMP extension to perform fast multiplication of large integers by applying a divide‑and‑conquer algorithm, reducing the complexity from quadratic to near‑linear, and provides a complete PHP implementation with example code.

BackendGMPPHP
0 likes · 4 min read
Fast Multiplication of Large Integers Using PHP GMP Library
php Courses
php Courses
May 28, 2024 · Backend Development

Using PHP’s array_pop Function to Remove the Last Element from an Array

This article explains how PHP’s built‑in array_pop function removes and returns the last element of an array, demonstrates its syntax, provides a complete code example that pops a fruit from a list, and shows the resulting output and remaining array contents.

BackendPHPTutorial
0 likes · 3 min read
Using PHP’s array_pop Function to Remove the Last Element from an Array
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 28, 2024 · Backend Development

Master Multi‑Tenant Architecture in Spring Boot 3.3: Schemas, Separate DBs

This article explains three common multi‑tenant implementation strategies—separate databases, separate schemas, and partitioned (discriminator) data—detailing their advantages, drawbacks, and practical Spring Boot 3.3 code examples for entity definition, tenant‑ID resolution, data source routing, and request interception to achieve secure, scalable SaaS applications.

BackendMultitenancyjava
0 likes · 11 min read
Master Multi‑Tenant Architecture in Spring Boot 3.3: Schemas, Separate DBs
Ops Development & AI Practice
Ops Development & AI Practice
May 27, 2024 · Backend Development

Decoupling Gin Handlers with Dependency Injection in Go

This article explains how to apply Dependency Injection in the Go Gin framework to separate routing logic from business services, reducing code coupling, improving testability, and enhancing reusability through concrete interface definitions, a simple DI container, and practical code examples.

BackendDesign PatternsGin
0 likes · 6 min read
Decoupling Gin Handlers with Dependency Injection in Go
Lobster Programming
Lobster Programming
May 27, 2024 · Backend Development

Mastering Rate Limiting: 5 Algorithms to Prevent Service Avalanches

This article explains why rate limiting is essential in high‑traffic microservice architectures, illustrates the avalanche effect, and introduces five practical algorithms—including counter, sliding window, leaky bucket, token bucket, and Redis‑based implementations—complete with code examples and usage scenarios.

Backendrate limitingtraffic control
0 likes · 7 min read
Mastering Rate Limiting: 5 Algorithms to Prevent Service Avalanches
Architecture Digest
Architecture Digest
May 27, 2024 · Backend Development

Upgrading to JDK 17 with ZGC: Performance Comparison and Migration Guide

This article explains why upgrading to JDK 17 and switching to the low‑latency ZGC garbage collector can dramatically reduce pause times and improve throughput, compares GC and CPU metrics against G1, and provides step‑by‑step installation and JVM tuning instructions with code examples.

BackendGarbage CollectionJVM
0 likes · 6 min read
Upgrading to JDK 17 with ZGC: Performance Comparison and Migration Guide
dbaplus Community
dbaplus Community
May 27, 2024 · Backend Development

How to Optimize Java Logging for Maximum Performance

This article explains why Java logging can become a performance bottleneck, identifies common misuse patterns, and provides practical steps—such as dynamic log levels, avoiding string concatenation, selective location info, and cautious async logging—to dramatically improve throughput and latency.

AsyncBackendjava
0 likes · 6 min read
How to Optimize Java Logging for Maximum Performance
Cognitive Technology Team
Cognitive Technology Team
May 27, 2024 · Backend Development

AREX: An Open‑Source Traffic Recording and Replay Platform for Enterprise‑Scale Testing

AREX is an open‑source traffic recording and replay platform created by Ctrip that enables comprehensive testing—from performance and regression to rapid issue fixing—by capturing real traffic across complex micro‑service environments, addressing challenges such as async context, non‑idempotent calls, authentication, time‑sensitivity, and cache consistency, and offering easy CI/CD integration and large‑scale deployment.

BackendJava Agentci/cd
0 likes · 14 min read
AREX: An Open‑Source Traffic Recording and Replay Platform for Enterprise‑Scale Testing
Top Architect
Top Architect
May 24, 2024 · Fundamentals

Guidelines for Front‑Back End Separation and API Specification

The article explains why front‑back end separation is needed, outlines common collaboration patterns, presents a staged migration from MVC to SPA, and provides detailed API request/response standards, interface versioning, and practical steps for implementing clean separation in modern web projects.

APIBackendarchitecture
0 likes · 12 min read
Guidelines for Front‑Back End Separation and API Specification
php Courses
php Courses
May 24, 2024 · Backend Development

Using PHP intval() to Convert Variables to Integers

This article explains how PHP's built‑in intval() function converts different variable types—including strings, floating‑point numbers, and values in other bases—into integers, illustrating usage with code examples and noting that failed conversions return zero.

BackendPHPbase conversion
0 likes · 4 min read
Using PHP intval() to Convert Variables to Integers
php Courses
php Courses
May 23, 2024 · Backend Development

Using curl_setopt_array() to Batch‑Set cURL Options in PHP

This article explains how to use PHP's curl_setopt_array() function to batch‑set cURL options, improving code readability and maintainability, and provides a complete example with code demonstrating initialization, option configuration, request execution, and response handling.

BackendcURLcurl_setopt_array
0 likes · 4 min read
Using curl_setopt_array() to Batch‑Set cURL Options in PHP
Top Architect
Top Architect
May 22, 2024 · Backend Development

Understanding Service Gateways: Definition, Benefits, and Technical Stack

This article explains what a service gateway is, why it is essential for microservice architectures, outlines its core functions such as routing, filtering, authentication, monitoring, and presents a practical Java‑based technical stack including Spring Boot, Zuul, Consul, JWT, Prometheus, ELK and JMeter.

BackendConsulapi-gateway
0 likes · 10 min read
Understanding Service Gateways: Definition, Benefits, and Technical Stack
Architect
Architect
May 22, 2024 · Backend Development

Replacing Tomcat with Undertow in Spring Boot: Performance and Memory Benefits

This article explains how to replace the default embedded Tomcat container in Spring Boot with Undertow, outlines the configuration steps, compares their performance and memory usage through benchmark results, and concludes that Undertow offers superior throughput for high‑concurrency Java web applications.

BackendTomcatjava
0 likes · 5 min read
Replacing Tomcat with Undertow in Spring Boot: Performance and Memory Benefits
php Courses
php Courses
May 22, 2024 · Backend Development

Using PHP floatval() to Convert Variables to Float

This article explains PHP's built-in floatval() function, its syntax, and provides multiple code examples showing how to convert integers, strings, booleans, and arrays to floating-point numbers, while also noting its behavior when conversion is not possible.

BackendPHPfloatval
0 likes · 4 min read
Using PHP floatval() to Convert Variables to Float
Architect's Guide
Architect's Guide
May 22, 2024 · Backend Development

Design and Implementation of a Spring Boot Starter for Request/Response Encryption and Decryption

This article explains how to build a reusable Spring Boot starter that automatically encrypts outgoing responses and decrypts incoming requests using hutool‑crypto, custom request wrappers, validation utilities, and Spring Boot advice components, providing a secure, zero‑boilerplate solution for Java backend services.

BackendRequestBodyAdviceSpring Boot
0 likes · 21 min read
Design and Implementation of a Spring Boot Starter for Request/Response Encryption and Decryption
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 22, 2024 · Backend Development

How to Validate SpringBoot Configuration at Startup to Prevent Runtime Errors

This guide explains why validating configuration properties in SpringBoot 2.7 is essential, outlines the benefits such as increased robustness and faster debugging, and provides a step‑by‑step example with code snippets showing how to use @ConfigurationProperties, @Validated, and BeanPostProcessor for automatic validation at application startup.

BackendConfiguration Validationjava
0 likes · 7 min read
How to Validate SpringBoot Configuration at Startup to Prevent Runtime Errors
Java Architect Essentials
Java Architect Essentials
May 20, 2024 · Backend Development

Standardizing Spring Boot Controller Layer: Parameter Reception, Unified Status Codes, Validation, Response Wrapping, and Exception Handling

This article provides a comprehensive guide to standardizing the Spring Boot controller layer by explaining how to receive parameters, define unified status codes, apply validation annotations, wrap responses consistently, and handle exceptions globally, all illustrated with practical Java code examples.

BackendControllerException Handling
0 likes · 19 min read
Standardizing Spring Boot Controller Layer: Parameter Reception, Unified Status Codes, Validation, Response Wrapping, and Exception Handling
DaTaobao Tech
DaTaobao Tech
May 20, 2024 · Backend Development

Reflections on 2023: A Backend Engineer's Journey Through DDD, Business Architecture, and Judgment Models

Reflecting on his 2023 technical writings, the author—prompted by the TV series 'Reply 1988'—structures his insights into chapters covering Domain‑Driven Design lessons illustrated by a Forrest Gump metaphor, business‑architecture note‑taking, judgment models drawn from everyday driving, and personal projects like the VSEF framework and the “曲径通幽” series, emphasizing curiosity, knowledge sharing, and continual growth.

2023BackendDDD
0 likes · 11 min read
Reflections on 2023: A Backend Engineer's Journey Through DDD, Business Architecture, and Judgment Models
IT Services Circle
IT Services Circle
May 20, 2024 · Backend Development

Why Redis Can Become a Performance Bottleneck and How to Avoid It

The article explains several common reasons why Redis may degrade performance—such as network latency, misuse of high‑complexity commands, the KEYS command, clustered key expirations, and big‑key operations—and provides practical mitigation techniques like batch commands, TTL randomization, and lazy deletion.

Backendkey managementredis
0 likes · 8 min read
Why Redis Can Become a Performance Bottleneck and How to Avoid It
Code Ape Tech Column
Code Ape Tech Column
May 20, 2024 · Backend Development

Request Collapsing Techniques: Hystrix Collapser, Custom BatchCollapser, and ConcurrentHashMultiset

This article introduces three request‑collapsing techniques—Hystrix Collapser, a custom BatchCollapser implementation, and Guava's ConcurrentHashMultiset—explaining their design, configuration, code examples, and suitable scenarios for reducing downstream load and improving system throughput.

BackendBatchCollapserConcurrentHashMultiset
0 likes · 16 min read
Request Collapsing Techniques: Hystrix Collapser, Custom BatchCollapser, and ConcurrentHashMultiset
Cognitive Technology Team
Cognitive Technology Team
May 19, 2024 · Backend Development

Achieving Efficient Data Transfer with Zero‑Copy Techniques

This article explains how zero‑copy technology eliminates redundant memory copies and context switches during data transmission, compares traditional read‑send workflows with zero‑copy approaches such as Linux sendfile/splice and Java's FileChannel.transferTo, and discusses performance benefits and practical considerations.

BackendData TransferLinux
0 likes · 6 min read
Achieving Efficient Data Transfer with Zero‑Copy Techniques
Selected Java Interview Questions
Selected Java Interview Questions
May 19, 2024 · Backend Development

Netty Interview Questions and Answers: Core Concepts and Features

This article provides a comprehensive set of Netty interview questions and detailed answers covering its architecture, Reactor pattern, core components such as Channel, ChannelHandler, ChannelPipeline, ByteBuf advantages, EventLoop groups, codecs, handling of packet framing, and graceful shutdown procedures.

BackendNettyNetwork programming
0 likes · 10 min read
Netty Interview Questions and Answers: Core Concepts and Features
Architect's Guide
Architect's Guide
May 19, 2024 · Information Security

RBAC Permission Analysis and Spring Security Integration with JWT

This article explains the fundamentals of role‑based access control (RBAC), its model variants, and user‑group usage, then demonstrates how to configure Spring Security with in‑memory authentication, integrate JWT for stateless token‑based authentication, customize JSON login, and securely encrypt passwords using BCrypt.

AuthenticationBackendJWT
0 likes · 15 min read
RBAC Permission Analysis and Spring Security Integration with JWT
High Availability Architecture
High Availability Architecture
May 17, 2024 · Backend Development

Design and Implementation of Bilibili Live Ranking System

This article explains the business value, architecture, configuration, storage design, performance challenges, and future plans of Bilibili's live streaming ranking system, detailing how rankings are generated, stored in MySQL and Redis, and updated through automated and manual scoring pipelines.

Backendlive streamingranking system
0 likes · 18 min read
Design and Implementation of Bilibili Live Ranking System
php Courses
php Courses
May 16, 2024 · Backend Development

Using PHP’s array_search() Function to Find Keys in an Array

This article explains PHP's array_search() function, detailing its purpose, prototype, parameters, return values, and provides clear code examples demonstrating how to locate keys of specific values in associative arrays, including handling of strict type comparison and cases where the value is absent.

ArraysBackendPHP
0 likes · 4 min read
Using PHP’s array_search() Function to Find Keys in an Array