Showing 100 articles max
Su San Talks Tech
Su San Talks Tech
May 26, 2026 · Backend Development

Mybatis-Plus vs Mybatis-Flex: Which ORM Framework Is Best for Your Project?

This article provides a detailed comparison between Mybatis-Plus and Mybatis-Flex, examining their design philosophies, core mechanisms, feature sets, performance benchmarks, database support, dependency weight, and community maturity, and offers practical guidance on choosing the right framework for different project scenarios.

Feature ComparisonJavaMybatis-Flex
0 likes · 19 min read
Mybatis-Plus vs Mybatis-Flex: Which ORM Framework Is Best for Your Project?
Java Architect Handbook
Java Architect Handbook
May 26, 2026 · Backend Development

How to Prevent Duplicate Consumption in RabbitMQ? 5 Practical Solutions for Interviews

The article explains why RabbitMQ may deliver the same message multiple times, emphasizes that business‑level idempotency is required, and compares five concrete deduplication approaches—unique message ID with a dedup table, database unique constraints, Redis SETNX, optimistic locking, and state‑machine design—detailing their implementation, suitable scenarios, and trade‑offs.

DeduplicationDuplicate ConsumptionIdempotency
0 likes · 13 min read
How to Prevent Duplicate Consumption in RabbitMQ? 5 Practical Solutions for Interviews
IoT Full-Stack Technology
IoT Full-Stack Technology
May 26, 2026 · Backend Development

Build a Real‑Time Message Push Service with Spring Boot, Netty and WebSocket

This article walks through creating a Netty‑based WebSocket server integrated with Spring Boot, covering server bootstrap, global channel management, pipeline configuration, a custom handler for client messages, and a push‑message service that can target individual users or broadcast to all connections, complete with code samples and testing steps.

JavaNettySpring Boot
0 likes · 6 min read
Build a Real‑Time Message Push Service with Spring Boot, Netty and WebSocket
Java Architect Essentials
Java Architect Essentials
May 25, 2026 · Backend Development

AOP Aspect Order Mistakes? Stop Misusing @Order – A Rule That Cuts Interview Errors to Zero

A real‑world incident where mis‑ordered Spring AOP aspects caused payment callbacks to report success while the transaction rolled back leads to a concise rule—smaller @Order values have higher priority—plus pitfalls, three common scenarios, and a four‑step debugging guide that eliminates interview mistakes.

@OrderAspectJDebugging
0 likes · 8 min read
AOP Aspect Order Mistakes? Stop Misusing @Order – A Rule That Cuts Interview Errors to Zero
IT Services Circle
IT Services Circle
May 25, 2026 · Backend Development

Druid vs HikariCP: Which Connection Pool Wins?

This article compares Druid and HikariCP, the two most popular Java database connection pools, by explaining how connection pools work, presenting benchmark results, dissecting HikariCP's lock‑free design and bytecode optimizations, detailing Druid's rich monitoring and security features, and offering a practical decision framework for different scenarios.

Connection PoolDruidHikariCP
0 likes · 19 min read
Druid vs HikariCP: Which Connection Pool Wins?
IoT Full-Stack Technology
IoT Full-Stack Technology
May 25, 2026 · Backend Development

Designing a Scalable Multi‑Account Login System

This article walks through the design of a unified multi‑account login system, covering phone‑number registration, password‑optional login, third‑party integration, database schema separation, pros and cons, and a one‑click carrier‑based authentication flow.

Database Schemaaccount designbackend
0 likes · 15 min read
Designing a Scalable Multi‑Account Login System
IoT Full-Stack Technology
IoT Full-Stack Technology
May 25, 2026 · Backend Development

Practical Spring Boot + Netty + WebSocket Message Push

This article walks through building a simple Netty server integrated with Spring Boot and WebSocket, showing how to configure the server, manage channel groups, implement custom handlers, and expose a service that can push messages to individual users or broadcast to all connected clients.

JavaNettySpring Boot
0 likes · 8 min read
Practical Spring Boot + Netty + WebSocket Message Push
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 25, 2026 · Backend Development

7 Practical Ways to Secure Spring Boot APIs with Permission Control

This article walks through seven concrete implementations for controlling access to Spring Boot 3.5.0 controller endpoints—including Spring Security, Sa‑Token, custom annotation with AOP, interceptor, URL‑based filter, custom HandlerMapping, and a Spring Cloud Gateway filter—providing code samples, configuration details, and test results to help developers choose the right approach for API security.

AOPAPI SecuritySa-Token
0 likes · 14 min read
7 Practical Ways to Secure Spring Boot APIs with Permission Control
Su San Talks Tech
Su San Talks Tech
May 24, 2026 · Backend Development

How to Speed Up IntelliJ IDEA: 10 Essential Fixes for Java Developers

This article lists ten common IntelliJ IDEA pitfalls—such as high memory usage, indexing delays, Lombok errors, broken breakpoints, console encoding issues, unwanted Git commits, slow Maven downloads, classpath mismatches, shortcut conflicts, and automatic code reformatting—and provides step‑by‑step solutions to make the IDE run smoothly for Java and Spring projects.

DebuggingGitIDE optimization
0 likes · 23 min read
How to Speed Up IntelliJ IDEA: 10 Essential Fixes for Java Developers
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 24, 2026 · Backend Development

Stop Returning null! 4 Advanced Optional Patterns

The article explains why returning null from Java service methods is risky, demonstrates how to replace null with Optional as a return type, and presents four advanced Optional usage patterns—including chaining, flatMap, and proper scope—to write safer, more readable Spring Boot code.

Best PracticesFunctional ProgrammingJava
0 likes · 12 min read
Stop Returning null! 4 Advanced Optional Patterns
Coder Trainee
Coder Trainee
May 24, 2026 · Backend Development

Load Testing and Tuning Insights for a Spring Cloud Microservice System

This article walks through the complete load‑testing and performance‑tuning workflow for a Spring Cloud microservice application, covering environment preparation, JMeter script creation, benchmark execution, bottleneck analysis, JVM, database pool, and Sentinel optimizations, and presents before‑and‑after results with a detailed checklist.

DockerJMeterKubernetes
0 likes · 11 min read
Load Testing and Tuning Insights for a Spring Cloud Microservice System
Open Source Tech Hub
Open Source Tech Hub
May 24, 2026 · Backend Development

FastJSON: A Drop‑In PHP 8.3+ JSON Extension Up to 6× Faster Than ext/json

FastJSON is a high‑performance PHP 8.3+ JSON extension that serves as a drop‑in replacement for ext/json, offering namespaced fastjson_* APIs, full compatibility with json_last_error, and delivering up to six‑fold speed gains in encoding, decoding, and validation while detailing installation steps, supported flags, memory trade‑offs, and benchmark results.

FastJSONJSONPHP
0 likes · 7 min read
FastJSON: A Drop‑In PHP 8.3+ JSON Extension Up to 6× Faster Than ext/json
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 23, 2026 · Backend Development

How to Use @Lock in Spring Boot to Solve Concurrency Issues

This article explains how Spring Boot 3.5.0 leverages the @Lock annotation and JPA LockModeType to apply pessimistic read or write locks, shows custom repository implementations, provides concrete code snippets and generated SQL, and emphasizes that all lock operations must run inside a transaction.

Spring Bootcustom-repositoryjpa
0 likes · 7 min read
How to Use @Lock in Spring Boot to Solve Concurrency Issues
Java Architect Handbook
Java Architect Handbook
May 23, 2026 · Backend Development

How to Preheat Cache During Spring Startup – Interview Guide

The article explains four ways to preheat caches in Spring during startup, recommends CommandLineRunner/ApplicationRunner as the safest option, and discusses timing, async handling, error protection, and distributed‑lock strategies to avoid common pitfalls in production environments.

InterviewSpring Bootapplicationlistener
0 likes · 13 min read
How to Preheat Cache During Spring Startup – Interview Guide
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 23, 2026 · Backend Development

Three Powerful Ways to Load Custom YAML Config in Spring Boot 3

The article explains why Spring Boot's default configuration loading falls short for complex scenarios and demonstrates three concrete techniques—an EnvironmentPostProcessor, a custom PropertySourceFactory, and an ApplicationEnvironmentPreparedEvent listener—each with full code, registration steps, and runtime output.

EnvironmentPostProcessorPropertySourceFactorySpring Boot
0 likes · 6 min read
Three Powerful Ways to Load Custom YAML Config in Spring Boot 3
Black & White Path
Black & White Path
May 23, 2026 · Backend Development

Open‑Source MQTT WeChat Mini‑Program v5.2 Adds Battery Monitoring

This guide shows how to use MQTT to integrate lithium‑ion battery voltage, state‑of‑charge and health data from an ESP8266 into Home Assistant and a WeChat mini‑program, providing configuration examples, JSON payloads, and links to the fully open‑source repositories.

Battery MonitoringESP8266Home Assistant
0 likes · 4 min read
Open‑Source MQTT WeChat Mini‑Program v5.2 Adds Battery Monitoring
Open Source Tech Hub
Open Source Tech Hub
May 23, 2026 · Backend Development

Achieving Single‑Thread Peak Performance: How TrueAsync Server Rewrites the PHP Server Landscape in C

TrueAsync Server is a high‑performance HTTP/1.1, HTTP/2 and HTTP/3 server written in C that embeds directly into the PHP process, runs entirely on a single thread, eliminates inter‑thread communication, supports multi‑protocol on one port, and offers a suite of low‑level optimizations and a clear API for developers.

CHTTP/3PHP
0 likes · 17 min read
Achieving Single‑Thread Peak Performance: How TrueAsync Server Rewrites the PHP Server Landscape in C