Poison


  • 首页

  • 归档

  • 标签

  • 搜索
close
Poison

一次线上 CPU 飙升问题的分析解决

发表于 2017-09-11 | 阅读次数

前几日,下了班在家时突然收到监控报警,线上一组业务机器 CPU 被打满至 100%,为了保持服务的稳定运行,临时采取了升级配置、加机器等粗暴的方法将当晚扛了过去。

阅读全文 »
Poison

Java 为什么对常量的修改没有生效?

发表于 2017-05-15 | 阅读次数

写这篇文章的起因是前几天同事改了一个常量类中的提示,发布到测试环境后没有生效,正好看 《Java 解惑(谜题 93: 类的战争)》 提到了这个问题,所以写篇文章记录一下。

以下均使用命令行进行演示,至于为什么没有使用 IDE 后面会提到。

先看一个简单的 Constants 类:

1
2
3
4
5
6
7
8
/**
* Created by Poison on 15/05/2017.
*/
public class Constants {

public static final String a = "before fixing";

}
阅读全文 »
Poison

Awesome Linux tools

发表于 2017-05-06 | 阅读次数

Shell

  • fuck
阅读全文 »
Poison

Java Mission Control

发表于 2017-05-02 | 阅读次数

Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collection framework built into the Oracle JDK. It allows Java administrators and developers to gather detailed low level information about how the Java Virtual Machine (JVM) and the Java application are behaving. Java Mission Control is an advanced set of tools that enables efficient and detailed analysis of the extensive of data collected by Java Flight Recorder. The tool chain enables developers and administrators to collect and analyze data from Java applications running locally or deployed in production environments.

Java Mission Control
题图为监测 pull-readhub.me 的示例数据。

阅读全文 »
Poison

Quiz Yourself

发表于 2017-04-25 | 阅读次数

One

阅读全文 »
12…4
Poison

Poison

昨夜如梦 似流星划过

17 日志
23 标签
RSS
GitHub
Links
  • Yunfan
  • Moses
© 2016 - 2020 Poison 蜀ICP备16000644号
由 Hexo 强力驱动
主题 - NexT.Mist