Looking carefully at what happens when data is lost we found that it's basically all recoverable.
This lead to an amazing performance, as data is flushed only when necessary. We flush only every 10 seconds now or when the write through cache is full.
My lesson learned from that is to carefully think about the actual requirements when it comes to transactions and having loose constraints may be the quickest way to speed up performance.
For many applications even a second or two of lost data may not be a big issue.
The problem with long var names is that formulas become unreadable and function names take away horizontal real estate for their args.
There are so many ways out to make it shorter yet readable.
- idx is often used as index.
- An event handler can start with On.
- Simply take the first 3 or 4 letters of every word. simpToReadVar
- keyISR Keyboard Interrupt Service Routine
- fName file name