JVM performance tuning monitoring tool hprof use detailed

Ⅰ Problem In real-world enterprise Java development, sometimes we encounter the following problems: OutOfMemoryError Memory leak Thread deadlock Lock Contention Java process consumes too much CPU …… These problems may be overlooked by many people in daily development (for example, some people encounter the above problems just restart the server or increase the memory, but […]

Ali Open Source Java Diagnostic Tool-Arthas

Arthas is an open source tool for Java developed by Alibaba recently. It mainly for diagnosing the problems of java. I. Overview This tool can help you do the following things: Which jar package loaded this class from? Why do you code throws various kinds of Exceptions? If you encounter problems on product environment , […]

Redis watch command

watch -n 1 -d “redis-cli -h -p 6380 info | grep -e “connected_clients” -e “blocked_clients” -e “used_memory_human” -e “used_memory_peak_human” -e “rejected_connections” -e “evicted_keys” -e “instantaneous”” watch -n 5 -d “redis-cli -h -p 6380 info | grep -e “connected_clients” -e “blocked_clients” -e “used_memory_human” -e “used_memory_peak_human” -e “rejected_connections” -e “evicted_keys” -e “instantaneous””

Yii pseudo static

How to access static php files under the yii framework without having to create multiple actions, here is a simple record, I hope to leading to a better implementation: 1, configured in main.php ‘post/.html’=>’post/page/’ This line of code is the most important 2, implement a postController 3, add the post/pages directory in the corresponding views […]