Write a time-series database engine from scratch | Dark Hacker News