IT Xianyu
Author

IT Xianyu

We share common IT technologies (Java, Web, SQL, etc.) and practical applications of emerging software development techniques. New articles are posted daily. Follow IT Xianyu to stay ahead in tech. The IT Xianyu series is being regularly updated.

143
Articles
0
Likes
439
Views
0
Comments
Recent Articles

Latest from IT Xianyu

100 recent articles max
IT Xianyu
IT Xianyu
Jul 12, 2022 · Frontend Development

Understanding NanoID: Features, Advantages, Limitations, and Usage in JavaScript

This article introduces NanoID as a modern alternative to UUID, explains how to install and use it in JavaScript projects, compares performance, size, and security, discusses customization options and limitations, and suggests when to prefer NanoID for future development.

JavaScriptNode.jsUnique IDs
0 likes · 6 min read
Understanding NanoID: Features, Advantages, Limitations, and Usage in JavaScript
IT Xianyu
IT Xianyu
May 17, 2022 · Databases

SQL Optimization Steps and Common Scenarios

This article explains how to identify slow SQL statements, analyze execution plans with EXPLAIN, use profiling and tracing tools, and apply specific optimization techniques such as index tuning, query rewriting, and alternative storage solutions across a range of real‑world cases.

EXPLAINOptimizationProfiling
0 likes · 11 min read
SQL Optimization Steps and Common Scenarios
IT Xianyu
IT Xianyu
Apr 20, 2022 · Fundamentals

Designing Scalable Systems for Billions of Users: From a Single Server to Distributed Architecture

This article explains how to evolve a simple single‑server web application into a highly available, horizontally and vertically scalable system for billions of users by covering DNS, vertical and horizontal scaling, load balancing, database replication, sharding, denormalization, SQL/NoSQL choices, stateless design, caching, CDN and global deployment.

CachingDistributed SystemsScalability
0 likes · 18 min read
Designing Scalable Systems for Billions of Users: From a Single Server to Distributed Architecture
IT Xianyu
IT Xianyu
Apr 18, 2022 · Backend Development

Global Date and Time Conversion in Spring Boot 2.x: Custom Converters, Jackson Configuration, and Parameter Binding

This article explains how to globally handle LocalDate, LocalDateTime, and LocalTime parameters in Spring Boot 2.x by creating custom Converter beans, configuring Jackson's ObjectMapper, using @DateTimeFormat, ControllerAdvice, and understanding the underlying parameter resolution mechanisms to avoid common pitfalls such as lambda‑based converter registration failures.

ConverterJacksonJava
0 likes · 16 min read
Global Date and Time Conversion in Spring Boot 2.x: Custom Converters, Jackson Configuration, and Parameter Binding
IT Xianyu
IT Xianyu
Apr 1, 2022 · Backend Development

Why Use Spring? Understanding How It Solves Coupling Problems with Dependency Injection

This article compares traditional object creation with Spring’s dependency injection, demonstrating how injecting DAO beans via XML configuration decouples service and data layers, includes Java code examples, test results, and visual analogies of gear systems to illustrate reduced coupling.

Backend DevelopmentInversion of ControlIoC
0 likes · 5 min read
Why Use Spring? Understanding How It Solves Coupling Problems with Dependency Injection
IT Xianyu
IT Xianyu
Mar 30, 2022 · Backend Development

How to Enable SpringBoot DevTools Hot Deployment, Use Lombok, and Configure Spring Configuration Processor

This article explains how to add SpringBoot DevTools for hot deployment, integrate Lombok to simplify JavaBean code, and configure the Spring Configuration Processor for property metadata, providing step‑by‑step instructions, IDE settings, and Maven dependency snippets for a smoother development experience.

Configuration ProcessorDevToolsHot Deployment
0 likes · 5 min read
How to Enable SpringBoot DevTools Hot Deployment, Use Lombok, and Configure Spring Configuration Processor
IT Xianyu
IT Xianyu
Feb 18, 2022 · Frontend Development

Understanding Object.keys Order and V8 Property Handling to Fix a wxml2canvas Bug

This article explains why a WeChat mini‑program’s share card lost its QR code due to incorrect assumptions about Object.keys ordering, dives into the ECMAScript specification and V8’s internal property storage, and shows how to modify wxml2canvas to correctly sort elements and avoid the bug.

DebuggingFrontendJavaScript
0 likes · 19 min read
Understanding Object.keys Order and V8 Property Handling to Fix a wxml2canvas Bug
IT Xianyu
IT Xianyu
Feb 14, 2022 · Databases

MySQL Data Recovery: Backup Strategies, Point‑in‑Time Restoration, Table Recovery, and Flashback Techniques

This article explains how to prevent data loss in MySQL by enabling binlog in ROW format, performing full and incremental restores using mysqldump or XtraBackup, executing point‑in‑time recovery, restoring individual tables, skipping erroneous SQL statements, and using flashback tools such as binlog2sql and MyFlash.

Data RecoveryFlashbackbackup
0 likes · 15 min read
MySQL Data Recovery: Backup Strategies, Point‑in‑Time Restoration, Table Recovery, and Flashback Techniques