For a file that small ( 24 k size), read it in, parse it into the desired types and store it in a collection where it can be easily accessed as needed.
Type: Posts; User: Norm
For a file that small ( 24 k size), read it in, parse it into the desired types and store it in a collection where it can be easily accessed as needed.
Is the file written to more than one time? In other words, the file is created and filled with data all in one go and never written to again.
How large is the file? Can all of it be read and...
What are the requirements for accessing the data written to the file/DB?
Is the file written all at one time? Can it all be contained in memory?