Serving multiple HTTP requests to a store simultaneously when the «var/generation» folder is empty leads to a random shared resources access (concurrency) conflict

The solution is to compile the code before serving any requests.