number of writes to spiffs
Posted: Mon Nov 02, 2020 2:41 pm
I am running a temperature logging program that writes 18 bytes of data to a csv file every two minutes. After the data file reaches 16kb I start overwriting older entries in the file. I am running on an esp-01 with 1mb flash. I also have OTA enabled and files stored to support the web page.
How good will the write leveling work under these circumstances? I am wondering how long before it becomes a brick.
16k/18 * 10,000 = ~9 million writes @ 30/hour = 34 years
or is it:
1mb/18 * 10,000 = ~582 million writes @ 30/hour = 2,216 years
How good will the write leveling work under these circumstances? I am wondering how long before it becomes a brick.
16k/18 * 10,000 = ~9 million writes @ 30/hour = 34 years
or is it:
1mb/18 * 10,000 = ~582 million writes @ 30/hour = 2,216 years