zlacker

[parent] [thread] 2 comments
1. brodou+(OP)[view] [source] 2021-12-18 15:24:52
Curious as to why you aren’t tracking that with a time series database?
replies(2): >>Clumsy+v7 >>earley+eo1
2. Clumsy+v7[view] [source] 2021-12-18 16:11:42
>>brodou+(OP)
The IoT hubs are an embedded system, built with a minimal memory footprint and overhead, 512 mb of ram is typical, sometimes less. Here is an example: https://www.gl-inet.com/products/gl-s1300/

That means you can't have docker and different versions of Java, node and .Net all running in parallel.

You run a single process and Sqlite is a library that allows SQL operations and database to be inbuilt. You 'budget' is like 100 mb of Ram, becauae other stuff has to run too.

All the time-series databases I know are a large, memory hungry hippo, built for distributed compute/kubernetes. Just very different usecase. If one was built with minimalism in mind, then it could be used.

3. earley+eo1[view] [source] 2021-12-19 01:17:22
>>brodou+(OP)
It's hobby diversion so minimal effort is a factor. That and that SQL query comes back in seconds. The initial experimentation was with ESP8266's and the MQTT/NodeRed/SQLite played a supporting roll.

My experience with SQLite is that it can take you a long ways before needing to look elsewhere.

[go to top]