What is the fastest way (Algorithm) to generate 500,000 static html files from DB?
And is it a good practice to put all this files in single folder? or create hierarchically for this files?
We want to handle about 6,000,000 concurrent hit, so the static files will be a good solution for that. the source DB will be simple flat table without JOINS.
We want to generate this files from single table contains 500k records. the file names will be first field from this table. the HTML file will contains to display the data about 900 byte.