Tagged articles

backend

5000 articles · Page 25 of 50
Baidu Geek Talk
Baidu Geek Talk
Dec 13, 2023 · Backend Development

How Baidu Revamped Its Search Display Service: From PHP to Go and Graph Engines

This article details Baidu's search display service evolution, outlining its original C and PHP/HHVM implementation, the three major challenges of high development difficulty, limited architecture capability, and low reusability, and presents a comprehensive solution using a graph execution engine, common operators, and a phased migration to Go.

GoGraph engineService Migration
0 likes · 15 min read
How Baidu Revamped Its Search Display Service: From PHP to Go and Graph Engines
IT Xianyu
IT Xianyu
Dec 12, 2023 · Backend Development

Implementing Dynamic Data Source Switching in Spring Boot Using ThreadLocal and AbstractRoutingDataSource

This article explains how to build a custom dynamic data‑source solution for Spring Boot by leveraging ThreadLocal and AbstractRoutingDataSource, provides complete Java code for context holders, routing datasource, configuration, annotation‑driven switching, and runtime addition of new data sources.

ThreadLocalabstractroutingdatasourcebackend
0 likes · 15 min read
Implementing Dynamic Data Source Switching in Spring Boot Using ThreadLocal and AbstractRoutingDataSource
Architect
Architect
Dec 12, 2023 · Backend Development

Pingora: Cloudflare’s High‑Performance Rust‑Based HTTP Proxy

This article explains how Cloudflare replaced NGINX with Pingora, a Rust‑written HTTP proxy that processes over a trillion daily requests, offering superior performance, efficiency, and security through a multithreaded design, custom HTTP library, and programmable request lifecycle.

CloudflareHTTP ProxyNetworking
0 likes · 12 min read
Pingora: Cloudflare’s High‑Performance Rust‑Based HTTP Proxy
Nullbody Notes
Nullbody Notes
Dec 12, 2023 · Backend Development

Build a High‑Performance Go Cache Library (EasyCache) from Scratch

This article walks through implementing EasyCache, a Go‑based in‑memory cache with sharding, lock‑free concurrency, LRU eviction, and configurable expiration, explaining the underlying data structures, goroutine cleanup logic, and key handling with concrete code examples.

CacheGoLRU
0 likes · 9 min read
Build a High‑Performance Go Cache Library (EasyCache) from Scratch
php Courses
php Courses
Dec 12, 2023 · Backend Development

Optimizing PHP Log Recording Performance

This article explains how to improve PHP logging performance by controlling log levels, batching writes, using asynchronous processes, and implementing log rotation, providing clear code examples for each technique in real-world PHP applications.

LoggingPerformancebackend
0 likes · 5 min read
Optimizing PHP Log Recording Performance
Top Architect
Top Architect
Dec 11, 2023 · Backend Development

Optimizing Large Transactions in Backend Development

The article explains why large database transactions degrade backend API performance, outlines issues such as data inconsistency, lock contention, and log overhead, and presents practical optimization techniques including avoiding RPC inside transactions, using programmatic transactions, batch processing, splitting into smaller transactions, and asynchronous parallel execution with CompletableFuture.

backendtransaction
0 likes · 10 min read
Optimizing Large Transactions in Backend Development
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Dec 11, 2023 · Backend Development

Configuring Multiple Data Sources in Spring Boot with MyBatis

This article explains the underlying principles and step‑by‑step configuration for integrating Spring Boot with MyBatis to manage multiple data sources, covering BeanFactory, FactoryBean, SqlSessionFactoryBean setup, datasource properties, mapper scanning, and sample controller code for accessing distinct databases.

JavaMulti-DataSourceMyBatis
0 likes · 8 min read
Configuring Multiple Data Sources in Spring Boot with MyBatis
Open Source Tech Hub
Open Source Tech Hub
Dec 10, 2023 · Backend Development

Why WebSocket Heartbeat Is Essential and How to Implement It

This article explains why heartbeat detection is crucial for WebSocket connections, describes the underlying Ping/Pong mechanism, details server and client configuration parameters, and provides complete code examples for implementing reliable heartbeat and reconnection logic.

HeartbeatPHPbackend
0 likes · 9 min read
Why WebSocket Heartbeat Is Essential and How to Implement It
Open Source Tech Hub
Open Source Tech Hub
Dec 9, 2023 · Backend Development

Build Real‑Time Group & Private Chat with WebSocket and PHP Validation

This guide explains how to design group and private chat messages, define a unified JSON protocol, validate payloads with a custom validator, and implement WebSocket callbacks (onWorkerStart, onWebSocketConnect, onMessage, onClose) using PHP and JavaScript client examples for both one‑to‑one and group conversations.

PHPReal-time ChatValidation
0 likes · 11 min read
Build Real‑Time Group & Private Chat with WebSocket and PHP Validation
Code Ape Tech Column
Code Ape Tech Column
Dec 9, 2023 · Backend Development

PowerJob Overview: Selection Rationale, Architecture, Task Types, and Scheduling Strategies with Code Samples

This article introduces the PowerJob distributed task framework, explains why it was chosen, details its architecture and high‑availability design, demonstrates various job types—including standalone, broadcast, map, and map‑reduce—with Java code examples, and covers scheduling options such as CRON, fixed‑rate, and fixed‑delay execution.

JavaMapReducePowerJob
0 likes · 14 min read
PowerJob Overview: Selection Rationale, Architecture, Task Types, and Scheduling Strategies with Code Samples
php Courses
php Courses
Dec 9, 2023 · Backend Development

How to Use PHP's file_get_contents() to Read Local and Remote Files

This article explains the syntax and parameters of PHP's file_get_contents() function, provides example code for reading both local and remote files, and highlights important usage notes for efficiently retrieving file contents in backend development.

File Readingbackendfile_get_contents
0 likes · 4 min read
How to Use PHP's file_get_contents() to Read Local and Remote Files
php Courses
php Courses
Dec 8, 2023 · Backend Development

Using PHP shuffle() to Randomly Rearrange Array Elements

This article explains PHP's shuffle() function, its syntax, behavior, return value, and demonstrates how it randomizes both indexed and associative arrays with code examples, highlighting that it modifies the original array and reindexes non‑sequential keys.

ArrayShufflebackend
0 likes · 5 min read
Using PHP shuffle() to Randomly Rearrange Array Elements
php Courses
php Courses
Dec 8, 2023 · Backend Development

Understanding PHP strlen() Function: Syntax, Examples, and Usage

This article explains PHP's strlen() function, covering its syntax, usage examples for measuring string length with and without surrounding spaces, important encoding considerations, and provides learning resources for further in PHP development.

backendstring-lengthstrlen
0 likes · 4 min read
Understanding PHP strlen() Function: Syntax, Examples, and Usage
dbaplus Community
dbaplus Community
Dec 7, 2023 · Backend Development

How to Merge Go Microservices into a Single Pod and Cut CPU Usage by 60%

This article explains how the team transformed a Go‑based microservice recommendation system into a single‑pod monolithic application using tRPC‑Go, detailing performance bottlenecks, code‑level mock‑proxy techniques, deployment adjustments, and the resulting dramatic reduction in CPU consumption.

Gobackendcloud-native
0 likes · 13 min read
How to Merge Go Microservices into a Single Pod and Cut CPU Usage by 60%
360 Smart Cloud
360 Smart Cloud
Dec 7, 2023 · Fundamentals

Understanding Asynchronous and Event Mechanisms in Frontend and Backend Development

This article explains how asynchronous programming and event‑driven mechanisms work in both frontend JavaScript and backend Golang, covering the JavaScript event loop, macro‑ and micro‑tasks, goroutine‑based concurrency, and the kernel‑level epoll architecture that together enable efficient, non‑blocking execution.

Asynchronousbackendconcurrency
0 likes · 17 min read
Understanding Asynchronous and Event Mechanisms in Frontend and Backend Development
JavaEdge
JavaEdge
Dec 6, 2023 · Backend Development

Choosing and Implementing Caching for Spring Boot Microservices

This article explains why caching is crucial for Spring Boot applications, examines its impact on microservice architectures, outlines criteria for selecting the right cache—usability, speed, availability, observability—and compares local, distributed, and hierarchical caches with practical strategies and code examples.

Spring Bootbackenddistributed cache
0 likes · 7 min read
Choosing and Implementing Caching for Spring Boot Microservices
转转QA
转转QA
Dec 6, 2023 · Backend Development

Store System Refactoring Types, Challenges, and Testing Strategies

This article analyzes the current store system issues, outlines various refactoring types and their difficulties, presents common efficiency measures, and details testing schemes for both unchanged‑business and changed‑business refactoring cases, highlighting objectives, challenges, processes, and overall effectiveness.

PerformanceRefactoringbackend
0 likes · 8 min read
Store System Refactoring Types, Challenges, and Testing Strategies
php Courses
php Courses
Dec 6, 2023 · Backend Development

Using PHP's array() Function to Create Indexed and Associative Arrays

This article explains PHP's built‑in array() function, demonstrating how to create both indexed and associative arrays with clear examples, code snippets, and important usage notes for developers. It also covers mixed and nested arrays, parameter rules, and common pitfalls to help you write robust PHP code.

ArrayPHPbackend
0 likes · 6 min read
Using PHP's array() Function to Create Indexed and Associative Arrays
php Courses
php Courses
Dec 6, 2023 · Backend Development

Using PHP is_float() Function to Detect Floating-Point Numbers

This article explains the PHP is_float() function, covering its syntax, behavior, and practical code examples that demonstrate how to check whether variables are floating‑point numbers and handle related conditional logic.

backendfloat detectionis_float
0 likes · 5 min read
Using PHP is_float() Function to Detect Floating-Point Numbers
dbaplus Community
dbaplus Community
Dec 5, 2023 · Backend Development

Taming Chaotic Logs: Practical Governance and Stack Trace Optimization

Facing uncontrolled log proliferation, the author shares a real-world case of log governance that reduces costs and boosts efficiency by categorizing logs, simplifying formats, consolidating tools, introducing a three‑layer log architecture, and applying stack‑trace reversal techniques with concrete code examples.

JavaLoggingbackend
0 likes · 16 min read
Taming Chaotic Logs: Practical Governance and Stack Trace Optimization
Architecture Digest
Architecture Digest
Dec 5, 2023 · Backend Development

Common Java Backend Code Smells and Bugs: Real‑World Cases and Fixes

The article presents a collection of typical Java backend coding mistakes—ranging from misused ternary operators and poor parameter validation to logging pitfalls, dead code, improper exception handling, AOP self‑invocation issues, Redis resilience problems, and Excel file upload bugs—along with concrete examples, images, and corrected code snippets to help developers avoid and fix them.

BugFixesCodeQualityExcel
0 likes · 12 min read
Common Java Backend Code Smells and Bugs: Real‑World Cases and Fixes
php Courses
php Courses
Dec 5, 2023 · Backend Development

Understanding and Using PHP's in_array() Function

This article explains PHP's in_array() function, detailing its syntax, parameters, and return values, and provides multiple code examples demonstrating basic usage, strict type comparison, and practical tips for efficiently checking the presence of values in arrays.

ArrayPHPbackend
0 likes · 5 min read
Understanding and Using PHP's in_array() Function
php Courses
php Courses
Dec 5, 2023 · Backend Development

Error Handling in PHP Multithreaded Programming with pthreads

This article explains how to install the pthreads extension for PHP and demonstrates three approaches—try‑catch blocks, shared variables, and logging—to capture and propagate errors from worker threads back to the main thread, ensuring stable multithreaded applications.

backendmultithreadingpthreads
0 likes · 5 min read
Error Handling in PHP Multithreaded Programming with pthreads
php Courses
php Courses
Dec 5, 2023 · Backend Development

phpy – A PHP Extension for Seamless Python Integration

phpy is an open‑source Swoole project that lets PHP import and use Python packages—including popular AI and scientific libraries—by providing a PHP extension or a Python C module, with detailed installation steps, usage examples, and support for callbacks and named parameters.

ExtensionInteropPython
0 likes · 10 min read
phpy – A PHP Extension for Seamless Python Integration
Code Ape Tech Column
Code Ape Tech Column
Dec 5, 2023 · Backend Development

Design and Implementation of a Java Rule Engine with AND/OR Logic

This article explains how to design and refactor a Java rule engine that supports short‑circuit AND/OR logic, demonstrates the abstraction of rules, shows concrete implementations, and provides a chainable service for executing combined rule sets with example code.

AND/OR LogicCode RefactoringDesign Patterns
0 likes · 8 min read
Design and Implementation of a Java Rule Engine with AND/OR Logic
Architect
Architect
Dec 4, 2023 · Backend Development

Mastering Unified Exception Handling in Spring: Clean Code, Better Readability

This article analyzes the problem of scattered try‑catch blocks in Java services, explains why per‑controller exception methods are cumbersome, and presents a unified exception handling solution using @ControllerAdvice, custom Assert utilities, enum‑based error codes, and environment‑aware response formatting, all illustrated with concrete code examples and test results.

EnumJavaUnifiedErrorHandling
0 likes · 24 min read
Mastering Unified Exception Handling in Spring: Clean Code, Better Readability
Sanyou's Java Diary
Sanyou's Java Diary
Dec 4, 2023 · Backend Development

When Pagination Breaks: Real‑World Bugs and Practical Fixes

This article recounts three production‑level pagination bugs encountered in a payment system, explains why they occurred—ranging from naive batch processing to MySQL's nondeterministic LIMIT behavior—and shows how proper pagination, ThreadLocal cleanup, and deterministic ordering resolve the issues.

Bug fixingMySQLPagination
0 likes · 16 min read
When Pagination Breaks: Real‑World Bugs and Practical Fixes
php Courses
php Courses
Dec 4, 2023 · Backend Development

Using PHP str_word_count() Function to Count Words in a String

This article explains the PHP str_word_count() function, its syntax, parameters, and provides multiple code examples showing how to count words, retrieve word arrays, obtain word positions, customize ignored characters, and use regular expressions for word matching.

PHPString processingbackend
0 likes · 5 min read
Using PHP str_word_count() Function to Count Words in a String
MaGe Linux Operations
MaGe Linux Operations
Dec 3, 2023 · Backend Development

How to Ensure Cache‑Database Consistency: Strategies and Best Practices

This article explains why introducing a cache improves read performance as traffic grows, compares different cache‑database consistency approaches, analyzes their pros and cons in concurrent scenarios, and recommends using the "update database then delete cache" pattern with message queues or change‑log subscriptions to maintain data integrity.

backendcachingconsistency
0 likes · 12 min read
How to Ensure Cache‑Database Consistency: Strategies and Best Practices
Architect
Architect
Dec 2, 2023 · Backend Development

7 Common Message‑Queue Scenarios and How to Choose the Right Type

This article examines seven typical messaging scenarios—ordinary, ordered, delayed, transactional, trace, dead‑letter, and priority messages—explaining the problem each solves, the trade‑offs, and concrete implementations in RocketMQ, Pulsar, RabbitMQ and Kafka with code samples.

Message QueueOrderingbackend
0 likes · 14 min read
7 Common Message‑Queue Scenarios and How to Choose the Right Type
Selected Java Interview Questions
Selected Java Interview Questions
Dec 2, 2023 · Backend Development

Understanding HashMap Resize Behavior and the Revision from Expansion Count to Resize Count in Alibaba's Developer Manual

This article explains the recent correction in Alibaba's developer manual that replaces the ambiguous "expansion count" of HashMap with the precise "resize count", details the conditions under which HashMap triggers resize during the first put operation, and shows why storing 1024 elements in JDK 1.8 results in eight resize calls.

Data StructuresJDK8Java
0 likes · 9 min read
Understanding HashMap Resize Behavior and the Revision from Expansion Count to Resize Count in Alibaba's Developer Manual
php Courses
php Courses
Dec 2, 2023 · Backend Development

Using PHP file_exists() to Check File and Directory Existence

This article explains how the PHP file_exists() function works, its syntax, return values, usage examples for local and remote files as well as directories, and important considerations when employing it in backend development.

PHPbackendfile-existence
0 likes · 3 min read
Using PHP file_exists() to Check File and Directory Existence
Architect
Architect
Dec 1, 2023 · Backend Development

Implementing a Process Pool with Apache Commons GenericObjectPool in Java

This article explains how to use Apache Commons GenericObjectPool to implement a reusable process pool in Java, covering the underlying concepts, required dependencies, custom factory implementation, pool configuration, and example code for borrowing and returning pooled objects.

GenericObjectPoolJavabackend
0 likes · 9 min read
Implementing a Process Pool with Apache Commons GenericObjectPool in Java
php Courses
php Courses
Dec 1, 2023 · Backend Development

Using the ceil() Function in PHP to Round Numbers Upward

This article explains PHP's ceil() function, detailing its syntax, parameters, and behavior for rounding numbers upward, and provides three clear code examples demonstrating its use with positive, negative, and integer values, along with the expected output for each case.

PHPRoundingbackend
0 likes · 3 min read
Using the ceil() Function in PHP to Round Numbers Upward
php Courses
php Courses
Dec 1, 2023 · Backend Development

Using PHP Generators to Process Large Data Sets and Prevent Memory Exhaustion

This article explains how PHP developers can use generators to iterate over large data sets without exhausting memory, covering the concept, syntax with the yield keyword, step‑by‑step examples, converting regular functions, handling key‑value pairs, sending data back, returning values, and a real‑world file‑reading use case.

Large Databackendgenerators
0 likes · 5 min read
Using PHP Generators to Process Large Data Sets and Prevent Memory Exhaustion
php Courses
php Courses
Nov 30, 2023 · Backend Development

Using PHP file_put_contents() to Write Data to Files

This article explains the PHP file_put_contents() function, its syntax, parameters, return values, and provides practical examples for writing strings, appending data, writing arrays, and using callbacks to dynamically generate file content.

Code ExampleFile Handlingbackend
0 likes · 5 min read
Using PHP file_put_contents() to Write Data to Files
php Courses
php Courses
Nov 30, 2023 · Backend Development

Using PHP's is_callable() to Check Callable Functions and Methods

This article explains PHP's is_callable() function, describing its purpose, parameter options, and how to use it to verify the callability of functions and class methods, accompanied by clear code examples and a discussion of its benefits for robust, maintainable code.

FunctionPHPbackend
0 likes · 5 min read
Using PHP's is_callable() to Check Callable Functions and Methods
Alibaba Cloud Developer
Alibaba Cloud Developer
Nov 30, 2023 · Backend Development

How Alibaba Travel Billing System Achieves 100% Accuracy and Real‑Time Reconciliation

This article details the design, challenges, and monitoring strategies of Alibaba's travel billing system, explaining how a modular backend architecture, multi‑way reconciliation, full‑link monitoring, and a configurable expression engine enable near‑perfect bill accuracy and automated settlement for enterprise customers.

System Architecturebackendbilling
0 likes · 17 min read
How Alibaba Travel Billing System Achieves 100% Accuracy and Real‑Time Reconciliation
Java Architect Essentials
Java Architect Essentials
Nov 28, 2023 · Backend Development

Various Ways to Send HTTP Requests in Java

This article introduces multiple Java approaches for sending HTTP GET and POST requests, covering the built‑in HttpURLConnection class, Apache HttpClient, Square's OkHttp, and Spring's RestTemplate, with step‑by‑step explanations and complete code examples for each method.

HttpClientHttpURLConnectionJava
0 likes · 8 min read
Various Ways to Send HTTP Requests in Java
Laravel Tech Community
Laravel Tech Community
Nov 28, 2023 · Backend Development

New Features in PHP 8.3: Typed Class Constants, Dynamic Class Constants, Readonly Property Deep Clone, and json_validate() Function

The article introduces PHP 8.3’s major enhancements—including typed class constants, dynamic class constant access, deep‑clone support for readonly properties, and the new json_validate() function—while noting the upcoming end of PHP 8.0 support and providing practical code examples.

PHP 8.3backendprogramming
0 likes · 4 min read
New Features in PHP 8.3: Typed Class Constants, Dynamic Class Constants, Readonly Property Deep Clone, and json_validate() Function
Test Development Learning Exchange
Test Development Learning Exchange
Nov 28, 2023 · Backend Development

Python Asyncio: Coroutines and Asynchronous Programming with Practical Code Examples

This article introduces Python coroutines and asynchronous programming using the asyncio module, explains key concepts such as event loops and non‑blocking I/O, and provides ten detailed code examples that demonstrate creating, managing, and synchronizing async tasks for improved performance.

Asynchronous ProgrammingCoroutinesPython
0 likes · 7 min read
Python Asyncio: Coroutines and Asynchronous Programming with Practical Code Examples
MaGe Linux Operations
MaGe Linux Operations
Nov 27, 2023 · Fundamentals

Mastering Go Structs: From Definition to Advanced Embedding

This comprehensive guide walks you through Go structs—covering their definition, instantiation, methods, receivers, anonymous fields, embedding, and method expressions—while providing clear code examples and practical guidelines for effective use in Go programming.

GoStructanonymous-fields
0 likes · 9 min read
Mastering Go Structs: From Definition to Advanced Embedding
php Courses
php Courses
Nov 27, 2023 · Backend Development

Performance Improvements and Optimization Strategies in PHP 8.3

PHP 8.3 introduces a JIT compiler, enhanced array and string handling, OPcache improvements, and Match expressions, delivering significant performance gains and offering optimization strategies while highlighting common pitfalls to ensure efficient, maintainable backend development.

JITOPcachePerformance
0 likes · 6 min read
Performance Improvements and Optimization Strategies in PHP 8.3
php Courses
php Courses
Nov 27, 2023 · Backend Development

Using PHP glob() Function for File and Directory Searching

This article explains the PHP glob() function, detailing its syntax, parameters, and multiple usage examples—including listing all files, filtering by extension, recursive file discovery, and directory-only searches—while providing complete code snippets for each scenario.

File HandlingPHPbackend
0 likes · 4 min read
Using PHP glob() Function for File and Directory Searching
Architect's Guide
Architect's Guide
Nov 27, 2023 · Backend Development

Unified Exception Handling in Spring Boot: Design, Implementation, and Best Practices

This article provides a comprehensive guide to designing and implementing a unified exception handling framework in Spring Boot, covering the use of @ControllerAdvice, custom assertion interfaces, enum‑based error codes, standardized response structures, and practical testing scenarios to improve code readability and robustness.

EnumJavaREST
0 likes · 20 min read
Unified Exception Handling in Spring Boot: Design, Implementation, and Best Practices
php Courses
php Courses
Nov 25, 2023 · Backend Development

Using PHP Network Functions for Remote Requests and Data Transfer

This article explains how to use PHP's built‑in network functions, such as file_get_contents() and curl(), to send GET and POST HTTP requests, retrieve responses, and choose the appropriate method for remote data transmission in backend development.

backendfile_get_contents
0 likes · 5 min read
Using PHP Network Functions for Remote Requests and Data Transfer
php Courses
php Courses
Nov 25, 2023 · Backend Development

Best Practices for Writing Maintainable ThinkPHP Applications

This article outlines key guidelines for developing maintainable ThinkPHP applications, covering framework design principles, directory structure, naming conventions, error handling, caching, performance optimization, test‑driven development, and effective team collaboration with version control.

ThinkPHPbackendcaching
0 likes · 5 min read
Best Practices for Writing Maintainable ThinkPHP Applications
php Courses
php Courses
Nov 25, 2023 · Backend Development

New Features and Improvements in PHP 8.3

PHP 8.3, released on November 23 2023, introduces numerous backend enhancements such as improved readonly class cloning, typed class constants, the #[Override] attribute, negative array indexes, anonymous readonly classes, new functions like json_validate and mb_str_pad, Randomizer upgrades, and refined error handling, all aimed at boosting developer productivity.

backendcode-examplesnew-features
0 likes · 8 min read
New Features and Improvements in PHP 8.3
Open Source Tech Hub
Open Source Tech Hub
Nov 24, 2023 · Backend Development

Why Switch from Linux Crontab to Workerman Crontab for High‑Availability Scheduling

This article compares traditional Linux crontab with the PHP‑based Workerman Crontab, highlighting crontab's high‑availability, load‑balancing, and permission limitations, and demonstrating how Workerman Crontab offers second‑level precision, dynamic management, distributed deployment, and superior performance for modern task scheduling needs.

PHPTask Schedulingbackend
0 likes · 7 min read
Why Switch from Linux Crontab to Workerman Crontab for High‑Availability Scheduling
JD Retail Technology
JD Retail Technology
Nov 24, 2023 · Backend Development

Practical Experience and Technical Solutions for DDD, Clean Architecture, CQRS, and Saga in Backend Development

This article shares practical experiences and detailed technical solutions for applying Domain‑Driven Design, Clean (Onion) Architecture, CQRS, and Saga patterns in backend systems, covering theory recap, modeling methods, module separation, code examples, and distributed transaction strategies.

CQRSClean ArchitectureDDD
0 likes · 28 min read
Practical Experience and Technical Solutions for DDD, Clean Architecture, CQRS, and Saga in Backend Development
Top Architect
Top Architect
Nov 24, 2023 · Cloud Native

Comprehensive Overview of Microservice Architecture Components

This article provides a detailed walkthrough of a typical microservice architecture, covering entry traffic with Nginx, gateway selection, business service design, service registry options, caching and distributed locks with Redis, data persistence strategies, structured data storage, messaging middleware, log collection, task scheduling, and distributed object storage, while also promoting related community resources.

architecturebackendcloud-native
0 likes · 11 min read
Comprehensive Overview of Microservice Architecture Components
JavaEdge
JavaEdge
Nov 24, 2023 · Backend Development

Why Kafka Is the Ultimate Backbone for Modern Backend Systems

This article explores how Kafka serves as a versatile backbone for messaging, durable storage, log aggregation, monitoring, commit logs, recommendation pipelines, stream processing, CDC, system migration, and event sourcing, highlighting its performance, reliability, and practical deployment patterns.

Data PipelineKafkaMessage Queue
0 likes · 10 min read
Why Kafka Is the Ultimate Backbone for Modern Backend Systems
Inke Technology
Inke Technology
Nov 24, 2023 · Backend Development

Building a Scalable Overseas Ad Platform: Architecture, Permissions & Automation

To support rapid overseas expansion, the article outlines a comprehensive backend architecture—including management, data ingestion, device tracking, attribution, and offline tasks—while detailing fine-grained user permission controls, automated product onboarding, batch ad creation, and server‑side attribution workflows, plus future enhancements.

Advertising PlatformData pipelinesbackend
0 likes · 12 min read
Building a Scalable Overseas Ad Platform: Architecture, Permissions & Automation
HomeTech
HomeTech
Nov 24, 2023 · Backend Development

Implementing Task Scheduling and Distributed Processing with Celery and Redis in Python

This article explains how to use Celery together with Redis to manage and execute periodic and asynchronous tasks in Python, covering basic concepts, architecture, configuration steps, single‑worker and multi‑worker setups, distributed processing strategies, and practical considerations for reliable task execution.

Distributed ComputingPythonTask Scheduling
0 likes · 8 min read
Implementing Task Scheduling and Distributed Processing with Celery and Redis in Python
Java Architect Essentials
Java Architect Essentials
Nov 23, 2023 · Backend Development

Overview of Spring Assertion, Utility, Reflection and AOP Helper Methods

This article presents a concise reference of Spring's Assert class, common ObjectUtils, StringUtils, CollectionUtils, file and stream copy helpers, as well as ReflectionUtils and AOP utilities, illustrating their purpose, typical usage scenarios, and providing ready‑to‑copy code snippets for Java backend development.

Javaassertionsbackend
0 likes · 11 min read
Overview of Spring Assertion, Utility, Reflection and AOP Helper Methods
Open Source Tech Hub
Open Source Tech Hub
Nov 23, 2023 · Backend Development

Explore PHP 8.3: Typed Class Constants, Readonly Clone, and New Randomizer APIs

PHP 8.3 introduces a range of backend enhancements—including explicit typed class constants, dynamic constant access, the #[\Override] attribute, deep‑clone support for readonly properties, a new json_validate() function, and expanded Randomizer methods—plus numerous new DOM, Intl, LDAP, and POSIX functions, while deprecating several legacy features.

8.3New FeaturesPHP
0 likes · 7 min read
Explore PHP 8.3: Typed Class Constants, Readonly Clone, and New Randomizer APIs
Su San Talks Tech
Su San Talks Tech
Nov 23, 2023 · Backend Development

Mastering Idempotency in Distributed Java Services: Strategies & Code

Idempotency ensures that repeated requests produce the same outcome without side effects, and this article explains its concepts, necessity in microservices, relationship with concurrency, and presents six practical implementation methods—unique indexes, token, pessimistic and optimistic locks, distributed locks, and state machines—complete with Java Spring Boot code examples.

backenddistributed-systemsidempotency
0 likes · 23 min read
Mastering Idempotency in Distributed Java Services: Strategies & Code
Zhuanzhuan Tech
Zhuanzhuan Tech
Nov 22, 2023 · Backend Development

Improving Stability and High Availability of an Advertising Billing System: Architecture Upgrade and Optimizations

This article describes the background, problems, and a series of architectural upgrades—including MQ replacement, thread‑pool isolation, Redis/TiKV redundancy, and Spark‑based compensation—to enhance the stability, scalability, and high‑availability of an advertising billing system.

AdvertisingMessage QueueSpark
0 likes · 12 min read
Improving Stability and High Availability of an Advertising Billing System: Architecture Upgrade and Optimizations
转转QA
转转QA
Nov 22, 2023 · Backend Development

Improving B2C Order Automation with MQ Listener Integration and CI/CD Enhancements

This article details a B2C order processing case study, analyzing failure causes in automated test suites, introducing RocketMQ PullConsumer‑based MQ listening actions, and demonstrating how these changes together with CI/CD adjustments significantly raise test success rates despite increased execution time.

B2CCI/CDIntegration
0 likes · 7 min read
Improving B2C Order Automation with MQ Listener Integration and CI/CD Enhancements
Liangxu Linux
Liangxu Linux
Nov 21, 2023 · Backend Development

How Go’s Built‑in HTTP Server Handles Connections and Requests

This article walks through building a minimal Go HTTP server, explains how ListenAndServe internally binds, listens, and accepts connections, details the server’s main loop, request handling, routing logic, and shows how to customize connection and state hooks with concrete code examples.

GoNetworkingbackend
0 likes · 8 min read
How Go’s Built‑in HTTP Server Handles Connections and Requests
php Courses
php Courses
Nov 21, 2023 · Backend Development

Using PHP Network Functions for Remote Requests and Data Transfer

This article explains how to use PHP's built‑in network functions, such as file_get_contents() and cURL, to perform remote HTTP GET and POST requests, includes step‑by‑step code examples, and discusses choosing the appropriate method for data transmission in backend development.

PHPRemote Requestsbackend
0 likes · 4 min read
Using PHP Network Functions for Remote Requests and Data Transfer
Architect
Architect
Nov 20, 2023 · Backend Development

Real-Time Device Monitoring with WebSocket Using Vue and SpringBoot

This article demonstrates how to build a real‑time device monitoring system by using WebSocket for server‑client communication, Vue for the front‑end display, and SpringBoot for the back‑end service, covering code examples, configuration, and testing steps.

Real‑time MonitoringVue.jsbackend
0 likes · 10 min read
Real-Time Device Monitoring with WebSocket Using Vue and SpringBoot
Top Architect
Top Architect
Nov 20, 2023 · Backend Development

Using @Async in Spring Boot: Configuration, Best Practices, and Common Pitfalls

This article explains how to enable and configure Spring Boot's @Async annotation, provides code examples for thread‑pool setup and asynchronous service methods, and discusses important caveats such as calling async methods from the same class, transaction incompatibility, blocking issues, and exception handling.

JavaSpring BootThreadPoolTaskExecutor
0 likes · 12 min read
Using @Async in Spring Boot: Configuration, Best Practices, and Common Pitfalls
Practical DevOps Architecture
Practical DevOps Architecture
Nov 20, 2023 · Backend Development

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

This guide explains how to build a dynamic IP blacklist using Nginx, Lua, and Redis, covering installation of LuaJIT, compiling Nginx with required modules, configuring Redis, writing Lua access‑limit scripts, and verifying that frequent requests are automatically blocked for a set period.

IP blacklistLuaRedis
0 likes · 9 min read
Implementing a Dynamic IP Blacklist with Nginx, Lua, and Redis
Practical DevOps Architecture
Practical DevOps Architecture
Nov 20, 2023 · Backend Development

Comprehensive Python Full-Stack Development Course Outline (28 Chapters)

This article presents a detailed 28‑chapter curriculum for mastering Python full‑stack development, covering Linux basics, Python fundamentals, web front‑end design with Vue, RESTful API creation with Flask, Django and Django REST Framework, big‑data processing with Hadoop, Spark and MapReduce, feature engineering, recommendation systems, and live streaming system implementation.

Big DataPythonRecommendation Systems
0 likes · 3 min read
Comprehensive Python Full-Stack Development Course Outline (28 Chapters)
Top Architecture Tech Stack
Top Architecture Tech Stack
Nov 19, 2023 · Fundamentals

Understanding Layered Architecture: Benefits, Drawbacks, and Implementation Guidelines

This article explains the concept of layered architecture in software systems, covering common patterns like MVC and three‑tier designs, illustrating examples from networking and operating systems, and discussing the advantages, design considerations, potential drawbacks, and practical guidelines for implementing effective layer separation.

Design PrinciplesSystem Designbackend
0 likes · 9 min read
Understanding Layered Architecture: Benefits, Drawbacks, and Implementation Guidelines
php Courses
php Courses
Nov 18, 2023 · Backend Development

Implementing Caching in PHP: File, Database, and Memory Cache Examples

This article explains how caching improves website performance by reducing server load and response time, and provides PHP code examples for file‑based, database‑based, and memory‑based caches, guiding developers on selecting the appropriate cache type for their needs.

DatabaseCacheFileCacheMemoryCache
0 likes · 4 min read
Implementing Caching in PHP: File, Database, and Memory Cache Examples
Java Architect Essentials
Java Architect Essentials
Nov 17, 2023 · Backend Development

10 Java Stream API Best Practices Every Backend Developer Should Know

This article presents ten essential best‑practice guidelines for using Java’s Stream API—covering primitive streams, avoiding nested streams, cautious parallelism, lazy evaluation, side‑effect avoidance, immutability, filter‑before‑map, method references, distinct, and sorted—to help developers write more efficient, readable, and reliable functional code.

Functional ProgrammingPerformanceStream API
0 likes · 8 min read
10 Java Stream API Best Practices Every Backend Developer Should Know
php Courses
php Courses
Nov 17, 2023 · Backend Development

Cross-Platform PHP Caching Techniques with File and Redis Implementations

This article explains how to implement cross‑platform caching in PHP using both file‑based storage and Redis, providing complete code examples and detailing the functions involved to ensure compatibility, performance, and proper cache expiration handling.

FileCachePHPPerformance
0 likes · 5 min read
Cross-Platform PHP Caching Techniques with File and Redis Implementations
Architecture Digest
Architecture Digest
Nov 16, 2023 · Backend Development

Structuring Session‑Based Scene Data with MyBatis in Java

This article explains how to redesign a JSON payload that repeats a sessionId for each scene by moving the sessionId to the outer level and using MyBatis resultMap with a collection to map a Session object containing a list of Scene objects, including Java entity definitions, mapper XML, service, and controller code.

ControllerJavaMyBatis
0 likes · 5 min read
Structuring Session‑Based Scene Data with MyBatis in Java
php Courses
php Courses
Nov 16, 2023 · Backend Development

Using PHP Caching (APC) to Improve Website Performance and Security

This article explains why caching is essential for web applications, introduces PHP caching options such as APC, Memcache, and Redis, and provides step‑by‑step installation and code examples showing how to implement APC caching to boost speed and protect site security.

PHPPerformanceSecurity
0 likes · 6 min read
Using PHP Caching (APC) to Improve Website Performance and Security
php Courses
php Courses
Nov 15, 2023 · Backend Development

Handling File Upload and Download in PHP

This article explains how to implement file upload and download functionality in PHP web applications, covering HTML form setup, server‑side processing, validation, moving uploaded files, and delivering files to browsers with appropriate HTTP headers.

File DownloadPHPbackend
0 likes · 6 min read
Handling File Upload and Download in PHP