Building a distributed time-series database on PostgreSQL | Hacker News