I am writing a python based daemon and as part of that I would want to add recovery after crash feature. Typical write ahead logging mechanisms require you to have a DB to persi