CommonGarden / Grow-IoT

Software packages for smart growing environments.
http://commongarden.org/
Other
25 stars 6 forks source link

Use Timescale DB for database #417

Open JakeHartnell opened 6 years ago

JakeHartnell commented 6 years ago

Maybe we should just use timescaledb for the backend database? It's built on top of PostGreSQL and replaces our need for running both MongoDB and InfluxDB.

http://www.timescale.com/ https://github.com/timescale/timescaledb/ https://www.npmjs.com/package/meteor-pg

JakeHartnell commented 6 years ago

Maybe #315 should come first to make this work easier?

JakeHartnell commented 6 years ago

We should implement this similar to how we implemented Influx... with setting an environment variable to the URL of the database. If it works well with Grafana we can have it on by default.