Tagged articles

Backend

5000 articles · Page 21 of 50
Architect
Architect
May 4, 2024 · Information Security

How to Secure Third‑Party APIs with AK/SK, Tokens, and Signature Strategies

This article walks through a complete security design for third‑party APIs, covering API‑key generation, request signing with timestamps and nonces, token handling, permission granularity, database schema, and practical implementation details such as rate limiting, idempotency, and TLS encryption.

API SecurityAuthenticationBackend
0 likes · 34 min read
How to Secure Third‑Party APIs with AK/SK, Tokens, and Signature Strategies
IT Services Circle
IT Services Circle
May 4, 2024 · Backend Development

Common Backend Interface Optimization Techniques and Practices

This article shares a collection of practical backend performance‑optimization ideas—including batch database operations, asynchronous processing, caching, pre‑fetching, pooling, event‑driven callbacks, parallel remote calls, lock granularity, file‑based temporary storage, index tuning, deep‑pagination strategies, code‑level refactoring, data compression, NoSQL alternatives, thread‑pool configuration, and machine‑level troubleshooting—to dramatically reduce API latency and improve system scalability.

BackendThread Poolasynchronous
0 likes · 16 min read
Common Backend Interface Optimization Techniques and Practices
Java Captain
Java Captain
May 4, 2024 · Backend Development

Implementing a FIFO Export Queue for Large Data Exports in Java

This article explains how to design and implement a fixed‑size FIFO export queue in a Java Spring application to control concurrent MySQL data exports, detailing the related entities, code implementation with EasyExcel, a test controller, and observed results.

BackendEasyExcelExport Queue
0 likes · 10 min read
Implementing a FIFO Export Queue for Large Data Exports in Java
Code Ape Tech Column
Code Ape Tech Column
May 4, 2024 · Backend Development

Understanding PageHelper Pagination Issues and ThreadLocal Management in MyBatis

This article analyzes common anomalies caused by the PageHelper pagination plugin in a Java backend project—such as duplicate user registration, limited query results, and password‑reset errors—traces them to ThreadLocal misuse, explains the internal workflow of startPage, getLocalPage, and clearPage, and offers practical recommendations to avoid these pitfalls.

BackendJavaMyBatis
0 likes · 11 min read
Understanding PageHelper Pagination Issues and ThreadLocal Management in MyBatis
Go Programming World
Go Programming World
May 2, 2024 · Backend Development

Comprehensive Guide to Using Viper for Go Application Configuration

This article provides an in‑depth tutorial on Viper, a full‑featured Go configuration library, covering its features, usage scenarios, loading priorities, reading from files, environment variables, command‑line flags, remote stores, and best practices for managing application settings.

BackendDevOpsGo
0 likes · 22 min read
Comprehensive Guide to Using Viper for Go Application Configuration
Su San Talks Tech
Su San Talks Tech
May 1, 2024 · Backend Development

7 Common Cache Pitfalls and How to Avoid Them in Backend Systems

This article outlines seven typical cache issues—including cache penetration, breakdown, avalanche, data inconsistency, large keys, hot keys, and low hit rates—explains their causes, and provides practical solutions such as parameter validation, Bloom filters, locking, expiration randomization, key sharding, and cache warming to improve system reliability and performance.

BackendRediscache
0 likes · 20 min read
7 Common Cache Pitfalls and How to Avoid Them in Backend Systems
Java Tech Enthusiast
Java Tech Enthusiast
Apr 30, 2024 · Backend Development

How to Prevent Message Loss and Duplication in Message Queues

This article examines why messages can be lost or duplicated in typical queue systems, explains the failure points from producer to broker to consumer, and provides practical techniques such as synchronous flushing, broker clustering, database unique constraints, and Redis deduplication to achieve reliable, idempotent processing.

BackendKafkaMessage Duplication
0 likes · 7 min read
How to Prevent Message Loss and Duplication in Message Queues
php Courses
php Courses
Apr 30, 2024 · Backend Development

Using PHP array_push() to Append Elements to an Array

This tutorial explains the PHP array_push() function, its syntax, parameter details, and demonstrates how to add single or multiple elements to an array while retrieving the new array length, complete with code examples and expected output.

BackendPHPTutorial
0 likes · 4 min read
Using PHP array_push() to Append Elements to an Array
php Courses
php Courses
Apr 30, 2024 · Information Security

Using Cloudmersive Virus Scan API in PHP to Secure File Uploads

This guide explains how to integrate the Cloudmersive virus‑scan API into a PHP application to efficiently detect and block malicious scripts in uploaded files, preventing XSS attacks and ensuring safe file handling with configurable security parameters.

BackendCloudmersive APIPHP
0 likes · 5 min read
Using Cloudmersive Virus Scan API in PHP to Secure File Uploads
DeWu Technology
DeWu Technology
Apr 29, 2024 · Backend Development

Handling Non-Standard Collection Types in Dubbo RPC with Protostuff Serialization

When Dubbo RPC uses Protostuff serialization, DTO fields declared with ambiguous types that contain non‑standard collections such as subList results can trigger ClassNotFound or null errors during deserialization, so converting these to regular JDK collections (or switching to a more tolerant format like Hessian2/JSON) restores stability.

BackendDTODubbo
0 likes · 8 min read
Handling Non-Standard Collection Types in Dubbo RPC with Protostuff Serialization
Architecture Digest
Architecture Digest
Apr 29, 2024 · Backend Development

Implementing a FIFO Export Queue in Spring Boot for Large Data Exports

This article explains how to design and implement a fixed-size FIFO export queue in a Spring Boot backend, using synchronized methods, EasyExcel for large data exports, and a test controller to simulate concurrent export requests, while discussing performance considerations and future enhancements.

BackendEasyExcelExport Queue
0 likes · 10 min read
Implementing a FIFO Export Queue in Spring Boot for Large Data Exports
Shepherd Advanced Notes
Shepherd Advanced Notes
Apr 29, 2024 · Backend Development

How to Implement Dynamic, Configurable Data Desensitization in Spring Boot

This article walks through a Spring Boot solution for dynamically masking sensitive user data—such as names, ID numbers, phone numbers, and custom fields—by defining custom annotations, a configurable rule engine, a Redis‑backed context holder, and a Jackson serializer that applies masking at JSON serialization time, all while keeping performance overhead low.

BackendCustom AnnotationHutool
0 likes · 24 min read
How to Implement Dynamic, Configurable Data Desensitization in Spring Boot
php Courses
php Courses
Apr 29, 2024 · Backend Development

Using PHP substr Function to Extract Substrings

This article explains how to use PHP's built‑in substr function to retrieve substrings by specifying start positions and lengths, covering basic syntax, parameter details, return values, and common examples such as extracting the last characters, specific ranges, and converting substrings to uppercase.

BackendPHPString Manipulation
0 likes · 4 min read
Using PHP substr Function to Extract Substrings
php Courses
php Courses
Apr 28, 2024 · Backend Development

Using array_pop() to Remove the Last Element from a PHP Array

This article explains the PHP array_pop() function, demonstrating how it removes and returns the last element of an array, showing example code, output, and best practices such as handling multiple removals and preserving the original array when needed.

BackendPHParray manipulation
0 likes · 3 min read
Using array_pop() to Remove the Last Element from a PHP Array
php Courses
php Courses
Apr 28, 2024 · Backend Development

Using PHP’s array_chunk() Function to Split Arrays

This article explains how the PHP array_chunk() function can divide a large array into smaller chunks of a specified size, describes its parameters, shows code examples for default behavior and key preservation, and demonstrates the resulting output.

Backendarrayarray_chunk
0 likes · 4 min read
Using PHP’s array_chunk() Function to Split Arrays
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Apr 27, 2024 · Backend Development

Enabling Multiple @RequestBody Parameters in Spring MVC by Caching the Request Body

This article explains why Spring MVC cannot parse multiple @RequestBody annotations on a single handler method, analyzes the internal I/O stream closure that causes the failure, and provides a practical solution using a request‑body caching wrapper and a servlet filter to allow repeated reads of the request payload.

BackendHTTPJava
0 likes · 9 min read
Enabling Multiple @RequestBody Parameters in Spring MVC by Caching the Request Body
JD Retail Technology
JD Retail Technology
Apr 26, 2024 · Operations

How Isolation Principles Boost System High Availability: Real-World Cases

This article explains the concept of high availability, defines the isolation principle, outlines its implementation across various layers, and presents concrete case studies—including vertical data‑center redesign, dual‑cluster Elasticsearch migration, traffic grouping, and hot‑cold data segregation—to illustrate how isolation improves system resilience.

BackendOperationsSystem Design
0 likes · 15 min read
How Isolation Principles Boost System High Availability: Real-World Cases
php Courses
php Courses
Apr 26, 2024 · Backend Development

PHP Password Encryption Methods: md5, password_hash, and crypt

This article explains three common PHP password encryption techniques—md5, password_hash, and crypt—providing detailed code examples and guidance on securely storing user passwords during registration and login processes.

BackendMD5crypt
0 likes · 5 min read
PHP Password Encryption Methods: md5, password_hash, and crypt
php Courses
php Courses
Apr 26, 2024 · Backend Development

Using PHP trim() to Remove Whitespace and Specified Characters

This article explains PHP's trim function, its syntax, optional character list parameter, and provides code examples showing how to remove surrounding spaces and custom characters, while also mentioning related ltrim and rtrim functions for one‑sided trimming.

BackendPHPString Manipulation
0 likes · 3 min read
Using PHP trim() to Remove Whitespace and Specified Characters
php Courses
php Courses
Apr 26, 2024 · Information Security

Best Practices for Securing PHP Sessions

This article outlines essential strategies—including secure HttpOnly cookies, session ID regeneration, timeout handling, encrypted storage, user‑attribute verification, and permission checks—to harden PHP session management against hijacking, fixation, and unauthorized access.

BackendSession Securityinformation security
0 likes · 6 min read
Best Practices for Securing PHP Sessions
Code Ape Tech Column
Code Ape Tech Column
Apr 26, 2024 · Backend Development

JDFrame/SDFrame: A JVM‑Level DataFrame‑Like Stream API for Java

This article introduces JDFrame/SDFrame, a Java library that provides a DataFrame‑style, semantic API for stream processing, covering quick start, dependency setup, comprehensive examples of filtering, aggregation, grouping, sorting, joining, and utility functions, along with code snippets and usage guidance.

BackendDataFrameJDFrame
0 likes · 16 min read
JDFrame/SDFrame: A JVM‑Level DataFrame‑Like Stream API for Java
php Courses
php Courses
Apr 25, 2024 · Backend Development

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

This article explains PHP's fopen() function, detailing its syntax, parameters, and providing four practical examples for reading, writing, appending to files, and opening URLs, while emphasizing proper mode selection and resource cleanup.

BackendTutorialfile-handling
0 likes · 3 min read
Using fopen() in PHP: Syntax, Parameters, and Practical Examples
58 Tech
58 Tech
Apr 25, 2024 · Backend Development

Luban Full-Stack Low-Code Development Platform: Design, Implementation, and Case Studies

This article presents an in‑depth overview of the Luban full‑stack low‑code development platform, describing its goals, architecture, metadata design, drag‑and‑drop page creation, data visualization, API generation, multi‑tenant and multi‑environment support, version management, and real‑world case studies that demonstrate its efficiency and extensibility.

ArchitectureBackendFull-Stack
0 likes · 21 min read
Luban Full-Stack Low-Code Development Platform: Design, Implementation, and Case Studies
Su San Talks Tech
Su San Talks Tech
Apr 25, 2024 · Backend Development

Choosing the Right Message Queue: Kafka, RabbitMQ, RocketMQ, and ActiveMQ Compared

This article provides a comprehensive overview of four major message queue systems—Kafka, RabbitMQ, RocketMQ, and ActiveMQ—covering their fundamentals, architectures, key concepts, advantages, disadvantages, and guidance for selecting the most suitable solution based on throughput, reliability, scalability, and use‑case requirements.

BackendKafkaRabbitMQ
0 likes · 18 min read
Choosing the Right Message Queue: Kafka, RabbitMQ, RocketMQ, and ActiveMQ Compared
php Courses
php Courses
Apr 24, 2024 · Backend Development

How to Use PHP fileatime() to Get a File's Last Access Time

This article explains the PHP fileatime() function, its syntax, parameters, return value, and provides practical examples for retrieving a file's last access timestamp, formatting it, and using it for file management tasks such as cleanup based on inactivity.

Backendfile access timefile management
0 likes · 5 min read
How to Use PHP fileatime() to Get a File's Last Access Time
php Courses
php Courses
Apr 24, 2024 · Backend Development

Key New Features in PHP 8: Named Parameters, Union Types, Match Expressions, and More

This article introduces the most important PHP 8 language features—including named arguments, union types, match expressions, the nullsafe operator, attributes, constructor property promotion, weak maps, static return types, throw expressions, the Stringable interface, get_debug_type, string helper functions, fdiv, and error‑suppression—providing explanations and code examples for each.

BackendCode Examplesfeatures
0 likes · 6 min read
Key New Features in PHP 8: Named Parameters, Union Types, Match Expressions, and More
LuTiao Programming
LuTiao Programming
Apr 24, 2024 · Backend Development

Building a License Plate Recognition Service with Spring Boot 3.x and OCR

This article walks through creating a server‑side license‑plate recognition system using Spring Boot 3.x, the open‑source Tesseract OCR library, and OpenCV for image preprocessing, covering project goals, Maven dependencies, core service implementations, special‑plate handling, and a REST API controller.

BackendJavaOCR
0 likes · 8 min read
Building a License Plate Recognition Service with Spring Boot 3.x and OCR
21CTO
21CTO
Apr 23, 2024 · Information Security

Session vs Token Authentication: Which Is Right for Your Backend?

This article explains how session‑based and token‑based (JWT) authentication work in backend applications, compares their workflows, shows practical Express.js code examples, and helps you decide which method best fits your project's security and scalability needs.

AuthenticationBackendExpress
0 likes · 10 min read
Session vs Token Authentication: Which Is Right for Your Backend?
Top Architect
Top Architect
Apr 23, 2024 · Fundamentals

Guidelines for Front‑Back End Separation and API Specification (Version 1.0.0)

This article explains why front‑back end separation is needed, describes the evolution from MVC to SPA, outlines the principles of responsibility and concern separation, and provides a detailed API specification—including request/response formats, pagination, and special field handling—to improve collaboration and reduce integration effort.

ArchitectureBackendfrontend
0 likes · 14 min read
Guidelines for Front‑Back End Separation and API Specification (Version 1.0.0)
Architect
Architect
Apr 23, 2024 · Backend Development

Cross-Thread Log Sampling for High-Throughput Java Services

This article examines the performance impact of excessive logging in high-throughput Java services and presents three practical approaches—ThreadLocal-style wrappers, explicit flag propagation, and a decoupled component with an extensible API—to achieve cross-thread request-level log sampling while preserving traceability.

BackendJavaThreadLocal
0 likes · 9 min read
Cross-Thread Log Sampling for High-Throughput Java Services
Architecture Digest
Architecture Digest
Apr 23, 2024 · Backend Development

14 Practical Code Optimization Tips for Java Backend Development

This article presents fourteen actionable Java backend code‑optimization techniques—including configuration‑file management, Lombok’s @RequiredArgsConstructor, modularization, exception handling, database query reduction, null‑avoidance, strategic use of design patterns, IDE shortcuts, and efficient collection handling—to help developers write cleaner, more maintainable, and higher‑performance code.

BackendJavaLombok
0 likes · 7 min read
14 Practical Code Optimization Tips for Java Backend Development
php Courses
php Courses
Apr 23, 2024 · Backend Development

Using curl_multi_exec() in PHP to Execute Multiple cURL Requests Concurrently

This article introduces PHP’s curl_multi_exec() function, explains its prototype, parameters, return values, provides a complete example for concurrently sending multiple HTTP requests, and outlines important usage considerations for efficient backend network communication.

BackendPHPconcurrency
0 likes · 4 min read
Using curl_multi_exec() in PHP to Execute Multiple cURL Requests Concurrently
php Courses
php Courses
Apr 23, 2024 · Backend Development

Using PHP explode() to Split Strings into Arrays

This article explains how to use PHP's built-in explode() function to split strings into arrays, covering syntax, optional limit parameter, and multiple examples including comma-separated lists, space-separated words, and a note on using str_split for character-level splitting.

BackendPHPString Split
0 likes · 4 min read
Using PHP explode() to Split Strings into Arrays
ITPUB
ITPUB
Apr 22, 2024 · Backend Development

How Meta Achieves Near‑Perfect Cache Consistency: Lessons from Polaris

This article explains Meta's approach to cache invalidation and consistency, detailing why ultra‑high consistency matters, how their Polaris monitoring system detects and resolves inconsistencies, and provides a simplified Python example that illustrates the underlying mechanisms and challenges.

BackendMetaPolaris
0 likes · 12 min read
How Meta Achieves Near‑Perfect Cache Consistency: Lessons from Polaris
php Courses
php Courses
Apr 22, 2024 · Backend Development

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

This article explains how PHP's implode() function joins array elements into a string, covering its syntax, basic usage with custom delimiters, handling of nested arrays, and the special case of omitting the glue parameter, illustrated with clear code examples.

BackendPHPString
0 likes · 4 min read
Using PHP implode() to Join Array Elements into a String
21CTO
21CTO
Apr 20, 2024 · Backend Development

Why Backend Development Is Harder Today Than 20 Years Ago

Over the past two decades, backend development has shifted from simple server‑side coding to a complex, multidisciplinary field, driven by soaring user expectations, massive system scale, an overwhelming array of technologies, and the need for cloud, container, and cross‑team collaboration skills.

Backenddevelopment trendsdistributed systems
0 likes · 9 min read
Why Backend Development Is Harder Today Than 20 Years Ago
Ops Development & AI Practice
Ops Development & AI Practice
Apr 19, 2024 · Backend Development

How to Add a Timeout to an Infinite Loop in Go

This guide shows how to protect a long‑running Go function that checks a RabbitMQ cluster by using time.After and a select statement to automatically stop the infinite loop after a configurable timeout, improving robustness and maintainability.

Backendgolanginfinite loop
0 likes · 5 min read
How to Add a Timeout to an Infinite Loop in Go
Ops Development & AI Practice
Ops Development & AI Practice
Apr 19, 2024 · Backend Development

How to Handle Mixed Quotes in Go Strings Without Errors

This guide explains four practical ways to embed both double quotes and backticks in Go strings—using backticks, double‑quoted literals with escaping, concatenation, and fmt.Sprintf—so developers can choose the most readable solution for their specific scenario.

BackendStringbackticks
0 likes · 4 min read
How to Handle Mixed Quotes in Go Strings Without Errors
Top Architect
Top Architect
Apr 19, 2024 · Backend Development

Design and Implementation of a Lightweight Maven Encryption and Agent Decryption Solution for Java Backend Applications

This article analyzes the challenges of protecting Java backend code and third‑party dependencies, evaluates existing tools such as ProGuard, jar‑protect, GraalVM and core‑lib/xjar, and proposes a lightweight Maven encryption and Java‑agent decryption scheme that limits performance impact to under 5% while safeguarding intellectual property.

BackendSecurity
0 likes · 9 min read
Design and Implementation of a Lightweight Maven Encryption and Agent Decryption Solution for Java Backend Applications
Architect's Guide
Architect's Guide
Apr 19, 2024 · Backend Development

API Gateway Design and Best Practices for Microservice Architectures

This article explains the role, core functions, design principles, and key considerations of API gateways in microservice architectures, compares popular gateway solutions, and provides guidance on achieving high performance, high availability, and scalability while ensuring security and operational efficiency.

BackendDesign PatternsSecurity
0 likes · 22 min read
API Gateway Design and Best Practices for Microservice Architectures
21CTO
21CTO
Apr 18, 2024 · Backend Development

Why Rust Beats Node.js for Web Services: Lessons from Building JustFax

This article shares the author's experience building a fully Rust‑based web service called JustFax, covering its architecture, memory efficiency, safety, async handling, type safety benefits, and the challenges of Rust's complexity, borrow checker, compile times, and ecosystem compared to Node.js.

BackendMemory Efficiencytype safety
0 likes · 7 min read
Why Rust Beats Node.js for Web Services: Lessons from Building JustFax
php Courses
php Courses
Apr 18, 2024 · Backend Development

Top PHP 7 Interview Questions and Answers for 2024

This article presents eight essential PHP 7 interview questions covering core feature innovations, performance improvements, scalar type declarations, null coalescing, the Throwable interface, the spaceship operator, anonymous classes, and enhanced error handling, with concise English explanations to help developers prepare for 2024 interviews.

BackendPHPinterview
0 likes · 7 min read
Top PHP 7 Interview Questions and Answers for 2024
php Courses
php Courses
Apr 18, 2024 · Backend Development

Why Build a Custom PHP Framework and Course Outline

This article explains the motivations for creating a custom PHP framework—such as meeting specific project needs, learning core concepts, ensuring long‑term maintainability, optimizing performance, improving usability, and enhancing security—while also presenting a detailed chapter and section outline for a self‑study course.

BackendLearningMVC
0 likes · 4 min read
Why Build a Custom PHP Framework and Course Outline
Architect
Architect
Apr 17, 2024 · Databases

How We Split a 500‑Million‑Row MySQL Table: Process, Pitfalls, and Lessons

Facing a 50‑million‑row financial transaction table that grew 6 million rows per month, the team analyzed the problem, set clear split goals, evaluated sharding middleware, designed a custom pagination algorithm, built a hybrid data‑migration plan, and executed a three‑stage rollout to safely replace the monolithic table with multiple 10‑million‑row shards.

BackendMySQLPerformance
0 likes · 13 min read
How We Split a 500‑Million‑Row MySQL Table: Process, Pitfalls, and Lessons
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Apr 17, 2024 · Backend Development

Understanding Idempotence and Common Backend Solutions

The article explains the concept of idempotence in computing, illustrates typical duplicate‑request scenarios, and presents three practical backend solutions—unique database indexes, optimistic locking with version control, and a Redis‑based token mechanism—along with their advantages, trade‑offs, and implementation details.

BackendHTTPIdempotence
0 likes · 7 min read
Understanding Idempotence and Common Backend Solutions
Java High-Performance Architecture
Java High-Performance Architecture
Apr 17, 2024 · Backend Development

Why Tech Giants Are Turning Away from Microservices in 2023

In 2023, major tech companies like Google, Amazon, and Uber publicly questioned the benefits of microservices, revealing new architectural approaches that promise lower latency, reduced costs, and simpler deployment, while highlighting the challenges and pitfalls that have led many teams to revert to monolithic designs.

ArchitectureBackendcloud-native
0 likes · 10 min read
Why Tech Giants Are Turning Away from Microservices in 2023
php Courses
php Courses
Apr 17, 2024 · Backend Development

Using session_start in PHP: Basics, Lifecycle Control, and Destruction

This article explains how to correctly use PHP's session_start function, demonstrates setting session variables, controlling session lifetime with session_set_cookie_params, and properly destroying sessions with session_destroy, providing clear code examples for each step.

BackendPHPSession Management
0 likes · 4 min read
Using session_start in PHP: Basics, Lifecycle Control, and Destruction
Code Ape Tech Column
Code Ape Tech Column
Apr 17, 2024 · Backend Development

Spring Boot Startup Configuration Principles, Extension Points, and Performance Optimizations

This article explains the core principles of Spring Boot startup configuration, demonstrates how to intervene using ApplicationContextInitializer, SpringApplicationRunListener, ApplicationRunner, and CommandLineRunner, and provides practical optimization techniques to significantly reduce application launch time.

ApplicationRunnerBackendCommandLineRunner
0 likes · 32 min read
Spring Boot Startup Configuration Principles, Extension Points, and Performance Optimizations
Java Architect Essentials
Java Architect Essentials
Apr 16, 2024 · Backend Development

Choosing the Right Delayed Task Solution: Redis Expiration, RabbitMQ Dead Letter, Time Wheel, and Redisson DelayQueue

The article evaluates common delayed‑task implementations—Redis expiration listeners, RabbitMQ dead‑letter queues, time wheels, and Redisson DelayQueue—explaining their drawbacks, proper use cases, and recommending reliable message‑queue solutions for e‑commerce order‑closing scenarios.

BackendRabbitMQRedis
0 likes · 7 min read
Choosing the Right Delayed Task Solution: Redis Expiration, RabbitMQ Dead Letter, Time Wheel, and Redisson DelayQueue
php Courses
php Courses
Apr 16, 2024 · Backend Development

How to Properly Close a cURL Session in PHP Using curl_close()

This article explains the purpose, syntax, and usage of the PHP curl_close() function, provides a complete example of initializing, configuring, executing, and closing a cURL request, and outlines the resource‑saving benefits of properly terminating cURL sessions.

BackendHTTPPHP
0 likes · 4 min read
How to Properly Close a cURL Session in PHP Using curl_close()
Top Architect
Top Architect
Apr 15, 2024 · Backend Development

Designing a Scalable Backend Architecture with API Layer and BFF for a Supply‑Chain System

This article analyzes common problems in a large‑scale supply‑chain backend—such as unclear service boundaries, tangled dependencies, and client‑specific adaptations—and proposes a layered solution using a dedicated API layer, BFF pattern, Spring Cloud components, and clear team division to improve modularity, reduce code duplication, and streamline development.

API DesignArchitectureBFF
0 likes · 13 min read
Designing a Scalable Backend Architecture with API Layer and BFF for a Supply‑Chain System
dbaplus Community
dbaplus Community
Apr 14, 2024 · Backend Development

How Meta Reached 99.99999999% Cache Consistency and What You Can Learn

This article explains Meta's approach to cache invalidation and consistency, why ultra‑high consistency matters for user experience, the monitoring infrastructure they built, the Polaris system that detects and repairs inconsistencies, and provides a concrete Python‑style code example illustrating the problem and solution.

BackendMetaPolaris
0 likes · 13 min read
How Meta Reached 99.99999999% Cache Consistency and What You Can Learn
Ops Development & AI Practice
Ops Development & AI Practice
Apr 14, 2024 · Backend Development

Designing a Scalable Booking System: Architecture, APIs, and Go Implementation

This article outlines the functional and non‑functional requirements of a booking platform, proposes a micro‑service‑based backend architecture, presents UML component and sequence diagrams, details database schemas, defines RESTful APIs, and provides Go code examples for user registration and booking creation, offering a comprehensive design blueprint.

API DesignBackendMicroservices
0 likes · 10 min read
Designing a Scalable Booking System: Architecture, APIs, and Go Implementation
Su San Talks Tech
Su San Talks Tech
Apr 14, 2024 · Backend Development

Avoid These 3 Common Pitfalls When Using Arrays.asList in Java

This article explains three hidden traps when converting arrays to lists with Arrays.asList—issues with primitive arrays, unsupported add/remove operations, and shared‑array side effects—and provides practical solutions using wrapper types, streams, or creating a new ArrayList.

BackendStreamarrays
0 likes · 5 min read
Avoid These 3 Common Pitfalls When Using Arrays.asList in Java
IT Niuke
IT Niuke
Apr 13, 2024 · Backend Development

Designing a Rule Engine for Multi‑Condition Decision Scenarios

The article explains why long chains of if‑else are hard to maintain, proposes a rule‑engine architecture with abstract BaseRule, concrete rule classes, and a RuleService that supports AND/OR short‑circuit execution, and evaluates its advantages and drawbacks with Java code examples.

AND/ORBackendDesign
0 likes · 9 min read
Designing a Rule Engine for Multi‑Condition Decision Scenarios
MaGe Linux Operations
MaGe Linux Operations
Apr 13, 2024 · Backend Development

Avoid Goroutine Leaks and Race Conditions in Go: Proven Patterns

This article explains how unbuffered channels can cause goroutine leaks, demonstrates common race pitfalls when sharing pointers across goroutines, and presents channel‑based designs that serialize access to shared state, ensuring safe and efficient concurrency in Go programs.

Backendchannelgoroutine
0 likes · 6 min read
Avoid Goroutine Leaks and Race Conditions in Go: Proven Patterns
php Courses
php Courses
Apr 12, 2024 · Information Security

How to Regenerate PHP Session IDs Using session_regenerate_id for Enhanced Security

This article explains the purpose and security risks of PHP session IDs, demonstrates how to use the session_regenerate_id function with example code to generate a new session ID, and outlines best practices such as starting the session, using HTTPS, and avoiding excessive regeneration to maintain performance.

BackendPHPSession Management
0 likes · 4 min read
How to Regenerate PHP Session IDs Using session_regenerate_id for Enhanced Security
Alibaba Cloud Developer
Alibaba Cloud Developer
Apr 12, 2024 · Backend Development

How to Build a Scalable B2B Payment System with SPI and Composition

This article explains how to redesign a legacy B2B payment system by identifying workflow differences, modeling the domain, adding a secondary abstraction layer, and implementing an SPI‑based extension framework to achieve high extensibility and maintainability while ensuring security and data isolation.

B2BBackendSPI
0 likes · 11 min read
How to Build a Scalable B2B Payment System with SPI and Composition
Top Architect
Top Architect
Apr 11, 2024 · Backend Development

Decoupling Backend Interfaces with a Dedicated TPS Microservice

The article analyzes coupling problems caused by multiple backend controllers and third‑party push interfaces, proposes a dedicated TPS microservice to encapsulate third‑party calls, demonstrates Feign integration with Java code examples, and concludes with a summary of benefits and further considerations.

ArchitectureBackendCoupling
0 likes · 8 min read
Decoupling Backend Interfaces with a Dedicated TPS Microservice
Java High-Performance Architecture
Java High-Performance Architecture
Apr 11, 2024 · Backend Development

Mastering Microservice Architecture: Patterns, Pros, Cons, and When to Use Them

This article traces the evolution of software architecture to microservices, explains their core characteristics, lists advantages and drawbacks, and provides a comprehensive guide to essential design patterns such as database per service, event sourcing, CQRS, Saga, BFF, API gateway, Strangler, circuit breaker, externalized configuration, and consumer‑driven contract testing, with guidance on when to adopt each.

ArchitectureBackendDesign Patterns
0 likes · 27 min read
Mastering Microservice Architecture: Patterns, Pros, Cons, and When to Use Them
php Courses
php Courses
Apr 10, 2024 · Backend Development

Practical Laravel API Development Course Overview

This ten‑day hands‑on Laravel course teaches the complete API development workflow—including design, routing, authentication, data handling and error management—through case studies and exercises, helping beginners and experienced developers alike master efficient backend API creation.

APIBackendLaravel
0 likes · 3 min read
Practical Laravel API Development Course Overview
Architect Chen
Architect Chen
Apr 10, 2024 · Operations

Mastering Load Balancing: Algorithms, Nginx Setup, and Real‑World Use Cases

This article explains load balancing fundamentals, shows how to configure Nginx for a Tomcat server pool, compares common balancing algorithms, describes OSI‑layer classifications, and outlines typical scenarios such as web farms, application clusters, databases, CDN, and cloud environments.

AlgorithmsBackendOperations
0 likes · 8 min read
Mastering Load Balancing: Algorithms, Nginx Setup, and Real‑World Use Cases
Java Architect Essentials
Java Architect Essentials
Apr 9, 2024 · Backend Development

Implementing Data Isolation in Java Applications Using MyBatis Interceptor and Custom Annotations

This article describes a Java data isolation solution that adds an 'env' field to tables, uses a MyBatis interceptor to rewrite SQL for environment‑aware queries, and introduces custom annotations with AOP to selectively skip environment checks, detailing implementation, challenges, and best practices.

AOPBackendCustom Annotation
0 likes · 13 min read
Implementing Data Isolation in Java Applications Using MyBatis Interceptor and Custom Annotations
Open Source Tech Hub
Open Source Tech Hub
Apr 9, 2024 · Backend Development

Is PHP Still Relevant in 2024? A Deep Dive into Its Role and Future

This article examines PHP's 2024 relevance by reviewing its historical rise, current market share, developer adoption, ecosystem strengths such as CMS dominance and modern frameworks, performance challenges, emerging technologies, and why the language remains a viable backend choice despite newer alternatives.

2024BackendPHP
0 likes · 21 min read
Is PHP Still Relevant in 2024? A Deep Dive into Its Role and Future
IT Services Circle
IT Services Circle
Apr 9, 2024 · Backend Development

ByteDance Backend Interview Experience: Key Topics and Knowledge Points

This article shares a detailed ByteDance backend interview experience covering three rounds, summarizing essential topics such as Java HashMap internals, Spring circular dependencies, MySQL indexing, OS process/thread concepts, networking protocols, TLS handshake, HTTP/2 features, and common design patterns, providing concise explanations and practical tips.

BackendDesign PatternsJava
0 likes · 25 min read
ByteDance Backend Interview Experience: Key Topics and Knowledge Points
Selected Java Interview Questions
Selected Java Interview Questions
Apr 9, 2024 · Backend Development

Applying the Chain of Responsibility Pattern for Multi‑Level Product Validation and Workflow in Java

This article explains the Chain of Responsibility design pattern, demonstrates its use for multi‑step product validation and a reimbursement workflow in Java with Spring, provides UML diagrams, configuration handling, concrete handler implementations, client execution code, and discusses the pattern’s advantages and drawbacks.

BackendChain of ResponsibilityDesign Pattern
0 likes · 18 min read
Applying the Chain of Responsibility Pattern for Multi‑Level Product Validation and Workflow in Java
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Apr 9, 2024 · Backend Development

How to Prevent Cache Avalanche Crises in Distributed Systems

This article explains what a cache avalanche is, outlines its main causes such as massive cache expiration, cache layer failures, and hotspot data concentration, and provides six practical strategies—including randomized TTLs, multi‑level caching, high‑availability designs, non‑expiring hot data, degradation, and rate limiting—to mitigate the risk and keep backend services stable.

Backendcache
0 likes · 5 min read
How to Prevent Cache Avalanche Crises in Distributed Systems
php Courses
php Courses
Apr 9, 2024 · Backend Development

Customizing Baidu Map Styles with PHP and Baidu Map API

This article provides a step‑by‑step guide on how to obtain a Baidu Map API key, include the API library in a PHP project, create a map container, initialize the map object, configure a custom JSON style, and render the styled map on a web page.

BackendBaidu Map APIMap Styling
0 likes · 5 min read
Customizing Baidu Map Styles with PHP and Baidu Map API
php Courses
php Courses
Apr 9, 2024 · Backend Development

Laravel Mixins: Extending Str and Arr Helpers with Macros

This guide explains how to use Laravel macros and Mixins to extend the Str and Arr helper classes, providing reusable methods such as fullName, initials, camelToSnake, snakeToCamel, and filterNulls, and demonstrates registration via AppServiceProvider for cleaner, maintainable backend code.

BackendLaravelMacros
0 likes · 8 min read
Laravel Mixins: Extending Str and Arr Helpers with Macros
Architect Chen
Architect Chen
Apr 9, 2024 · Backend Development

How to Warm Up Distributed Caches for High‑Concurrency Systems

This article explains what cache pre‑warming is, why it is essential for high‑traffic applications, and compares three practical approaches—scheduled tasks, batch loading, and manual trigger APIs—highlighting their advantages, drawbacks, and typical usage scenarios.

BackendOperationsPre-warming
0 likes · 6 min read
How to Warm Up Distributed Caches for High‑Concurrency Systems
Top Architect
Top Architect
Apr 8, 2024 · Backend Development

Why Token Pass‑through Is Discouraged in Microservice Authentication and Alternative Design Patterns

The article explains the drawbacks of token pass‑through in microservice authentication, advocates explicit parameter passing, outlines unified gateway authentication with Feign or Dubbo, explores Kubernetes‑integrated deployment options, and concludes with a promotional invitation to a technical community.

AuthenticationBackendDubbo
0 likes · 9 min read
Why Token Pass‑through Is Discouraged in Microservice Authentication and Alternative Design Patterns
Architecture Digest
Architecture Digest
Apr 8, 2024 · Backend Development

Design and Implementation of a Flexible Java Download Library for Spring MVC/WebFlux

This article introduces a Java library that simplifies file and resource download handling in Spring MVC and WebFlux by using annotations, reactive programming, customizable handlers, source factories, concurrent loading, compression, response writing, and event‑driven logging to support a wide range of download scenarios.

BackendDownloadJava
0 likes · 15 min read
Design and Implementation of a Flexible Java Download Library for Spring MVC/WebFlux
php Courses
php Courses
Apr 7, 2024 · Backend Development

Using PHP and SOAP Protocol for Web Service Communication

This article explains how to use PHP’s built‑in SOAP extension to create a client, send simple and complex parameters, handle authentication via SoapHeader, and process responses and errors when communicating with web services.

APIBackendPHP
0 likes · 5 min read
Using PHP and SOAP Protocol for Web Service Communication
Ops Development & AI Practice
Ops Development & AI Practice
Apr 5, 2024 · Backend Development

Unlocking Go’s log Package: Simple, Flexible, and Concurrency‑Safe Logging

This article explains the importance of logging, outlines the Go standard library log package’s design highlights—simplicity, flexibility, concurrency safety, and customizability—describes its core Logger structure, shows how mutexes ensure thread‑safe writes, and provides practical code examples with guidance on extending functionality.

BackendGolog package
0 likes · 8 min read
Unlocking Go’s log Package: Simple, Flexible, and Concurrency‑Safe Logging