Category : performance optimization

Introduction: Without the core system source code, the time-consuming method of modifying the source code printing cannot be used. Through tcpdump, wireshark, gdb, 010 editor, flame diagram, ida, database sql time-consuming statement, oracle ash report, loadrunner and other tools, the problems that the server tps cannot go up and the C program process hangs randomly ..

Read more

1. Principles Use more memory, cache, or other methods Reduce CPU computation and network requests Reduce IO Operations (Hard Disk Read and Write) 2. Load resource optimization Consolidation and compression of static resources. Static resource caching (browser caching policy). Use CDN to load static resources faster. 3. Rendering Optimization CSS in head, JS in body ..

Read more

The Role of nginx in Applications Solve cross-domain problems Request filtering Configure gzip load balancing Static resource server Nginx is a high-performance HTTP and reverse proxy server as well as a general TCP/UDP proxy server, originally written by Russian Igor Sysoev. Nginx is now almost the necessary technology for many large websites. In most cases, ..

Read more