April 4, 2017

This is what a memory leak looks like

Left, side of this chart, VSZ (virtual memory) and RSS (RAM) over time (obtained via ps) for a process using poor implementation of KafkaClient in java, which is creating a new kafka client per GET request. This is bad.

Right side of the chart, current performance once I fixed the previous developer’s code, and implemented a singleton.

wtf

Powered by Hugo & Kiss.