Closed eigenein closed 4 years ago
SQLite upserts consume like 30-40% CPU on Raspberry Zero W.
Let's try chashmap to cache the latest sensor values and check against memory before inserts.
Actually, normal HashMap may be enough.
HashMap
Issue was identified incorrectly, that's receiver thread, not database
SQLite upserts consume like 30-40% CPU on Raspberry Zero W.
Let's try chashmap to cache the latest sensor values and check against memory before inserts.