right now the state is written in a file, because it's very fast to read/write it and hold it in memory.
I've made non conclusive experiments with Redis, and I'm not sure a SQLite approach would work well (to test maybe).
With a file, it's difficult to share the state between different instances, for redanduncy purposes. It's not impossible thought, and maybe it's still a good approach to keep everything in memory and sync with a file.
See #7 which is another limitation of the file approach.