table of Contents
-
Preface
- How can we do a good job of performance tuning? I. Overview
- 01 | How to develop performance tuning standards?
- 02 | How to develop a performance tuning strategy? Two, Java programming performance tuning
- 03 | String performance optimization should not be underestimated, hundreds of megabytes of memory can easily store dozens of gigabytes of data
- 04 | Use regular expressions carefully
- 05 | ArrayList or LinkedList? Improper use performance is a thousand times worse
- 06 | How does Stream improve the efficiency of traversing a collection?
- 07 | Explain the design and optimization of HashMap
- 08 | I/O model of network communication optimization: How to solve the I/O bottleneck under high concurrency?
- 09 | Serialization of network communication optimization: avoid using Java serialization
- 10 | Communication protocol for network communication optimization: How to optimize RPC network communication?
- 11 | In-depth understanding of NIO optimization implementation principles
- Recommend several commonly used performance testing tools Three, multi-threaded performance tuning
- 12 | Multithreaded lock optimization (on): in-depth understanding of the optimization method of Synchronized synchronization lock
- 13 | Multithreaded lock optimization (middle): In-depth understanding of the optimization method of Lock synchronization lock
- 14 | Multithreaded Lock Optimization (Part 2): Use Optimistic Locking to Optimize Parallel Operations
- 15 | Multithreaded Tuning (Part 1): What operations caused a context switch?
- 16 | Multi-threaded tuning (Part 2): How to optimize multi-threaded context switching?
- 17 | The use of concurrent containers: identifying the best containers in different scenarios
- 18 | How to set the thread pool size?
- 19 | How to use coroutines to optimize multi-threaded business? Four, JVM performance monitoring and tuning
- 20 | Sharpen the knife and not cut the firewood by mistake: If you want to know the JVM tuning, first understand the JVM memory model
- 21 | In-depth JVM Just-in-Time Compiler JIT, Optimize Java Compilation
- 22 | How to optimize the garbage collection mechanism?
- 23 | How to optimize JVM memory allocation?
- 24 | The memory continues to rise, how can I troubleshoot the problem? Five, design pattern tuning
- 26 | Singleton mode: How to create a single object to optimize system performance?
- 27 | Prototype mode and Flyweight mode: a weapon to improve system performance
- 28 | How to use design patterns to optimize concurrent programming?
- 29 | Producer consumer model: e-commerce inventory design optimization
- 30 | Decorator Mode: How to optimize the complex commodity price strategy in the e-commerce system? Six, database performance tuning
- 32 | MySQL Tuning SQL Statements: How to write high-performance SQL statements?
- 33 | MySQL Tuning Transaction: Database Transaction Tuning in High Concurrency Scenarios
- 34 | MySQL Tuning Index: Index Failure and Optimization
- 35 | Remember an online SQL deadlock accident: how to avoid deadlock?
- 37 | Case study of e-commerce system table design optimization
- 38 | Optimization of database parameter settings
- 39 | Q&A Class: InnoDB knowledge points in MySQL 7. Actual combat drill field
- 41 | How to design a better distributed lock?
- 42 | Distributed transaction tuning of e-commerce system
- 43 | How to use cache to optimize system performance?
- 44 | Remember the performance bottleneck tuning of Double Eleven
Postscript: In the attitude of learning, all the cases in this article are hand-made, supplemented and expanded at the same time of writing. I believe that every student will have a great improvement after reading, technology sharing, as long as they are willing to work hard, everyone can become a big cow!