Roel De Nijs wrote:
I implemented a record cache, so I never write records back to file, until the server is stopped.
Seriously? Which lines in the instructions.html let you make this assumption?
I also implemented a record cache, but only for reading purposes, because my assignment mandates to write off changes instantly.
A possible drawback of this approach could be: if the writing to the file fails, everything will be lost. Although this should occur very rarely (e.g. when the disk containing the database file runs out of space) a possible solution could be: creating a seperate thread that writes the records to the file each hour.
Roel De Nijs wrote:And during development I kept a small file where I made some notes about things I certainly had to mention in my choices.txt, which I created when my program was completely finished.