Tagged articles

backend

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

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

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

System Designbackendcase study
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.

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

PHPString Manipulationbackend
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.

backendinformation securitysession-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.

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

backendfile-handlingfopen
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.

Full-StackPlatformarchitecture
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.

KafkaMessage QueueRocketMQ
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.

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

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

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

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

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

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

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

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

Software Architecturebackenddevelopment trends
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.

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

backendbackticksfmt.Sprintf
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.

Design Patternsbackendscalability
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.

Memory Efficiencybackendtype 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.

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

LearningMVCPHP
0 likes · 4 min read
Why Build a Custom PHP Framework and Course Outline
Code Ape Tech Column
Code Ape Tech Column
Apr 18, 2024 · Backend Development

Applying Spring Transaction Hooks for Asynchronous Kafka Message Publishing

This article explains how to use Spring's TransactionSynchronizationManager to detect active transactions and register synchronization callbacks so that Kafka messages are sent asynchronously after transaction commit, illustrated with a payment‑system logging scenario and complete Java code examples.

AsynchronousJavaKafka
0 likes · 10 min read
Applying Spring Transaction Hooks for Asynchronous Kafka Message Publishing
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.

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

PHPSession managementWeb Development
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.

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

Message QueueRedisTime Wheel
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.

PHPbackendcurl
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 designBFFarchitecture
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.

CacheMetaMonitoring
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 designSystem Architecturebackend
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.

ArraysStreamaslist
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/ORDesignJava
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.

PHPSession managementbackend
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.

B2BSPISystem Architecture
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.

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

Design Patternsarchitecturebackend
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.

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

AOPCustom AnnotationData Isolation
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.

2024PHPPerformance
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.

Design PatternsInterviewJava
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.

Chain of ResponsibilityDesign PatternJava
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.

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

Baidu Map APIMap StylingPHP
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.

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

CachePre-warmingbackend
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.

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

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

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

GoLoggingbackend
0 likes · 8 min read
Unlocking Go’s log Package: Simple, Flexible, and Concurrency‑Safe Logging
IT Services Circle
IT Services Circle
Apr 5, 2024 · Backend Development

Understanding Common HTTP Request Error Codes and Debugging Solutions

This article explains the classification of HTTP request error codes, details typical 4xx client and 5xx server errors, provides common causes, and offers practical debugging steps and solutions to efficiently identify and resolve front‑end and back‑end issues.

DebuggingWeb Developmentbackend
0 likes · 17 min read
Understanding Common HTTP Request Error Codes and Debugging Solutions
Open Source Tech Hub
Open Source Tech Hub
Apr 3, 2024 · Fundamentals

Master JSON Schema in PHP: Validate Your Data with Confidence

This guide explains what JSON Schema is, its core components, and how to use the PHP library justinrainbow/json-schema to install, validate data, coerce types, apply defaults, handle inline references, configure validation flags, and run tests for robust API development.

JSON SchemaPHPSchema Validation
0 likes · 8 min read
Master JSON Schema in PHP: Validate Your Data with Confidence
Architecture Digest
Architecture Digest
Apr 2, 2024 · Backend Development

Outdated Java Backend Technologies and Learning Recommendations

The article examines which Java backend technologies are considered obsolete—such as JSP, Struts, Hibernate, and others—by applying criteria like practical usage, depth of understanding, and interview relevance, and advises learners on what to drop, prioritize, or master for modern development.

JSPJavaServlet
0 likes · 7 min read
Outdated Java Backend Technologies and Learning Recommendations
Top Architect
Top Architect
Apr 1, 2024 · Backend Development

Spring Boot Startup Configuration, Extension Points, and Performance Optimization Techniques

This article explains the principles of Spring Boot startup configuration, demonstrates how to intervene using ApplicationContextInitializer, SpringApplicationRunListener, ApplicationRunner, and CommandLineRunner, and provides practical optimization tips such as reducing dependencies, adjusting auto‑configuration, enabling lazy loading, compile‑time optimizations, log level tuning, and caching to speed up application startup.

backendspring-bootstartup-optimization
0 likes · 35 min read
Spring Boot Startup Configuration, Extension Points, and Performance Optimization Techniques
Top Architect
Top Architect
Apr 1, 2024 · Backend Development

Using the ip2region Offline IP Location Library with Java

This article explains how to implement IP‑location lookup by recommending the free ip2region offline library, provides Maven dependency details, shows step‑by‑step Java code for loading the XDB file, querying an IP address, interpreting the result format, and highlights its high accuracy and cross‑region support.

JavaMavenbackend
0 likes · 7 min read
Using the ip2region Offline IP Location Library with Java
Selected Java Interview Questions
Selected Java Interview Questions
Mar 31, 2024 · Backend Development

Understanding API Idempotency: Concepts, Necessity, and Practical Implementation Strategies

This article uses a relatable story to illustrate a real‑world incident caused by missing API idempotency, explains what idempotency is, why it is essential, which interfaces require it, and presents practical backend and frontend solutions such as unique indexes, optimistic/pessimistic locks, token mechanisms, and distributed locks.

APIbackendidempotency
0 likes · 13 min read
Understanding API Idempotency: Concepts, Necessity, and Practical Implementation Strategies
Deepin Linux
Deepin Linux
Mar 29, 2024 · Backend Development

Understanding QEMU Vhost‑User Backend for Virtio‑Net Devices

This article explains the architecture and implementation of the virtio/vhost device model, details how QEMU creates and initializes virtio‑net‑pci devices, describes the vhost‑user communication protocol and its integration with DPDK and the Linux vhost‑net kernel driver, and provides practical command‑line examples and code snippets.

DPDKNetwork VirtualizationQEMU
0 likes · 31 min read
Understanding QEMU Vhost‑User Backend for Virtio‑Net Devices
Selected Java Interview Questions
Selected Java Interview Questions
Mar 29, 2024 · Backend Development

Dynamic Multi-DataSource Management and Transaction Handling in Spring

This article explains how to dynamically manage multiple data sources and ensure transaction consistency across a master and several application databases in Spring by extending AbstractRoutingDataSource, using configuration‑file and database‑table solutions, and implementing a custom multi‑database transaction manager.

DataSourceDynamicRoutingJava
0 likes · 15 min read
Dynamic Multi-DataSource Management and Transaction Handling in Spring
Java Architect Essentials
Java Architect Essentials
Mar 28, 2024 · Backend Development

Why Switching MyBatis to MyBatis‑Plus Triggers LocalDateTime Errors—and How to Resolve Them

This article walks through replacing MyBatis with MyBatis‑Plus in a legacy Java project, uncovers the root cause of a LocalDateTime conversion error caused by MyBatis 3.5.1 and an outdated MySQL connector, demonstrates version upgrades and code fixes, and shares a related production bug and its remediation.

JavaLocalDateTimeMySQL
0 likes · 15 min read
Why Switching MyBatis to MyBatis‑Plus Triggers LocalDateTime Errors—and How to Resolve Them