About

You can’t connect the dots looking forward; you can only connect them looking backwards. So you have to trust that the dots will somehow connect in your future. The pain you feel when you write is actually the pain of clarifying your thinking.(David Perell)

Zookeeper Transaction Log

分析的 zookeeper 代码版本为 3.9.1 。 zookeer 的 transaction log 为二进制文件,采用的是大端序。 zookeeper 数据持久化的功能在 zookeeper/server/persistence 下。 解析日志就可以获取 zookeeper 的数据。可以用来实现实时备份到另一

Ipc Signal

signal 什么是 signal Signals are various notifications sent to a process in order to notify it of various “important” events. 信号是发送给进程的各种通知,以便通知它发生了各种“重要”的事件。 有哪些信号?默认怎么处理? Signal Name Default

Asm How Java Byte Code Execute

jvm jvm 是一个栈式(stack-based)虚拟计算机。啥意思,就是大多数的 opcode 的操作数在 operand stack 上,执行的结果也放在 oprand stack 上。 有的 opcode 的操作数在 local variable ta

Java Jdk Proxy

分析环境: jdk8 dynamic proxy 是啥? A dynamic proxy class is a class that implements a list of interfaces1 specified at runtime such that a method invocation through one of the interfaces on an instance of the class will be encoded and dispatched to another object through a uniform interface2. 动态代理类生成调用方法如下: Proxy.newProxyInstance(handler.getClass().getClassLoader(),