I have been searching extensively for simple yet comprehensive transaction implementation. But I have only found a collection of concepts likes write-ahead log, etc. And reading db source code is somewhat difficult and time-consuming. I would appreciate it if anyone familiar with this subject could provide me with some references or tutorials for writing one. Implementations or books would both be helpful.