Tagged articles
4050 articles
Page 13 of 41
Java High-Performance Architecture
Java High-Performance Architecture
Jun 4, 2024 · Backend Development

Master Spring Security & JWT for Seamless Single Sign-On (SSO)

This comprehensive guide walks you through the concepts of Single Sign-On, the mechanics of JWT, RSA asymmetric encryption, and step‑by‑step integration of Spring Security with JWT, providing full Maven project setup, configuration files, utility classes, custom filters, and testing instructions for a robust distributed authentication system.

AuthenticationJWTSingle Sign-On
0 likes · 25 min read
Master Spring Security & JWT for Seamless Single Sign-On (SSO)
Sanyou's Java Diary
Sanyou's Java Diary
Jun 3, 2024 · Backend Development

Understanding the Full Lifecycle of a RocketMQ Message: From Production to Deletion

This article walks through every stage of a RocketMQ message—from producer creation, routing, queue selection, and storage with zero‑copy techniques, through high‑availability replication, consumption modes, ordering guarantees, and finally automatic cleanup—providing code examples and architectural diagrams for each step.

RocketMQZero-Copybackend-development
0 likes · 26 min read
Understanding the Full Lifecycle of a RocketMQ Message: From Production to Deletion
Java Tech Enthusiast
Java Tech Enthusiast
Jun 3, 2024 · Backend Development

Integrating URule Rule Engine into Java Spring Boot Projects

The article explains how to embed the open‑source URule rule engine into a Spring Boot application, covering installation, datasource configuration, library definitions for variables, constants, parameters and actions, creating visual or script rule sets and decision tables, and demonstrates a membership‑upgrade use case.

backend-developmentjavarule engine
0 likes · 16 min read
Integrating URule Rule Engine into Java Spring Boot Projects
360 Smart Cloud
360 Smart Cloud
Jun 3, 2024 · Backend Development

Design and Performance Analysis of a Cascaded SFU Architecture for Video Conferencing (VCS)

The article presents a technical overview of a WebRTC‑based video conferencing system that employs a single‑SFU architecture, identifies scalability and latency challenges in large‑scale and global deployments, and proposes a cascaded SFU solution with detailed signaling, buffer management, and performance evaluation demonstrating improved load balancing and extensibility.

Cascaded ArchitectureSFUVideo Conferencing
0 likes · 12 min read
Design and Performance Analysis of a Cascaded SFU Architecture for Video Conferencing (VCS)
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 3, 2024 · Backend Development

Why Static Field Injection Fails in Spring 6 and How to Do It Correctly

This article examines why Spring 6 does not support injecting static fields or methods with @Resource, @Autowired, or @Inject, demonstrates the resulting errors, and presents proper ways to inject static dependencies using instance‑method or constructor injection, backed by source‑code analysis of the relevant bean post‑processors.

Static Fieldsbackend-developmentdependency-injection
0 likes · 9 min read
Why Static Field Injection Fails in Spring 6 and How to Do It Correctly
php Courses
php Courses
May 31, 2024 · Backend Development

Extracting Photo Metering Mode Using PHP Exif Extension

This tutorial explains how to enable the PHP Exif extension, read a JPEG's Exif data, and extract the MeteringMode value to identify the camera's metering mode, providing complete code examples and a brief interpretation of common metering mode values.

EXIFMetering ModePHP
0 likes · 4 min read
Extracting Photo Metering Mode Using PHP Exif Extension
Java High-Performance Architecture
Java High-Performance Architecture
May 30, 2024 · Backend Development

How to Build a Clean, Robust Java Controller Layer with Unified Responses and Validation

This article explains how to design an effective Java controller layer by separating concerns, introducing a unified response structure, applying global response wrapping, leveraging Spring's validation mechanisms, and handling custom exceptions to produce concise, maintainable backend code.

ControllerException Handlingbackend-development
0 likes · 18 min read
How to Build a Clean, Robust Java Controller Layer with Unified Responses and Validation
macrozheng
macrozheng
May 28, 2024 · Backend Development

Why Upgrading to JDK 17 with ZGC Can Slash GC Pauses to Sub‑millisecond

This article explains how moving to JDK 17 and the low‑latency ZGC garbage collector can reduce pause times to under 10 ms, improve throughput, and meet demanding real‑time service requirements, while providing practical upgrade steps, JVM tuning parameters, and performance comparisons.

Garbage Collectionbackend-developmentjava
0 likes · 8 min read
Why Upgrading to JDK 17 with ZGC Can Slash GC Pauses to Sub‑millisecond
php Courses
php Courses
May 27, 2024 · Backend Development

Using PHP Traits in Symfony for Reusable and Modular Code

This guide explains how to use PHP Traits within the Symfony framework to encapsulate reusable functionality, demonstrating the creation of a LoggerTrait, its integration into a UserService, and the injection of that service into a controller for clean, modular, and DRY code.

PHPSymfonyTraits
0 likes · 5 min read
Using PHP Traits in Symfony for Reusable and Modular Code
FunTester
FunTester
May 27, 2024 · Backend Development

Understanding Unix Domain Sockets and a Go Implementation

This article explains Unix domain sockets as a high‑performance inter‑process communication mechanism, describes their types and workflow, outlines advantages and typical use cases, and provides a complete Go example of a server and client communicating via a Unix socket.

GoIPCInterprocess Communication
0 likes · 7 min read
Understanding Unix Domain Sockets and a Go Implementation
Selected Java Interview Questions
Selected Java Interview Questions
May 26, 2024 · Backend Development

Comprehensive Guide to Spring Boot Annotations

This article provides a detailed overview of the most commonly used Spring Boot annotations, covering core, prototype, Spring Boot, Spring Cloud, caching, testing, database access, JPA, and global exception handling annotations, with clear explanations and practical Java code examples for each.

Spring Frameworkannotationsbackend-development
0 likes · 17 min read
Comprehensive Guide to Spring Boot Annotations
Architect's Guide
Architect's Guide
May 26, 2024 · Backend Development

Applying Abstract Methods, Anonymous Inner Classes, and Future Pattern for Highly Abstracted Java Service Design

The article demonstrates how to achieve high abstraction in Java by using abstract methods overridden by subclasses, passing behavior through anonymous inner classes, and implementing an asynchronous Future pattern with listeners to handle request results, providing complete code examples for each technique.

Abstract ClassAsynchronousFuture Pattern
0 likes · 8 min read
Applying Abstract Methods, Anonymous Inner Classes, and Future Pattern for Highly Abstracted Java Service Design
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
May 25, 2024 · Backend Development

Understanding Spring's IoC Container: BeanFactory, ListableBeanFactory, HierarchicalBeanFactory, and AutowireCapableBeanFactory

This article explains the core Spring IoC concepts by analyzing the top‑level BeanFactory interface and its three important sub‑interfaces—HierarchicalBeanFactory, ListableBeanFactory, and AutowireCapableBeanFactory—illustrating their responsibilities, inheritance relationships, and practical usage with code examples.

BeanFactoryIoCbackend-development
0 likes · 8 min read
Understanding Spring's IoC Container: BeanFactory, ListableBeanFactory, HierarchicalBeanFactory, and AutowireCapableBeanFactory
Architect
Architect
May 24, 2024 · Backend Development

How to Build a MySQL‑Based Fuzzy Company Name Matcher with Regex and IKAnalyzer

This article walks through a real‑world approval workflow where a business user adds a company, explains why MySQL REGEXP is chosen over Elasticsearch for fuzzy matching, and details the step‑by‑step implementation—including name preprocessing, tokenization with IKAnalyzer, and a custom SQL query that ranks results by match degree.

IKAnalyzerMySQLbackend-development
0 likes · 13 min read
How to Build a MySQL‑Based Fuzzy Company Name Matcher with Regex and IKAnalyzer
php Courses
php Courses
May 24, 2024 · Backend Development

Building a High-Performance Data Processing Engine with PHP and SOAP

This article demonstrates how to build a high‑performance data processing engine using PHP and SOAP by setting up a SOAP server, creating a client, and applying optimization techniques such as efficient function design, caching, asynchronous processing, and database tuning.

PHPSOAPbackend-development
0 likes · 5 min read
Building a High-Performance Data Processing Engine with PHP and SOAP
php Courses
php Courses
May 23, 2024 · Backend Development

Using PHP rsort Function to Sort Arrays in Descending Order

This article explains the PHP rsort function, its syntax, parameters, and sorting flags, and provides a step‑by‑step code example that demonstrates how to sort an array in descending order and output the result, along with a brief overview of additional sorting options.

PHParray sortingbackend-development
0 likes · 4 min read
Using PHP rsort Function to Sort Arrays in Descending Order
Programmer DD
Programmer DD
May 23, 2024 · Backend Development

6 Essential Ways to Read Request Parameters in Spring Boot

This guide explains six common Spring Boot techniques—@RequestParam, @PathVariable, @MatrixVariable, @RequestBody, @RequestHeader, and @CookieValue—for extracting URL query strings, path variables, matrix variables, request bodies, headers, and cookies, complete with code examples for each method.

APIRequest Parametersbackend-development
0 likes · 5 min read
6 Essential Ways to Read Request Parameters in Spring Boot
Top Architect
Top Architect
May 22, 2024 · Backend Development

Using MybatisX Plugin for Rapid MyBatis Development in Spring Boot

This article introduces the MybatisX IDEA plugin, outlines its benefits for reducing boilerplate in MyBatis/MyBatis‑Plus projects, and provides a step‑by‑step tutorial—including database setup, Maven dependency configuration, plugin installation, connection troubleshooting, and code generation—complete with Maven and Java code examples.

IDE pluginMyBatisXbackend-development
0 likes · 7 min read
Using MybatisX Plugin for Rapid MyBatis Development in Spring Boot
MaGe Linux Operations
MaGe Linux Operations
May 22, 2024 · Backend Development

Why Switch from PHP to Go? Boosting Live‑Streaming Concurrency

The article explains why a backend developer moved from PHP to Go, highlights Go’s popularity and simplicity, and demonstrates how Go’s concurrency primitives like sync.WaitGroup and errgroup can transform serial live‑stream data fetching into parallel execution, drastically reducing request latency.

GoWaitGroupbackend-development
0 likes · 9 min read
Why Switch from PHP to Go? Boosting Live‑Streaming Concurrency
php Courses
php Courses
May 22, 2024 · Backend Development

Comprehensive Backend Development Course: Processes, Socket Programming, Nginx, FASTCGI, Byte Order, and Redis Fundamentals

This course provides an in‑depth exploration of core backend concepts, covering process fundamentals, TCP/IP socket communication, Nginx integration with PHP‑FPM via FASTCGI, host‑to‑network byte order conversion, and Redis basics, aiming to equip developers, sysadmins, and network engineers with comprehensive backend development skills.

NGINXNetwork Protocolsbackend-development
0 likes · 3 min read
Comprehensive Backend Development Course: Processes, Socket Programming, Nginx, FASTCGI, Byte Order, and Redis Fundamentals
21CTO
21CTO
May 21, 2024 · Backend Development

REST vs GraphQL: When to Choose the Right API Architecture

This article compares REST and GraphQL API styles, explaining their principles, advantages, disadvantages, typical use cases, and providing code samples so developers can decide which architecture best fits their project requirements.

Code ExamplesGraphQLWeb services
0 likes · 12 min read
REST vs GraphQL: When to Choose the Right API Architecture
php Courses
php Courses
May 21, 2024 · Backend Development

Deep Dive into Swoole 5, Hyperf 3, and PHP 8 Coroutine Frameworks

This course offers an in‑depth exploration of Swoole 5, Hyperf 3, and PHP 8 coroutine features, teaching developers how to harness asynchronous programming to boost concurrency, performance, and efficiency in modern PHP applications through practical, hands‑on examples.

FrameworkHyperfPHP8
0 likes · 4 min read
Deep Dive into Swoole 5, Hyperf 3, and PHP 8 Coroutine Frameworks
php Courses
php Courses
May 21, 2024 · Backend Development

Implementing User Registration and Data Storage with PHP Functions

This article demonstrates how to use PHP functions to implement user registration and data storage, covering input validation, password hashing, MySQL database connection, SQL insertion, and returning operation results, while highlighting security considerations and practical code examples.

MySQLPHPbackend-development
0 likes · 4 min read
Implementing User Registration and Data Storage with PHP Functions
Architect
Architect
May 20, 2024 · Backend Development

Unlocking MyBatis: 10+ Design Patterns Powering Its Architecture

This article dissects MyBatis's source code, revealing how more than ten classic design patterns—such as Factory, Singleton, Builder, Adapter, Proxy, Composite, Decorator, Template, Strategy, and Iterator—are applied to decouple complex scenarios, improve extensibility, and streamline ORM operations.

AdapterBuilderDesign Patterns
0 likes · 11 min read
Unlocking MyBatis: 10+ Design Patterns Powering Its Architecture
Selected Java Interview Questions
Selected Java Interview Questions
May 20, 2024 · Backend Development

Redis Utility Spring Boot Starter: Features, Usage, and Implementation Details

This article introduces a Spring Boot starter that provides a ready‑to‑use Redis utility suite—including common tools, distributed locks, message queues, delay queues, pagination queries and web helpers—explains how to add the Maven dependency, configure modules via YAML, and details the internal auto‑configuration and bean implementations for MQ and delayed messaging.

backend-developmentdelay queuejava
0 likes · 8 min read
Redis Utility Spring Boot Starter: Features, Usage, and Implementation Details
php Courses
php Courses
May 20, 2024 · Backend Development

PHP: A Still-Powerful Backend Language for Modern Web Development

The article examines PHP’s role in web development, outlining its strengths such as ease of use, open‑source community, and server‑side capabilities, while also discussing reasons for its declining popularity, the shift to JavaScript frameworks, and why it still remains a viable backend choice for many projects.

Node.jsPHPWeb Development
0 likes · 9 min read
PHP: A Still-Powerful Backend Language for Modern Web Development
php Courses
php Courses
May 20, 2024 · Backend Development

Using curl_init() in PHP: Syntax, Parameters, Return Value, and Example

This article explains the PHP curl_init() function, covering its syntax, optional URL parameter, return value, and provides a detailed example demonstrating how to initialize a cURL session, set options, execute the request, handle errors, and process the response data.

APIPHPbackend-development
0 likes · 4 min read
Using curl_init() in PHP: Syntax, Parameters, Return Value, and Example
Su San Talks Tech
Su San Talks Tech
May 20, 2024 · Backend Development

Mastering Java Optional: When to Use It and Common Pitfalls

This article explores the proper usage of Java's Optional class, debunks common misconceptions, examines its internal implementation, compares methods like map, orElse, orElseGet, and provides practical code examples to help developers avoid null‑pointer pitfalls and write cleaner backend code.

Code Examplebackend-developmentjava
0 likes · 11 min read
Mastering Java Optional: When to Use It and Common Pitfalls
Open Source Linux
Open Source Linux
May 20, 2024 · Backend Development

What Is Middleware and Why It’s Crucial for Modern Software Architecture

Middleware is software that connects system software and application software, enabling communication between components and centralizing application logic toward the system layer; it is widely employed in modern IT frameworks such as web services and service‑oriented architectures to streamline integration and functionality.

Software Architecturebackend-developmentmiddleware
0 likes · 3 min read
What Is Middleware and Why It’s Crucial for Modern Software Architecture
Architect
Architect
May 18, 2024 · Backend Development

Building a Microservice Gateway with Spring Cloud Gateway

This article explains what a microservice gateway is, outlines the advantages of Spring Cloud Gateway, and provides step‑by‑step instructions with code examples to create, configure, and run a reactive API gateway for Java microservices.

Spring Cloud Gatewayapi-gatewaybackend-development
0 likes · 7 min read
Building a Microservice Gateway with Spring Cloud Gateway
Tencent Cloud Developer
Tencent Cloud Developer
May 17, 2024 · Backend Development

Is PHP Still Worth Learning? Analysis of Its Decline, Ecosystem, and Future Trends

While PHP’s popularity has fallen to historic lows as developers favor languages with stronger typing, concurrency and AI support, its simplicity, vast built‑in library, evolving tools like Swoole and Laravel, and continued community investment mean it still serves many web projects, though large‑scale systems may be better suited to Java or Go.

EcosystemPHPProgramming Language
0 likes · 19 min read
Is PHP Still Worth Learning? Analysis of Its Decline, Ecosystem, and Future Trends
Sohu Tech Products
Sohu Tech Products
May 15, 2024 · Backend Development

Design and Implementation of a Simplified RocketMQ SDK

To simplify RocketMQ usage, I designed an internal SDK that abstracts complex client configurations, offering single‑call ordered message sending, per‑message consumption, unified result handling, and enforced consistent subscription settings, thereby reducing developer effort and preventing common integration errors.

Distributed SystemsMessagingRocketMQ
0 likes · 6 min read
Design and Implementation of a Simplified RocketMQ SDK
php Courses
php Courses
May 15, 2024 · Backend Development

How to Use PHP's setcookie Function to Set Cookies

This article explains how to use PHP's setcookie function to create and customize browser cookies, covering its syntax, parameter meanings, and practical examples such as setting expiration, path, domain, secure and HttpOnly flags.

PHPWeb Developmentbackend-development
0 likes · 4 min read
How to Use PHP's setcookie Function to Set Cookies
21CTO
21CTO
May 13, 2024 · Backend Development

Why PHP Isn’t Dead: Key Features From 5.4 to 8.1 That Revitalize the Language

This article debunks common PHP criticisms by tracing the language’s evolution since PHP 5.4, highlighting modern features such as traits, short array syntax, arrow functions, named arguments, enums, and performance gains that make PHP a viable backend choice today.

PHPPHP 8backend-development
0 likes · 7 min read
Why PHP Isn’t Dead: Key Features From 5.4 to 8.1 That Revitalize the Language
Python Programming Learning Circle
Python Programming Learning Circle
May 13, 2024 · Backend Development

Django 5.0 Released: New Python Compatibility, Field Groups, and Database‑Computed Fields

Django 5.0 has been officially released, adding support for Python 3.10‑3.12, introducing field‑group templates to simplify form rendering, and providing new database‑computed field features such as Field.db_default and GeneratedField, while also marking the end of mainstream support for Django 4.2 and 4.1.

Database Computed FieldsDjangoField Group
0 likes · 5 min read
Django 5.0 Released: New Python Compatibility, Field Groups, and Database‑Computed Fields
Selected Java Interview Questions
Selected Java Interview Questions
May 11, 2024 · Backend Development

A Comprehensive Guide to Using Arthas for Java Application Diagnosis and Debugging

This article introduces Arthas, an open‑source Java diagnostic tool from Alibaba, explains its key features, shows how to install it via Maven, and provides step‑by‑step commands for entering the shell, monitoring JVM status, tracing method calls, observing system resources, dynamically redefining code, and connecting to applications using default or Telnet modes.

Arthasbackend-developmentdiagnostics
0 likes · 8 min read
A Comprehensive Guide to Using Arthas for Java Application Diagnosis and Debugging
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 11, 2024 · Backend Development

How to Dynamically Refresh Spring Boot Configurations at Runtime

This article explains two practical approaches for achieving real‑time external configuration refresh in Spring Boot 2.7, covering a custom ApplicationContextInitializer that periodically updates the Environment and a bean‑refresh technique using ContextRefreshedEvent to rebind @ConfigurationProperties, complete with code examples and testing endpoints.

ApplicationContextInitializerConfiguration RefreshRefreshScope
0 likes · 9 min read
How to Dynamically Refresh Spring Boot Configurations at Runtime
21CTO
21CTO
May 10, 2024 · Backend Development

Master Nginx: From Basics to Advanced Configuration and Load Balancing

This guide walks you through Nginx fundamentals—including its role as a web server, proxy, reverse proxy, and load balancer—followed by step‑by‑step installation, configuration examples, and essential commands for managing a production‑grade Nginx setup.

NGINXWeb serverbackend-development
0 likes · 11 min read
Master Nginx: From Basics to Advanced Configuration and Load Balancing
Meituan Technology Team
Meituan Technology Team
May 9, 2024 · Backend Development

Evolution and Practice of Domain-Driven Design (DDD) in Meituan Dianping Transaction System

The article recounts Meituan Dianping’s transaction system evolution—from a simple MVC design to microservices and a plug‑in platform—illustrating how domain‑driven design’s ubiquitous language, bounded contexts, and strategic modeling guided the separation of core, supporting, and generic domains and enabled scalable, maintainable architecture.

Domain-Driven DesignMicroservicesarchitecture evolution
0 likes · 20 min read
Evolution and Practice of Domain-Driven Design (DDD) in Meituan Dianping Transaction System
Java High-Performance Architecture
Java High-Performance Architecture
May 9, 2024 · Backend Development

How to Implement Role-Based Data Permissions in MyBatis-Plus with Interceptors

Learn how to enforce role‑based data permission filtering in MyBatis‑Plus by creating custom annotations, implementing an InnerInterceptor, and integrating a permission handler that dynamically builds WHERE clauses based on user roles, with both basic and advanced examples covering SQL parsing, role scopes, and plugin configuration.

Data PermissionInterceptorbackend-development
0 likes · 17 min read
How to Implement Role-Based Data Permissions in MyBatis-Plus with Interceptors
Architect
Architect
May 8, 2024 · Backend Development

Choosing the Right API Architecture: RPC, SOAP, REST, or GraphQL?

This article compares the four major API architectural styles—RPC, SOAP, REST, and GraphQL—by explaining how each works, outlining their strengths and weaknesses, presenting real‑world use cases, and offering guidance on selecting the most suitable style for a given project.

APIComparisonGraphQL
0 likes · 21 min read
Choosing the Right API Architecture: RPC, SOAP, REST, or GraphQL?
Lobster Programming
Lobster Programming
May 7, 2024 · Backend Development

How to Build Redis-Based Delayed Queues: 3 Practical Approaches

This article explains three common methods for implementing delayed queues with Redis—using key expiration notifications, Zset with scheduled tasks, and Redisson’s RDelayedQueue—detailing their concepts, core code examples, advantages, and limitations for backend developers.

ZSetbackend-developmentjava
0 likes · 5 min read
How to Build Redis-Based Delayed Queues: 3 Practical Approaches
21CTO
21CTO
May 6, 2024 · Backend Development

How McDonald’s Scales 20,000 Orders per Second with Hexagonal and Event‑Driven Architecture

This article narrates how McDonald’s food‑delivery platform uses a hexagonal, event‑driven, micro‑service architecture with serverless functions, message brokers, and schema registries to achieve massive scalability, low latency, and reliable order processing for millions of daily users.

Event-Driven ArchitectureHexagonal ArchitectureMicroservices
0 likes · 8 min read
How McDonald’s Scales 20,000 Orders per Second with Hexagonal and Event‑Driven Architecture
Java Tech Enthusiast
Java Tech Enthusiast
May 6, 2024 · Backend Development

Design Patterns in MyBatis Source Code

MyBatis, a widely used Java ORM, embeds around ten classic design patterns—including Factory, Singleton, Builder, Adapter, Proxy, Composite, Decorator, Template Method, Strategy, and Iterator—to modularize object creation, structure, and behavior, thereby simplifying complex data access and caching mechanisms within its architecture.

Design PatternsORMbackend-development
0 likes · 8 min read
Design Patterns in MyBatis Source Code
macrozheng
macrozheng
Apr 29, 2024 · Backend Development

Boost Java Development with MyBatisX: Full Guide to Code Generation and JPA Features

This article introduces MyBatisX, an IDEA plugin that streamlines MyBatis development with navigation, GUI‑based code generation, customizable templates, JPA‑style method hints, and icon settings, providing step‑by‑step instructions and visual examples to enhance backend productivity.

IDEA PluginMyBatisXbackend-development
0 likes · 8 min read
Boost Java Development with MyBatisX: Full Guide to Code Generation and JPA Features
Architect
Architect
Apr 28, 2024 · Backend Development

Understanding Spring's Circular Dependency Resolution with a Three‑Level Cache

This article explains how Spring solves circular dependencies by using a three‑level cache system, walks through the underlying source‑code execution flow, clarifies the purpose of each cache level, and discusses why the design is essential for AOP‑enabled beans.

BeanFactoryThree-level Cacheaop
0 likes · 12 min read
Understanding Spring's Circular Dependency Resolution with a Three‑Level Cache
Architecture Digest
Architecture Digest
Apr 28, 2024 · Backend Development

Understanding FastJSON Serialization: Why isChinaName() Is Invoked and How to Control Serialized Methods

This article analyzes a FastJSON serialization issue where a getter method is unexpectedly called, explains the underlying ASM‑generated serializer mechanism, details which methods FastJSON invokes during serialization, and proposes using @JSONField(serialize = false) to explicitly exclude methods from the serialization process.

ASMJSONFieldbackend-development
0 likes · 8 min read
Understanding FastJSON Serialization: Why isChinaName() Is Invoked and How to Control Serialized Methods
Java High-Performance Architecture
Java High-Performance Architecture
Apr 26, 2024 · Backend Development

Mastering Spring Transaction Hooks: Safely Sync Kafka Messages After Commit

This article explains how to use Spring's TransactionSynchronizationManager to detect active transactions and register callbacks that asynchronously send Kafka messages only after a transaction successfully commits, illustrated with a payment‑system case study and complete code examples.

TransactionSynchronizationManagerbackend-developmentjava
0 likes · 9 min read
Mastering Spring Transaction Hooks: Safely Sync Kafka Messages After Commit
Top Architecture Tech Stack
Top Architecture Tech Stack
Apr 26, 2024 · Backend Development

Visualizing and Optimizing Java Inheritance Diagrams in IntelliJ IDEA

This guide explains how to use IntelliJ IDEA’s diagram feature to view, clean up, and explore inheritance and interface relationships of Java classes such as Servlets, including removing unwanted nodes, inspecting members, adjusting visibility, zooming, adding classes, and jumping to source code.

Inheritance DiagramIntelliJ IDEAServlet
0 likes · 6 min read
Visualizing and Optimizing Java Inheritance Diagrams in IntelliJ IDEA
Architect
Architect
Apr 25, 2024 · Backend Development

Design and Implementation of an Elasticsearch Data Synchronization Service (ECP)

This article describes the challenges of synchronizing billions of order records to Elasticsearch and presents the design, architecture, and key technical details of a generic data‑sync service (ECP) that supports multiple data sources, dynamic rate limiting, retry strategies, SPI‑based extensibility, environment isolation, health‑check, fault recovery, smooth migration, and elegant logging.

Dynamic Rate LimitingElasticsearchbackend-development
0 likes · 22 min read
Design and Implementation of an Elasticsearch Data Synchronization Service (ECP)
Zhuanzhuan Tech
Zhuanzhuan Tech
Apr 25, 2024 · Backend Development

From Campus to Backend Development: Preparing for and Thriving in Your First Job

This article shares a recent graduate's journey into the software industry, offering practical advice on career direction, job search strategies, essential backend technologies, continuous learning, team integration, and balancing technical and business skills to succeed as a junior developer.

backend-developmentcareerjob preparation
0 likes · 12 min read
From Campus to Backend Development: Preparing for and Thriving in Your First Job
macrozheng
macrozheng
Apr 25, 2024 · Backend Development

How to Upgrade the Mall Project to Spring Boot 3 & JDK 17 – Complete Guide

This article walks through upgrading the open‑source Mall e‑commerce system to Spring Boot 3 and JDK 17, covering dependency version updates, migration from SpringFox to SpringDoc, new Spring Data Elasticsearch usage, revised Spring Security configuration, Docker deployment tips, and essential code changes.

ElasticsearchSpringDocbackend-development
0 likes · 19 min read
How to Upgrade the Mall Project to Spring Boot 3 & JDK 17 – Complete Guide
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Apr 25, 2024 · Backend Development

Design and Implementation of a Generic Connection Pool in Go (Conecta)

This article explains the motivation, design principles, and implementation details of Conecta, a lightweight, configurable Go library that provides a universal connection pool for various services such as databases, TCP/UDP, and custom connections, complete with extensible callbacks and background health checks.

Connection PoolGobackend-development
0 likes · 19 min read
Design and Implementation of a Generic Connection Pool in Go (Conecta)
Top Architect
Top Architect
Apr 24, 2024 · Backend Development

Improving Spring Boot Code Quality with Java Reflection

This article demonstrates how to use Java reflection in Spring Boot projects to automatically enforce naming conventions and coding standards, thereby enhancing code quality, maintainability, and scalability while providing practical demo steps and code examples.

Reflectionbackend-developmentcode quality
0 likes · 11 min read
Improving Spring Boot Code Quality with Java Reflection
php Courses
php Courses
Apr 24, 2024 · Backend Development

Using strtoupper() in PHP to Convert Strings to Uppercase

This article explains how the PHP strtoupper() function converts all alphabetic characters in a string to uppercase, detailing its syntax, parameters, return values, and providing multiple code examples that demonstrate usage with simple strings, multi‑word sentences, and strings containing numbers or special characters.

PHPbackend-developmentstrtoupper
0 likes · 4 min read
Using strtoupper() in PHP to Convert Strings to Uppercase
php Courses
php Courses
Apr 19, 2024 · Backend Development

Why PHP Remains a Viable Choice for Web Development in 2024

Despite perceptions of PHP as outdated, this article explains why its flexibility, strong community, performance improvements in PHP 8.1, rapid deployment, scalability, and clean-code frameworks like Laravel make it a practical and efficient backend solution for web development in 2024, while noting cases where other languages may be preferable.

LaravelPHPScalability
0 likes · 6 min read
Why PHP Remains a Viable Choice for Web Development in 2024
php Courses
php Courses
Apr 19, 2024 · Backend Development

Using curl_multi_select() in PHP to Wait for Active cURL Transfers

This article explains how to use PHP's curl_multi_select() function within the curl_multi library to wait for active cURL transfers, describes its parameters, demonstrates a complete example with multiple handles, and provides best‑practice tips for efficient multi‑request handling.

HTTPPHPbackend-development
0 likes · 4 min read
Using curl_multi_select() in PHP to Wait for Active cURL Transfers
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Apr 19, 2024 · Backend Development

SpringBoot Extension Interfaces: BeanPostProcessor, BeanFactoryPostProcessor

This article introduces the key SpringBoot extension interfaces—including BeanPostProcessor, BeanFactoryPostProcessor, BeanDefinitionRegistryPostProcessor, SmartInstantiationAwareBeanPostProcessor, SmartInitializingSingleton, ApplicationContextInitializer, EnvironmentPostProcessor, and the *Runner interfaces—explaining their purposes, usage patterns, and providing concrete code examples to help developers customize and extend SpringBoot applications effectively.

BeanPostProcessorExtension InterfacesSpringBoot
0 likes · 10 min read
SpringBoot Extension Interfaces: BeanPostProcessor, BeanFactoryPostProcessor
Selected Java Interview Questions
Selected Java Interview Questions
Apr 18, 2024 · Backend Development

Understanding @Configuration vs @Component Bean Overriding in Spring Boot 2.0.3

This article explains why a Spring Boot 2.0.3 application creates two UserManager beans when both @Configuration + @Bean and @Component are used, how the container decides which instance is injected, and how newer Spring versions allow developers to control bean‑definition overriding via configuration.

Bean OverridingComponentbackend-development
0 likes · 8 min read
Understanding @Configuration vs @Component Bean Overriding in Spring Boot 2.0.3
php Courses
php Courses
Apr 18, 2024 · Backend Development

Using PHP's urlencode Function for URL Encoding

This article explains how to use PHP's built-in urlencode function to safely encode URLs containing special or non‑ASCII characters, demonstrates encoding of both English and Chinese strings with code examples, discusses practical usage in GET requests, and notes the difference between urlencode and rawurlencode for space handling.

PHPURL encodingWeb Development
0 likes · 4 min read
Using PHP's urlencode Function for URL Encoding
macrozheng
macrozheng
Apr 18, 2024 · Backend Development

Boost Spring Boot Performance with Redis Lua Scripts: A Complete Guide

This tutorial explains Lua scripting fundamentals, why Lua is ideal for Redis, common use cases, and step‑by‑step integration of Lua scripts into Spring Boot applications—including dependency setup, configuration, code examples, performance benefits, error handling, security considerations, and best‑practice recommendations.

Error HandlingLua scriptingbackend-development
0 likes · 21 min read
Boost Spring Boot Performance with Redis Lua Scripts: A Complete Guide
Java Tech Enthusiast
Java Tech Enthusiast
Apr 17, 2024 · Fundamentals

Understanding the .git Directory Structure and Its Components

The hidden .git folder stores all repository data—including configuration, branch references, commit objects, logs, the staging index, and executable hooks—organized into subdirectories such as config, objects, refs, logs, info, hooks, and index, enabling Git to track history, manage branches, and automate workflows.

DevOpsGitRepository Structure
0 likes · 9 min read
Understanding the .git Directory Structure and Its Components
Tongcheng Travel Technology Center
Tongcheng Travel Technology Center
Apr 17, 2024 · Backend Development

In-Depth Analysis of Apache RocketMQ Architecture, Operation Principles, and High‑Throughput Mechanisms

This article provides a comprehensive overview of Apache RocketMQ, detailing its core components, producer and consumer workflows, storage strategies, master‑slave synchronization, Raft‑based half‑write and leader election mechanisms, and best‑practice recommendations for high‑throughput, fault‑tolerant messaging systems.

Distributed SystemsHigh ThroughputMessage Queue
0 likes · 22 min read
In-Depth Analysis of Apache RocketMQ Architecture, Operation Principles, and High‑Throughput Mechanisms
21CTO
21CTO
Apr 16, 2024 · Backend Development

Essential Backend Development Practices to Boost Efficiency and Scalability

Backend development underpins every software application, and mastering practices such as input validation, robust error handling, separation of concerns, and thorough testing and documentation ensures applications are secure, maintainable, and scalable, empowering developers to build resilient server‑side systems.

Error HandlingSeparation of Concernsbackend-development
0 likes · 6 min read
Essential Backend Development Practices to Boost Efficiency and Scalability
macrozheng
macrozheng
Apr 16, 2024 · Backend Development

Boost Java Backend Development with DDD, CQRS, and Automated Maven Archetype Generation

This article explains how to lower the learning curve of DDD and CQRS by using structured, standardized, and templated approaches, introduces a Maven archetype for rapid project scaffolding, and demonstrates an IntelliJ IDEA plugin that auto‑generates boilerplate code for aggregate roots, commands, queries, and related components.

CQRSDDDSpringBoot
0 likes · 16 min read
Boost Java Backend Development with DDD, CQRS, and Automated Maven Archetype Generation
php Courses
php Courses
Apr 16, 2024 · Backend Development

Integrating Sentry for Application Monitoring and Error Tracking in Laravel

This guide explains the importance of application monitoring and error tracking in Laravel, introduces Sentry’s features, and provides step‑by‑step instructions for installing, configuring, and customizing Sentry—including error reporting, performance monitoring, real‑time notifications, and advanced integration options—to improve stability and user experience.

LaravelSentrybackend-development
0 likes · 10 min read
Integrating Sentry for Application Monitoring and Error Tracking in Laravel
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Apr 16, 2024 · Backend Development

Speed Up Spring Startup with Parallel Bean Initialization

This article introduces Spring 6.2’s Parallel Bean Initialization feature, explains its benefits for reducing startup time, provides step‑by‑step code examples for configuring background bean initialization and a bootstrap executor, compares traditional and concurrent initialization timings, and details the underlying implementation in the Spring container.

Parallel Bean Initializationbackend-developmentconcurrency
0 likes · 7 min read
Speed Up Spring Startup with Parallel Bean Initialization
Top Architect
Top Architect
Apr 15, 2024 · Backend Development

Implementing Data Masking in SQL, Java, and MyBatis‑Mate Sensitive Jackson

This article demonstrates how to mask sensitive data such as phone numbers, ID cards, and personal information using SQL string functions, a Java library (sensitive‑plus), and the MyBatis‑Mate Sensitive Jackson plugin, providing complete code examples, configuration files, and test results for backend developers.

backend-developmentdata maskingjava
0 likes · 11 min read
Implementing Data Masking in SQL, Java, and MyBatis‑Mate Sensitive Jackson
php Courses
php Courses
Apr 15, 2024 · Backend Development

Generating and Decoding QR Codes in PHP

This article explains how to use PHP functions and open‑source libraries to generate QR code images and decode them back into text, providing step‑by‑step code examples for both creation and decoding processes.

PHPQR codebackend-development
0 likes · 4 min read
Generating and Decoding QR Codes in PHP
php Courses
php Courses
Apr 15, 2024 · Backend Development

Using PHP is_file() to Check Whether a Path Is a File

This article explains the PHP is_file() function, demonstrates how to use it with example code to verify if a given path points to a file, and outlines important considerations such as existence checks, directory limitations, and behavior with symbolic links on Windows.

FilesystemPHPbackend-development
0 likes · 3 min read
Using PHP is_file() to Check Whether a Path Is a File
Architecture Digest
Architecture Digest
Apr 14, 2024 · Backend Development

Optimizing Nested Loops in Java: From O(N²) to O(N) Using HashMap

This article demonstrates how to replace a costly double‑for‑loop that matches two large lists of users with a HashMap lookup, showing performance measurements, the effect of adding a break statement, and detailed Java code examples for backend developers.

HashMapalgorithmbackend-development
0 likes · 7 min read
Optimizing Nested Loops in Java: From O(N²) to O(N) Using HashMap
php Courses
php Courses
Apr 12, 2024 · Backend Development

Communicating with MIDI Devices Using PHP

This article explains the basics of the MIDI protocol and demonstrates how to use PHP's serial communication extension to send MIDI messages to musical devices, providing a complete code example and guidance for extending the implementation.

MIDIMusic TechnologyPHP
0 likes · 4 min read
Communicating with MIDI Devices Using PHP
FunTester
FunTester
Apr 12, 2024 · Backend Development

Performance Optimization Techniques for Backend Systems: Replacing Protobuf with C++ Classes, Cache‑Friendly Structures, jemalloc, and Lock‑Free Data Structures

The article presents practical backend performance optimization methods—including substituting Protobuf with native C++ classes, employing cache‑friendly data structures, integrating jemalloc/tcmalloc, using lock‑free double‑buffer designs, and tailoring data formats—to achieve up to three‑fold speed improvements and significant latency reductions.

Cache FriendlyProtobufbackend-development
0 likes · 15 min read
Performance Optimization Techniques for Backend Systems: Replacing Protobuf with C++ Classes, Cache‑Friendly Structures, jemalloc, and Lock‑Free Data Structures
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Apr 12, 2024 · Backend Development

Master Spring Boot Externalized Config: Locations, Overrides & Advanced Options

This guide explains how Spring Boot 3.1.10 discovers and loads external configuration files from classpath and filesystem locations, how to customize file names and paths with spring.config.name, spring.config.location, and spring.config.additional-location, and demonstrates merging, profile-specific files, optional prefixes, wildcards, imports, and handling missing resources.

Externalized Configurationbackend-developmentconfiguration files
0 likes · 11 min read
Master Spring Boot Externalized Config: Locations, Overrides & Advanced Options