Postgres isn't ideal, you need a timeseries database for streaming data.