Tag: 性能优化
22 articles
RabbitMQ Message Reliability: Publisher Confirms, mandato...
Deep dive into RabbitMQ message reliability, Publisher Confirms mechanism, mandatory Return routing failure callback, message persistence and consumer idempotency practice. This article analyzes pr...
RabbitMQ Topic Exchange: Wildcard Matching
Deep dive into RabbitMQ Topic exchange, * and # wildcard rules, RoutingKey format specifications and Java producer/consumer code examples. This article analyzes principles and practices to help rea...
RabbitMQ Work Queue and Fanout Pub/Sub Patterns
RabbitMQ Work Queue task queue load balancing practice and fanout publish-subscribe mode, including manual ACK, QoS flow control and temporary queue usage guide. This article analyzes principles an...
MQ Application: Cache Warm-up, Rate Limiting, Redis Lua, ...
E-commerce seckill/ticket-grabbing scenarios with instantaneous traffic peaks, high read/write concurrency. Use pre-static + rate limiting queuing; write path uses Redis Lua atomic pre-deduction + ...
Guava Cache Troubleshooting: OOM, Expiration, Hit Rate Is...
Using Guava Cache for local caching in Java projects, troubleshooting and fixing production issues like OOM, abnormal hit rate, thread blocking and performance regression.
FastDFS High Concurrency Optimization: max_connections, T...
Optimization for high concurrency/massive small files with single disk or RAID: upgrade to v5.04+, configure threads based on CPU cores, reduce directory levels, adjust sync parameters based on lat...
AI Investigation #104: From Model Training to Robot Deplo...
AI model deployment optimization guide: ONNX conversion, TensorRT/OpenVINO inference engines, quantization (FP16/INT8), and real-time robotics applications.
Tomcat Performance Optimization JVM Memory Model GC
In-depth guide to Tomcat performance optimization covering JVM memory model, garbage collection GC, and Tomcat configuration optimization with practical examples.
Tomcat SSL Working Principle Performance Optimization JVM
In-depth guide to Tomcat covering SSL working principle, performance optimization, parameter configuration, and JVM optimization with practical examples.
Neo4j Backup/Recovery + Warm-up and Execution Plan Practice
Neo4j database backup and recovery, data warm-up and execution plan analysis. This article deeply analyzes principles and practical applications.
MySQL Master-Slave Replication: Read-Write Separation and...
This article provides an in-depth explanation of MySQL master-slave replication: master-slave mode, read-write separation, semi-sync replication principles and configuration.
MySQL Design Guide: Availability, Scalability, Consistency
This article provides an in-depth explanation of MySQL database design: availability (redundancy, failover), scalability (sharding, read-write separation), consistency (strong consistency vs eventu...
MySQL Deadlock: Principles, Scenarios and Prevention
This article provides an in-depth explanation of MySQL deadlocks: deadlock definition, necessary conditions, table lock deadlocks, row-level deadlocks, shared to exclusive lock conversion, deadlock...
MySQL Lock Mechanism: From Table Locks to Row Locks
This article provides an in-depth explanation of MySQL lock mechanisms: pessimistic locking, optimistic locking, table-level locks, row-level locks (shared locks, exclusive locks), intention locks,...
MySQL Parallel Replication: From 5.6 to 8.0 Evolution
This article provides an in-depth explanation of MySQL parallel replication technology: from 5.6 database-based parallel to 5.7 group commit-based to 8.0 writeset-based evolution.
MySQL Dual-Master Architecture and MMM High Availability
Deep dive into MySQL dual-master architecture and MMM high availability solution: dual-master mode, MMM fault handling, monitoring mechanism. This article analyzes principles and practical applicat...
MySQL MHA Master-Slave Failover: Architecture and Impleme...
Deep dive into MySQL MHA high availability solution: MHA architecture, fault handling, primary-standby switch, lag issues and solutions. This article analyzes principles and practical applications.
MySQL Scaling Guide: Triggers, Migration, and Performance...
Explore MySQL database horizontal scaling solutions for capacity, performance, and concurrency bottlenecks. Covers scaling triggers, migration plans, and best practices with detailed technical anal...
MongoDB Indexing: Types, Principles & Best Practices
MongoDB indexes are core mechanisms for improving query performance, including single field indexes, compound indexes, multi-key indexes, geospatial indexes, text indexes and hashed indexes.
MongoDB Index Management & explain Execution Plan Analysis
MongoDB index management includes createIndex, getIndexes, dropIndex operations. explain analysis supports queryPlanner, executionStats, allPlansExecution modes, analyzing query performance through...
MongoDB Slow Query Analysis & Index Tuning
MongoDB slow query analysis through built-in Profiler, set db.setProfilingLevel(1, m) to record slow queries. EXPLAIN analysis helps identify performance bottlenecks and optimize queries.
MySQL Transaction Isolation Levels: Read Uncommitted to S...
This article provides an in-depth explanation of MySQL transaction isolation levels: Read Uncommitted, Read Committed, Repeatable Read, and Serializable, analyzing dirty read, non-repeatable read, ...