I will be using the PhidgetSBC as the device that will be connected to the various sensors (Temperature, humidity, CO2, on/off sensors, range finders, etc).
It will also be used to control certain things (think home brew home automation).
The code on the SBC will be handling data capture of the sensor readings (if polling it would be every 5 seconds) as well as controlling the various devices connected to the digital outputs (say to turn on a intake/exhaust fan if the temperature gets too hot and it has been decided that it would be cheaper to use fresh outside air instead of turning on the AC).
Is it smarter to use polling in this situation? Event driven would make the database file size smaller, but I feel that I am losing data accuracy / precision by not polling every sensor at a set rate. I also think that the client facing application may lose some of its readability if users can't see specific set points on graphs.
If event driven programming is the smarter choice, what then would be the ideal solution to storing the information?