Tag: Performance Optimization

21 articles

RabbitMQ Message Reliability: Publisher Confirms, mandatory and Persistence

Deep dive into RabbitMQ message reliability, Publisher Confirms mechanism, mandatory Return routing failure callback, message persistence and consumer idempotency practic...

RabbitMQ Topic Exchange: Wildcard Matching

Deep dive into RabbitMQ Topic exchange, * and # wildcard rules, RoutingKey format specifications and Java producer/consumer code examples.

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.

Guava Cache Troubleshooting: OOM, Expiration and Hit Rate Issues

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, Trunk Files and nofile

Scenario: High concurrency / massive small files (trunk) / single disk or RAID Conclusion: Upgrade to v5.04+, increase max_connections and align with nofile

AI Investigation #104: From Model Training to Robot Deployment - ONNX, TensorRT and Triton

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.

MySQL Master-Slave Replication: Read-Write Separation and Semi-Sync Replication

This article provides an in-depth explanation of MySQL master-slave replication: master-slave mode, read-write separation, semi-sync replication principles and configurat...

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.

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 exclusiv...

MySQL Lock Mechanism: From Table Locks to Row Locks

Pessimistic locking is a concurrency control mechanism based on a conservative "lock first, then modify" strategy.

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.

MySQL Dual-Master Architecture and MMM High Availability

MySQL dual-master mode is a common high-availability database architecture solution, particularly suitable for the following business scenarios:

MySQL MHA Master-Slave Failover: Architecture and Implementation

Deep dive into MySQL MHA high availability solution: MHA architecture, fault handling, primary-standby switch, lag issues and solutions. This article analyzes principles...

MySQL Scaling Guide: Triggers, Migration, and Performance Optimization

Explore MySQL database horizontal scaling solutions for capacity, performance, and concurrency bottlenecks.

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...

MongoDB Index Management & explain Execution Plan Analysis

MongoDB index management includes createIndex, getIndexes, dropIndex operations.

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...

MySQL Transaction Isolation Levels: Read Uncommitted to Serializable

This article provides an in-depth explanation of MySQL transaction isolation levels: Read Uncommitted, Read Committed, Repeatable Read, and Serializable...