Serve audio files outside of the main event loop (e.g., with Apache or nginx)
Update query file naming. Depending on the scale, multiple users could send a query at the same time. This would require query names to include a unique id that is not exclusively associated with the timestamp.
Some things to be included: