Tagged articles
4050 articles
Page 17 of 41
Programmer DD
Programmer DD
Oct 25, 2023 · Backend Development

Why G1 Garbage Collector Beats CMS in Java 7+

The G1 Garbage Collector, introduced in Java 7 update 4, replaces CMS by using a region‑based design that minimizes pause times and improves throughput, and a detailed video with diagrams and code examples is provided to deepen understanding of its operation.

Garbage CollectionJVMbackend-development
0 likes · 2 min read
Why G1 Garbage Collector Beats CMS in Java 7+
Tencent Cloud Developer
Tencent Cloud Developer
Oct 25, 2023 · Backend Development

tRPC Open‑Source RPC Framework: Architecture, Plugins, and Performance Overview

tRPC is an open‑source, plugin‑based RPC framework that separates core communication, service‑governance, and invocation layers, supports extensible codecs, naming, config, metrics, logging and tracing plugins, offers an Admin API, and demonstrates high throughput and low tail latency in cloud‑native deployments.

RPCbackend-developmentperformance benchmark
0 likes · 8 min read
tRPC Open‑Source RPC Framework: Architecture, Plugins, and Performance Overview
Java Architect Essentials
Java Architect Essentials
Oct 24, 2023 · Backend Development

10 Essential Java Stream API Best Practices

This article presents ten practical Java Stream API best‑practice tips—including using primitive streams, avoiding nested streams, cautious parallelism, lazy evaluation, side‑effect prevention, immutability, proper ordering of filter/map, method references, distinct and sorted usage—to help developers write more efficient, readable, and safe stream code.

Stream APIbackend-developmentfunctional programming
0 likes · 8 min read
10 Essential Java Stream API Best Practices
Selected Java Interview Questions
Selected Java Interview Questions
Oct 24, 2023 · Backend Development

Performance Optimization of Helios Scoring Service Using Arthas Tracing

This article documents how the Helios scoring service, which processes hundreds of thousands of data points per day, was progressively optimized from several seconds to tens of milliseconds by analyzing Arthas trace data, refactoring loops, reducing object creation, and improving date handling, ultimately revealing that database access becomes the remaining bottleneck.

ArthasProfilingbackend-development
0 likes · 33 min read
Performance Optimization of Helios Scoring Service Using Arthas Tracing
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Oct 24, 2023 · Backend Development

Applying the Chain of Responsibility Design Pattern in Spring MVC Interceptors

This article explains how the Chain of Responsibility design pattern is employed within Spring MVC interceptors, detailing the interceptor lifecycle, code implementation, differences from the classic GoF definition, and broader use cases such as authentication, logging, and order processing.

Chain of ResponsibilityInterceptorSpringMVC
0 likes · 10 min read
Applying the Chain of Responsibility Design Pattern in Spring MVC Interceptors
Java Architect Essentials
Java Architect Essentials
Oct 23, 2023 · Backend Development

Design Patterns Employed in the MyBatis Framework

This article analyzes the MyBatis source code, illustrating how it applies a variety of design patterns—including Factory, Singleton, Builder, Adapter, Proxy, Composite, Decorator, Template, Strategy, and Iterator—to solve complex architectural challenges and improve modularity, extensibility, and maintainability.

Design PatternsFactory PatternMyBatis
0 likes · 8 min read
Design Patterns Employed in the MyBatis Framework
Selected Java Interview Questions
Selected Java Interview Questions
Oct 23, 2023 · Backend Development

Why RestTemplate Is Deprecated and How to Migrate to Spring WebClient

This article explains why Spring's RestTemplate has been deprecated, outlines the advantages of the non‑blocking WebClient, and provides detailed migration examples—including GET, POST, error handling, streaming, retries, custom configurations, and best‑practice guidelines for using WebClient in backend development.

backend-developmentjavareactive-programming
0 likes · 16 min read
Why RestTemplate Is Deprecated and How to Migrate to Spring WebClient
php Courses
php Courses
Oct 23, 2023 · Backend Development

Using date_default_timezone_set() to Set the Default Timezone in PHP

This article explains the importance of timezone settings in PHP, details the syntax and usage of the date_default_timezone_set() function, provides code examples, notes return values, and mentions alternative configuration via php.ini for global timezone configuration.

Date and TimePHPbackend-development
0 likes · 4 min read
Using date_default_timezone_set() to Set the Default Timezone in PHP
php Courses
php Courses
Oct 23, 2023 · Backend Development

Implementing a Service Layer in PHP: Benefits, Steps, and Example Code

This article explains the purpose and advantages of a service layer between presentation and domain layers, outlines step‑by‑step how to create one in PHP—including directory setup, class and interface definitions, dependency injection—and provides sample code for user management services and controller integration.

PHPService Layerbackend-development
0 likes · 4 min read
Implementing a Service Layer in PHP: Benefits, Steps, and Example Code
MaGe Linux Operations
MaGe Linux Operations
Oct 21, 2023 · Backend Development

Essential Go Commands Every Backend Developer Should Master

Learn how to install Go, verify its version, configure environment variables, initialize modules, manage dependencies, build binaries, format code, tidy unused packages, run and test your applications, and use vet for static analysis—all with concise command-line examples for efficient Go development.

backend-developmentcommand-linego-modules
0 likes · 5 min read
Essential Go Commands Every Backend Developer Should Master
php Courses
php Courses
Oct 21, 2023 · Backend Development

20 Laravel Features You Should Know in 2023

This article reviews twenty essential Laravel features released by 2023, including Blade components, Livewire integration, Sanctum, Airlock, job batching, model factories, Telescope, Echo, queued event listeners, Mix, Dusk, route model binding improvements, Horizon, route caching, Scout, Cashier, Eloquent subquery enhancements, dynamic relationships, automatic date casting, and API resources, helping developers build more efficient web applications.

2023LaravelPHP
0 likes · 11 min read
20 Laravel Features You Should Know in 2023
Open Source Tech Hub
Open Source Tech Hub
Oct 21, 2023 · Backend Development

How to Use Tinywan Storage for Multi‑File Uploads with Local, OSS, COS, and Qiniu

This guide explains how to install and configure the Tinywan Storage PHP plugin, demonstrates basic multi‑file upload, shows how to handle responses, set upload rules, validate files, and upload both Base64 images and server files to local storage or major cloud providers such as Alibaba Cloud OSS, Tencent Cloud COS, and Qiniu.

PHPStorage SDKbackend-development
0 likes · 7 min read
How to Use Tinywan Storage for Multi‑File Uploads with Local, OSS, COS, and Qiniu
DaTaobao Tech
DaTaobao Tech
Oct 20, 2023 · Backend Development

DDD Principles Overview and Lecture Series

This article provides direct links to a comprehensive DDD lecture series covering domain primitives, architectural fundamentals, the repository pattern, and best practices for designing a robust domain‑driven design in their projects, offering developers practical examples and essential guidance for implementing effective domain‑driven design.

DDDSoftware Architecturebackend-development
0 likes · 1 min read
DDD Principles Overview and Lecture Series
php Courses
php Courses
Oct 20, 2023 · Backend Development

Understanding and Using PHP readdir() Function for Directory Traversal

This article provides a comprehensive guide to PHP's readdir() function, covering its syntax, basic usage with code examples, important considerations such as handling '.' and '..' entries, and advanced techniques like combining with is_dir() to differentiate files and directories for efficient file system operations.

PHPbackend-developmentdirectory traversal
0 likes · 4 min read
Understanding and Using PHP readdir() Function for Directory Traversal
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Oct 20, 2023 · Backend Development

Mastering Asynchronous APIs in Spring Boot 2.7: Boost Concurrency and Performance

This guide explains why asynchronous request interfaces are essential for high‑concurrency Spring Boot applications, outlines their advantages and typical use cases, and provides step‑by‑step code examples for DeferredResult, Callable, ResponseBodyEmitter, StreamingResponseBody, and reactive Mono implementations.

Asynchronous APICallableDeferredResult
0 likes · 13 min read
Mastering Asynchronous APIs in Spring Boot 2.7: Boost Concurrency and Performance
Top Architect
Top Architect
Oct 19, 2023 · Backend Development

Designing Clear API Return Codes and Messages for Better Communication

This article explains why well‑designed API return codes and accompanying messages are essential for reducing communication overhead and maintenance costs, illustrates how HTTP status codes can be used as a model, describes a structured code‑segment scheme with personalized messages, and briefly mentions a related community promotion.

Error HandlingOperational Monitoringbackend-development
0 likes · 7 min read
Designing Clear API Return Codes and Messages for Better Communication
Selected Java Interview Questions
Selected Java Interview Questions
Oct 18, 2023 · Backend Development

Understanding Core Spring Boot Annotations: @SpringBootApplication, @SpringBootConfiguration, @EnableAutoConfiguration, and @ComponentScan

This article explains the core Spring Boot annotations—@SpringBootApplication, @SpringBootConfiguration, @EnableAutoConfiguration, and @ComponentScan—detailing their combined functionalities, usage patterns, and providing Java code examples to illustrate how they simplify application configuration and startup for developers.

ConfigurationSpring Bootannotations
0 likes · 7 min read
Understanding Core Spring Boot Annotations: @SpringBootApplication, @SpringBootConfiguration, @EnableAutoConfiguration, and @ComponentScan
Architect
Architect
Oct 17, 2023 · Backend Development

Ensuring DB‑Redis Consistency with a Delayed Double‑Delete Strategy in Spring Boot

The article explains how concurrent database updates can cause Redis cache inconsistency, introduces the delayed double‑delete solution, details each step of the algorithm, provides full Spring Boot AOP implementation code, demonstrates verification with test cases, and shares the complete project repository.

Cache ConsistencyDelayed DeleteSpringBoot
0 likes · 11 min read
Ensuring DB‑Redis Consistency with a Delayed Double‑Delete Strategy in Spring Boot
Top Architect
Top Architect
Oct 17, 2023 · Backend Development

Evolution of E‑commerce System Architecture: From Monolithic to Unitized Design

This article outlines the progressive architectural evolution of an e‑commerce platform, describing how increasing traffic drives the transition from a single‑module monolith through horizontal scaling, read/write separation, sharding, CDN caching, dual‑datacenter deployment, and finally to a unit‑based micro‑service architecture.

MicroservicesScalabilitySystem Architecture
0 likes · 9 min read
Evolution of E‑commerce System Architecture: From Monolithic to Unitized Design
Architecture & Thinking
Architecture & Thinking
Oct 17, 2023 · Backend Development

Boost Throughput with RocketMQ Batch Messaging: How and Why

This article explains why batch messaging in RocketMQ is crucial for high-throughput systems, outlines its characteristics and ideal scenarios, and provides complete Java code examples for sending and splitting large batches to improve performance and reduce downstream API calls.

Batch MessagingMessage QueueRocketMQ
0 likes · 7 min read
Boost Throughput with RocketMQ Batch Messaging: How and Why
Architecture Digest
Architecture Digest
Oct 17, 2023 · Backend Development

Introduction to Hutool: A Comprehensive Java Utility Library

This article introduces Hutool, a versatile Java utility library that consolidates common functions such as file handling, encryption, caching, and more, provides Maven installation instructions, and demonstrates practical code examples for date, string, number, map, security, and captcha utilities.

Code ExamplesUtility Librarybackend-development
0 likes · 8 min read
Introduction to Hutool: A Comprehensive Java Utility Library
php Courses
php Courses
Oct 17, 2023 · Backend Development

Understanding PHP Reflection: Classes, Methods, Properties, and Annotations

This article explains PHP's reflection capabilities, detailing how developers can inspect classes, interfaces, methods, and properties at runtime, and demonstrates practical uses such as dynamic object creation, method invocation, property manipulation, and annotation parsing with code examples.

Dynamic InstantiationIntrospectionPHP
0 likes · 5 min read
Understanding PHP Reflection: Classes, Methods, Properties, and Annotations
php Courses
php Courses
Oct 16, 2023 · Backend Development

Best Practices and Performance Optimization of the Singleton Pattern in PHP

This article explains the Singleton pattern in PHP, detailing best practices such as private constructors and static access methods, and presents performance optimizations including lazy instantiation and proper serialization handling, accompanied by concrete code examples.

PHPSingletonbackend-development
0 likes · 6 min read
Best Practices and Performance Optimization of the Singleton Pattern in PHP
FunTester
FunTester
Oct 16, 2023 · Backend Development

Refactoring a Decade‑Old Query Understanding Module: Identifying Code Smells, Motivations, and Remedies

The article details a three‑month refactor of a ten‑year‑old query‑understanding backend, describing the code smells encountered—duplicate code, long functions, bloated classes, oversized parameter lists, confusing temporaries, ignored warnings, and magic numbers—along with their motivations, preventive measures, and the performance improvements achieved after cleanup.

Code Refactoringbackend-developmentcode smells
0 likes · 10 min read
Refactoring a Decade‑Old Query Understanding Module: Identifying Code Smells, Motivations, and Remedies
21CTO
21CTO
Oct 15, 2023 · Backend Development

Rust vs Go for Backend Development: Which Language Wins?

This article compares Rust and Go across performance, language features, concurrency, memory safety, ecosystem, learning curve, and real‑world use cases to help backend developers choose the most suitable language for their projects.

GoRustbackend-development
0 likes · 19 min read
Rust vs Go for Backend Development: Which Language Wins?
php Courses
php Courses
Oct 14, 2023 · Backend Development

Understanding and Using PHP's is_uploaded_file() Function

This article explains the purpose, usage, and practical examples of PHP's is_uploaded_file() function, demonstrating how to verify whether a file was uploaded via HTTP POST, interpret its boolean result, and apply it for secure file handling in backend development.

PHPbackend-developmentfile upload
0 likes · 4 min read
Understanding and Using PHP's is_uploaded_file() Function
Java High-Performance Architecture
Java High-Performance Architecture
Oct 14, 2023 · Backend Development

Spring Boot Startup Explained: From Main Method to Tomcat Launch

This article walks through the complete Spring Boot startup sequence, starting with the SpringApplication.run entry point, detailing the preparation, application context creation, and refresh phases, and shows how the embedded Tomcat server is instantiated and started, illustrated with code snippets and diagrams.

Embedded TomcatSpring BootStartup Process
0 likes · 11 min read
Spring Boot Startup Explained: From Main Method to Tomcat Launch
Java Architect Essentials
Java Architect Essentials
Oct 13, 2023 · Information Security

Understanding JWT Claims and Token Renewal Strategies

This article explains the structure of JWT payloads, enumerates standard and custom claims, demonstrates how to generate tokens with expiration using Java code, and compares single‑token and double‑token renewal schemes—including Redis storage and WeChat OAuth2.0 examples—to help developers manage authentication securely.

Information Securitybackend-developmenttoken refresh
0 likes · 7 min read
Understanding JWT Claims and Token Renewal Strategies
ITPUB
ITPUB
Oct 12, 2023 · Backend Development

How Refactoring a Decade‑Old Query Engine Cut Code by 80% and Boosted Performance

After taking over a 10‑year‑old query‑understanding module, the team reduced its codebase by 80%, dramatically improved iteration speed, stability, observability, and memory usage, and enabled deployment on both self‑built cloud and on‑premise data centers by systematically eliminating classic code smells.

Code Refactoringbackend-developmentcode smells
0 likes · 13 min read
How Refactoring a Decade‑Old Query Engine Cut Code by 80% and Boosted Performance
Programmer DD
Programmer DD
Oct 11, 2023 · Backend Development

How to Set a Custom Sender Alias in Spring Boot Email

This guide explains why Spring Boot emails may show the default no‑reply address instead of a custom product name and demonstrates how to configure the sender alias using SimpleMailMessage or MimeMessage with code examples.

Email AliasJava MailMailSender
0 likes · 4 min read
How to Set a Custom Sender Alias in Spring Boot Email
Programmer DD
Programmer DD
Oct 10, 2023 · Backend Development

How to Get Free Cloud Resources and Master Redis Cluster Setup for Practice

This guide explains how to claim Alibaba Cloud's free ECS credits, use them to spin up multiple machines for hands‑on Redis cluster experiments, and outlines a step‑by‑step learning path from basic Nginx setups to advanced high‑availability and multi‑service architectures.

Cloud ResourcesClusterDevOps
0 likes · 11 min read
How to Get Free Cloud Resources and Master Redis Cluster Setup for Practice
php Courses
php Courses
Oct 9, 2023 · Backend Development

PHP Performance Optimization and Caching Techniques

This article explains key PHP performance optimization strategies—including database query tuning, efficient coding practices, and various caching methods such as Redis and file‑based page caching—providing concrete code examples to improve response time and system stability.

File CachePHPbackend-development
0 likes · 6 min read
PHP Performance Optimization and Caching Techniques
Practical DevOps Architecture
Practical DevOps Architecture
Oct 8, 2023 · Backend Development

Comprehensive RocketMQ Course: Source Code Deep Dive, Advanced Features, Performance Tuning, and Real‑World Projects

This course provides an in‑depth study of RocketMQ, covering its fundamentals, source‑code analysis, advanced features such as transactional and ordered messages, performance optimization, operational monitoring, and hands‑on projects that guide learners through installation, configuration, clustering, and integration with Spring Boot.

Distributed SystemsMessage QueueRocketMQ
0 likes · 4 min read
Comprehensive RocketMQ Course: Source Code Deep Dive, Advanced Features, Performance Tuning, and Real‑World Projects
Su San Talks Tech
Su San Talks Tech
Oct 8, 2023 · Backend Development

Unlocking RocketMQ: How Scheduled Tasks Keep Your Messaging System Healthy

This article examines the numerous scheduled tasks in RocketMQ—covering architecture, producer and consumer maintenance, broker housekeeping, and NameServer management—to reveal how periodic jobs ensure reliable message handling, performance monitoring, and system self‑protection.

RocketMQScheduled Tasksbackend-development
0 likes · 26 min read
Unlocking RocketMQ: How Scheduled Tasks Keep Your Messaging System Healthy
Java Architecture Diary
Java Architecture Diary
Oct 7, 2023 · Backend Development

What’s New in MyBatis‑Plus for Spring Boot 3? Explore the Latest Features and Fixes

Version 3.5.4‑SNAPSHOT of MyBatis‑Plus introduces auto‑increment primary key handling, generic extraction, new BaseMapper update and streaming query methods, batch operations, expanded Spring Boot 3 support, numerous dependency upgrades, and a series of optimizations and bug fixes that improve performance, compatibility, and developer ergonomics.

ORMbackend-developmentmybatis-plus
0 likes · 6 min read
What’s New in MyBatis‑Plus for Spring Boot 3? Explore the Latest Features and Fixes
Architect's Guide
Architect's Guide
Oct 7, 2023 · Backend Development

Implementing Fuzzy Search on Encrypted Sensitive Fields in a Spring Boot Backend

This article explains how to enable fuzzy searches on encrypted sensitive fields such as names, phone numbers, and ID numbers in a Spring Boot backend by using a tokenized ciphertext mapping table, outlining four possible solutions, recommending the tokenized approach, and providing complete configuration and code examples.

Spring Bootbackend-developmentdatabase encryption
0 likes · 11 min read
Implementing Fuzzy Search on Encrypted Sensitive Fields in a Spring Boot Backend
Efficient Ops
Efficient Ops
Oct 6, 2023 · Backend Development

How FAW‑Volkswagen’s DevOps Platform Boosts R&D Efficiency and Drives Digital Transformation

The 2023 China International Service Trade Fair’s Enterprise Digital Transformation Forum showcased FAW‑Volkswagen’s self‑developed DevOps platform, detailing its vision, goals, architecture, key modules, and operational impact on accelerating software development and supporting high‑quality digital transformation across the company.

DevOpsDigital TransformationR&D efficiency
0 likes · 8 min read
How FAW‑Volkswagen’s DevOps Platform Boosts R&D Efficiency and Drives Digital Transformation
Sanyou's Java Diary
Sanyou's Java Diary
Oct 6, 2023 · Backend Development

Inside Kafka Broker: How Its Network Architecture Handles Millions of Requests

This article deeply dissects Kafka Broker's network architecture and request‑processing pipeline, covering sequential, multithreaded, and event‑driven designs, the Reactor pattern, Acceptor and Processor threads, core request flow, and practical tuning parameters for high‑throughput, low‑latency deployments.

KafkaReactor Patternbackend-development
0 likes · 22 min read
Inside Kafka Broker: How Its Network Architecture Handles Millions of Requests
Selected Java Interview Questions
Selected Java Interview Questions
Oct 6, 2023 · Backend Development

Building Microservices with Spring Cloud: Concepts, Core Components, and a Step‑by‑Step Implementation Guide

This article explains the fundamentals of microservice architecture, introduces Spring Cloud and its core components, and provides a step‑by‑step tutorial for building a distributed e‑commerce system using Spring Boot, Eureka, Ribbon, Feign, and related Spring Cloud features.

MicroservicesSpring BootSpring Cloud
0 likes · 11 min read
Building Microservices with Spring Cloud: Concepts, Core Components, and a Step‑by‑Step Implementation Guide
Java High-Performance Architecture
Java High-Performance Architecture
Oct 5, 2023 · Backend Development

Why Reflection Slows Down Java Object Creation: New vs Reflective Instantiation

This article compares creating Java objects with the new operator and with reflection, presents benchmark code showing a huge performance gap, explains the underlying reasons such as JIT optimization limits and Method#invoke overhead, and outlines practical scenarios for using each approach.

Object CreationReflectionbackend-development
0 likes · 5 min read
Why Reflection Slows Down Java Object Creation: New vs Reflective Instantiation
Selected Java Interview Questions
Selected Java Interview Questions
Oct 5, 2023 · Backend Development

Design Patterns Employed in the MyBatis Framework

The MyBatis source code, spanning over twenty thousand lines, extensively applies creational, structural, and behavioral design patterns—such as Factory, Singleton, Builder, Adapter, Proxy, Composite, Decorator, Template, Strategy, and Iterator—to decouple complex scenarios and illustrate advanced backend architecture practices.

Design PatternsMyBatisORM
0 likes · 7 min read
Design Patterns Employed in the MyBatis Framework
Test Development Learning Exchange
Test Development Learning Exchange
Oct 5, 2023 · Backend Development

Building an Efficient WebSocket Testing Framework with Python

This article details the construction of a Python-based WebSocket interface testing framework, focusing on test runner encapsulation, reporting/logging integration, data-driven testing methodologies, and test case/data isolation techniques to enhance automation efficiency and maintainability.

Data‑Driven TestingWebSocket Testingbackend-development
0 likes · 5 min read
Building an Efficient WebSocket Testing Framework with Python
Selected Java Interview Questions
Selected Java Interview Questions
Oct 3, 2023 · Backend Development

Spring Boot Best Practices for Developers

This article presents a comprehensive set of Spring Boot best practices for developers, covering proper package structuring, design patterns, starter dependencies, production-ready versions, Lombok usage, constructor injection, slf4j logging, controller responsibilities, service layer logic, null‑pointer avoidance, collection handling, pagination, caching, custom exception and response handling, code cleanup, meaningful naming, case conventions, simplicity, formatting standards, and tooling such as SonarLint.

LombokSpring Bootbackend-development
0 likes · 17 min read
Spring Boot Best Practices for Developers
Code Ape Tech Column
Code Ape Tech Column
Oct 2, 2023 · Backend Development

Design Patterns Used in the MyBatis Framework

This article reviews the various design patterns—creational, structural, and behavioral—employed within MyBatis's source code, illustrating each pattern with diagrams and explaining their roles in simplifying factory creation, singleton configuration, builders, adapters, proxies, decorators, templates, strategies, and iterators.

Design PatternsFactory PatternMyBatis
0 likes · 12 min read
Design Patterns Used in the MyBatis Framework
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Oct 2, 2023 · Backend Development

Mastering Rate Limiting in Spring Boot: Token Bucket, Leaky Bucket, and Counter Techniques

An in‑depth guide explains three rate‑limiting algorithms—counter, leaky bucket, and token bucket—demonstrates their implementation in Spring Boot using Guava’s RateLimiter and Baidu’s ratelimiter‑spring‑boot‑starter, provides full Maven dependencies, configuration snippets, and Java code examples, and shows testing results.

GuavaSpring BootToken Bucket
0 likes · 8 min read
Mastering Rate Limiting in Spring Boot: Token Bucket, Leaky Bucket, and Counter Techniques
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Sep 29, 2023 · Backend Development

Mastering Global Exception Handling in Spring MVC with @RestControllerAdvice

This guide explains how Spring MVC's @ControllerAdvice, @RestControllerAdvice, and @ExceptionHandler annotations enable both local and global exception handling, including selective handling by custom annotations, specific controllers, or packages, with practical code examples for Java developers.

Exception HandlingRestControllerAdviceSpring MVC
0 likes · 7 min read
Mastering Global Exception Handling in Spring MVC with @RestControllerAdvice
php Courses
php Courses
Sep 28, 2023 · Backend Development

Understanding Encapsulation in PHP: Benefits, Code Examples, and Best Practices

Encapsulation, a core OOP principle, is explored in PHP with explanations of its benefits for data protection and modular code, followed by practical class examples—including a Person class and a BankAccount class—plus best‑practice recommendations for using access modifiers effectively.

Access ModifiersEncapsulationOOP
0 likes · 5 min read
Understanding Encapsulation in PHP: Benefits, Code Examples, and Best Practices
php Courses
php Courses
Sep 28, 2023 · Backend Development

Implementing Distributed Data Storage and Retrieval with PHP Microservices

This article explains the challenges of traditional single-node data storage, introduces microservice architecture, and provides step-by-step PHP Swoole code examples for creating storage and retrieval microservices and a client script, demonstrating how to achieve scalable, fault‑tolerant distributed data storage and retrieval.

MicroservicesPHPSwoole
0 likes · 5 min read
Implementing Distributed Data Storage and Retrieval with PHP Microservices
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Sep 28, 2023 · Backend Development

Comprehensive 12306 Railway Ticket System Project for Learning Distributed Backend Development

This article introduces the 12306 railway ticket system project, detailing its purpose for student learning, two deployment versions, extensive backend architecture, technology stack, code repository structure, design challenges, and resources to help learners master high‑concurrency distributed systems.

Distributed SystemsMicroservicesSpringBoot
0 likes · 15 min read
Comprehensive 12306 Railway Ticket System Project for Learning Distributed Backend Development
Java Backend Technology
Java Backend Technology
Sep 27, 2023 · Backend Development

How I Reduced a 4‑Second Java API Call to 60ms with Arthas Tracing

This article details how the Helios scoring API, originally taking several seconds, was optimized to under 60 ms by analyzing Arthas traces, refactoring date handling, minimizing object creation, and improving list operations, ultimately revealing database access as the remaining bottleneck.

Arthasbackend-developmentjava
0 likes · 31 min read
How I Reduced a 4‑Second Java API Call to 60ms with Arthas Tracing
Architect's Tech Stack
Architect's Tech Stack
Sep 26, 2023 · Backend Development

Deep Dive into MyBatis SQL Execution Process and Custom TypeHandler

This article explains how MyBatis binds mapper interfaces to XML files, details the complete SQL execution flow—including mapper retrieval, statement preparation, parameter handling, and result mapping—and demonstrates how to create custom TypeHandlers for both parameter setting and result set processing.

MyBatisORMSQL Execution
0 likes · 18 min read
Deep Dive into MyBatis SQL Execution Process and Custom TypeHandler
JD Cloud Developers
JD Cloud Developers
Sep 26, 2023 · Backend Development

How Rich Models Supercharge DDD Entity Design and Boost Maintainability

Rich (or active) models embed behavior and aggregation relationships directly within DDD entities, contrasting with anemic models; this approach clarifies business logic, reduces glue code, and improves readability, though it can cause entity bloat, prompting strategies like external service classes, utility helpers, and careful injection handling.

DDDEntity DesignRich Model
0 likes · 6 min read
How Rich Models Supercharge DDD Entity Design and Boost Maintainability
JD Tech
JD Tech
Sep 26, 2023 · Backend Development

Building a Simple Java Framework with ChatGPT: From Concept to Performance Testing

This article demonstrates how to use ChatGPT step‑by‑step to design, generate, refine, and test a lightweight Java framework that automatically maps enum descriptions for front‑end consumption, covering problem definition, annotation design, core class implementation, code snippets, and performance evaluation.

ChatGPTFrameworkannotation
0 likes · 11 min read
Building a Simple Java Framework with ChatGPT: From Concept to Performance Testing
Selected Java Interview Questions
Selected Java Interview Questions
Sep 25, 2023 · Backend Development

Quick Start Guide to Spring Cloud Tencent with Polaris Service Discovery

This guide introduces Spring Cloud Tencent, a one‑stop microservice solution that integrates Spring Cloud with Tencent's Polaris service discovery, and provides step‑by‑step instructions—including building the project, adding dependencies, configuring application.yml, and running the application—to quickly set up a functional Spring Cloud Tencent service.

MicroservicesPolarisSpring Cloud
0 likes · 8 min read
Quick Start Guide to Spring Cloud Tencent with Polaris Service Discovery
php Courses
php Courses
Sep 25, 2023 · Backend Development

Advanced PHP Features: Magic Methods, Type Hints, Closures, Namespaces, Generators, Iterators, Date/Time, Regex, and Variable Scope

This article provides a comprehensive guide to advanced PHP features, covering magic methods, type hints, closures, namespaces, generators, iterators, date/time handling, regular expressions, and variable scope, each explained with clear descriptions and practical code examples for backend developers.

GeneratorsIteratorsNamespaces
0 likes · 18 min read
Advanced PHP Features: Magic Methods, Type Hints, Closures, Namespaces, Generators, Iterators, Date/Time, Regex, and Variable Scope
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Sep 24, 2023 · Backend Development

Create a Custom HttpMessageConverter in Spring Boot 2.6

This article demonstrates how to create a custom HttpMessageConverter in Spring Boot 2.6.12 to parse a simple “name:张三,age:20” string into a Users object, configure it in WebMvc, and explains the underlying Spring MVC request‑handling flow that invokes the converter.

@RequestBodyCustom ConverterHttpMessageConverter
0 likes · 8 min read
Create a Custom HttpMessageConverter in Spring Boot 2.6
21CTO
21CTO
Sep 24, 2023 · Backend Development

Why Java 21 Is Driving the Surge in Spring Cloud Adoption

Oracle's Java 21 release introduces virtual threads, record patterns, ordered collections and a preview FFM API, while Eclipse survey data shows rising Spring and Spring Boot usage and accelerating cloud‑native adoption among Java developers.

Cloud NativeJava 21Spring Boot
0 likes · 5 min read
Why Java 21 Is Driving the Surge in Spring Cloud Adoption
Architect's Guide
Architect's Guide
Sep 23, 2023 · Backend Development

Understanding Network Protocols, TCP/UDP Handshakes, Socket Long Connections, and Socket Connection Pools

This article explains the fundamentals of network protocols—including the OSI model, TCP three‑way handshake and four‑way termination, UDP characteristics, long versus short socket connections, custom application‑layer protocols, and how to implement a reusable socket connection pool in Node.js.

Connection PoolNetwork ProtocolUDP
0 likes · 17 min read
Understanding Network Protocols, TCP/UDP Handshakes, Socket Long Connections, and Socket Connection Pools
php Courses
php Courses
Sep 21, 2023 · Backend Development

PHP quotemeta() Function: Syntax, Usage, and Replacement with preg_quote()

The article explains PHP's quotemeta() function, which escapes special regex characters in a string, details its syntax and parameters, lists the characters it escapes, notes its deprecation after PHP 5.3, and recommends using the newer preg_quote() function with example code.

PHPbackend-developmentpreg_quote
0 likes · 3 min read
PHP quotemeta() Function: Syntax, Usage, and Replacement with preg_quote()
Programmer DD
Programmer DD
Sep 21, 2023 · Backend Development

Cut Java 21 Record Pattern Matching Code in Half

This article demonstrates how Java 21's switch pattern matching and record deconstruction let you replace verbose instanceof checks with concise two‑line snippets, even for nested records, dramatically simplifying code that extracts fields from complex objects.

Java 21backend-developmentjava
0 likes · 4 min read
Cut Java 21 Record Pattern Matching Code in Half
php Courses
php Courses
Sep 20, 2023 · Backend Development

New PHP 8.3 Features: JSON Validation, Improved unserialize Error Handling, Dynamic Class Constants, Readonly Property Cloning, and Typed Constants

PHP 8.3 introduces native JSON validation, improved unserialize error handling, dynamic class constant access, the ability to reinitialize readonly properties during cloning, and typed class constants, providing developers with more efficient and expressive tools for backend development.

8.3PHPbackend-development
0 likes · 6 min read
New PHP 8.3 Features: JSON Validation, Improved unserialize Error Handling, Dynamic Class Constants, Readonly Property Cloning, and Typed Constants
Su San Talks Tech
Su San Talks Tech
Sep 20, 2023 · Backend Development

JDK 21 GA: All New Features, Virtual Threads & Generational ZGC Explained

The article introduces the official General Availability release of JDK 21, explains version naming conventions such as Alpha, Beta, RC, GA and LTS, and details its fifteen new features—including Virtual Threads, preview language enhancements, generational ZGC, and the removal of Shenandoah—while showing how to enable them.

Generational ZGCJDK 21Virtual Threads
0 likes · 11 min read
JDK 21 GA: All New Features, Virtual Threads & Generational ZGC Explained
php Courses
php Courses
Sep 19, 2023 · Backend Development

Understanding PHP's addslashes() Function: Syntax, Usage, and Security Considerations

The article explains PHP's addslashes() function, detailing its syntax, how it escapes specific characters, provides code examples, demonstrates its role in preventing SQL injection, and advises using stronger escaping methods such as mysqli_real_escape_string or PDO prepared statements.

SQL injectionaddslashesbackend-development
0 likes · 6 min read
Understanding PHP's addslashes() Function: Syntax, Usage, and Security Considerations
Java Interview Crash Guide
Java Interview Crash Guide
Sep 19, 2023 · Backend Development

How MyBatis Leverages 10+ Design Patterns to Simplify Complex Scenarios

The article examines how MyBatis applies a variety of creational, structural, and behavioral design patterns—such as Factory, Singleton, Builder, Adapter, Proxy, Composite, Decorator, Template, Strategy, and Iterator—to decouple its over‑twenty‑thousand‑line codebase, improve modularity, and handle complex ORM tasks efficiently.

AdapterBuilderFactory Pattern
0 likes · 8 min read
How MyBatis Leverages 10+ Design Patterns to Simplify Complex Scenarios
Su San Talks Tech
Su San Talks Tech
Sep 17, 2023 · Backend Development

Mastering CompletableFuture: From Basics to RocketMQ Integration

Explore how Java's CompletableFuture enhances asynchronous programming by overcoming Future's limitations, learn its core APIs, practical code examples, and see a real-world application in RocketMQ where combined futures streamline message persistence and replication.

CompletableFutureRocketMQasynchronous programming
0 likes · 15 min read
Mastering CompletableFuture: From Basics to RocketMQ Integration
Java Architect Essentials
Java Architect Essentials
Sep 14, 2023 · Backend Development

Understanding FastJson Serialization: Root Causes of NPE, Method Invocation Rules, and Best‑Practice Code Guidelines

This article reviews a production incident caused by a simple log statement, reconstructs the scenario with a CountryDTO example, analyzes FastJson's ASM‑based serializer internals, explains which getter/is methods are invoked during serialization, and proposes annotation‑driven coding standards to avoid similar bugs.

Code reviewJSONJava serialization
0 likes · 9 min read
Understanding FastJson Serialization: Root Causes of NPE, Method Invocation Rules, and Best‑Practice Code Guidelines
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Sep 14, 2023 · Backend Development

Building a Multi‑Level Cache Consistency Framework for Live‑Streaming Platforms

This article describes how a social live‑streaming platform designed and implemented a custom multi‑level cache consistency framework, detailing the background challenges, the architecture of a cache pipeline with Zookeeper‑based node discovery and retry‑enabled execution, and the integration SDKs that enable transparent cache clearing across services.

CacheCache ConsistencyDistributed Systems
0 likes · 10 min read
Building a Multi‑Level Cache Consistency Framework for Live‑Streaming Platforms
政采云技术
政采云技术
Sep 12, 2023 · Backend Development

Understanding Netty EventLoop: Architecture, Mechanisms, and Best Practices

This article explains the Netty EventLoop implementation, covering its reactor‑based event loop design, event handling and task processing mechanisms, code examples, common pitfalls such as the JDK epoll bug, and practical recommendations for building high‑performance backend services.

EventLoopNettyReactor Pattern
0 likes · 15 min read
Understanding Netty EventLoop: Architecture, Mechanisms, and Best Practices
Code Ape Tech Column
Code Ape Tech Column
Sep 12, 2023 · Backend Development

Why You Should Stop Using Lombok’s @Builder and Prefer @Accessors

The article explains the pitfalls of Lombok’s @Builder annotation—such as loss of default values, mutable builders, and limited applicability—and demonstrates how using @Accessors with chainable setters provides a safer, more flexible alternative for Java backend development.

AccessorsBuilderBuilder Pattern
0 likes · 10 min read
Why You Should Stop Using Lombok’s @Builder and Prefer @Accessors
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Sep 12, 2023 · Backend Development

Mastering Spring’s ObjectFactory and FactoryBean: When and How to Use Them

This article explains the differences between Spring's ObjectFactory and FactoryBean interfaces, shows how they are applied in bean creation, servlet API injection, and custom implementations, and provides code examples and best‑practice tips for resolving bean ambiguities in a Spring backend.

FactoryBeanObjectFactorybackend-development
0 likes · 10 min read
Mastering Spring’s ObjectFactory and FactoryBean: When and How to Use Them
Architecture Digest
Architecture Digest
Sep 11, 2023 · Backend Development

Optimizing Apache HttpClient for High-Concurrency Scenarios

This article details practical optimization techniques for Apache HttpClient—including connection pooling, keep-alive, singleton client usage, proper timeout settings, and asynchronous handling—to reduce average request latency from 250 ms to about 80 ms in a ten-million-calls-per-day service.

Connection PoolingHttpClientKeep-Alive
0 likes · 11 min read
Optimizing Apache HttpClient for High-Concurrency Scenarios
php Courses
php Courses
Sep 11, 2023 · Backend Development

Using PHP str_repeat() Function: Syntax, Parameters, and Practical Examples

This article explains the PHP str_repeat() function, covering its basic syntax, parameters, return value, and multiple practical examples such as creating separators, padding strings, generating patterns, and producing random strings, while providing complete code snippets and output demonstrations.

Code ExamplesPHPString Manipulation
0 likes · 6 min read
Using PHP str_repeat() Function: Syntax, Parameters, and Practical Examples
php Courses
php Courses
Sep 11, 2023 · Backend Development

Using Static Return Types and JIT in PHP 8 to Improve Performance

This article explains PHP 8’s new static return type feature and JIT compiler, showing how they enhance type safety, code readability, and execution speed through practical examples and configuration guidance for developers to adopt best practices.

JITPHP8backend-development
0 likes · 4 min read
Using Static Return Types and JIT in PHP 8 to Improve Performance