Introduce a very useful Java process monitoring tool, which can print out the average time and maximum time consumption of each method in the Java class, which is very helpful for troubleshooting delays in Java programs. The name of this tool is: Greys-Anatomy. Greys positioning is a professional JVM business problem location tool. Since it […]
Month: April 2019
Shell scripts monitor server processes and ports
Shell scripts monitor server processes and ports Recently learned shell programming, wrote a script that can monitor the port, PID, program name, etc. used by the current server; it can be used to find out if there are any ports that are not commonly used to be intercepted, and then judge whether it has been […]
Use AWS SDK for Java 2.0,Set S3 object public access
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 […]
Kafka Producer Performance Optimization
When we are talking about performance of Kafka Producer, we are really talking about two different things: latency: how much time passes from the time KafkaProducer.send() was called until the message shows up in a Kafka broker. throughput: how many messages can the producer send to Kafka each second. Many years ago, I was in […]