Something like Redis instead? [sensorid-timerange] = value. Your key is [sensorid-timerange] to get the values for that sensor and that time range.
No more files. You might be able to avoid per usage pricing just by hosting this on a regular vps.
No more files. You might be able to avoid per usage pricing just by hosting this on a regular vps.