Quote:
will that user get the latest files or updates?hope you all will get my point?
Yes, he will get the latest file unless you are using some caching or CDN gateways, which cache the content. If you are not using caching services, or CDNs, or similar techniques, then users will always get the fresh content. Besides, on cloud you should provide your users with fresh content and fresh files;
cloud services are not free, and if you are going to pay, pay a bit more to get maximum output.
Load balancing servers manage the traffic and direct them to virtual machines at the backend, and this backend is what does the processing. If you want your users to always get the fresh content, do not implement caching at all (
did I seriously say this?), but likewise you say that you know the traffic timings (3 PM has low traffic etc. in your post), then you can implement low caching policies for times when traffic is high and frequent.
Also, in this scenario, I would just keep the data outside the virtual machines and load the data from there so that all 4 of the virtual machines are abstracted from read/write operations on the disk, and they request data storage providers to deliver the data; now, in this scene you can have
data provider cache the storage files for you.
BTW, which cloud provider are you using? Most of these concepts apply to Microsoft Azure and I personally have tested it against their services, but other providers should provide you with a similar architectural design.
For example, Azure already has this feature in their App Services that guarantee zero-downtime in your applications,
Set up staging environments for web apps in Azure App Service | Microsoft Docs[
^]. So users always get latest version of application, Azure manages the load balancing itself.