I am not sure whether I am at right place for the question or not. But someone might have an idea regarding this.
I have around 10 files each around 100 MB. I am developing a tool that uses some of the unix commands and external program such as C. I am testing my program on local host. To accomplish my job I need to bring them into memory and perform the required task.
I am worried that when this tool will be deployed and multiple users will be accessing the the tool simultaneously then how those file will be loaded. Will all be loaded separately for each user?
For example, if 5 people are accessing the tool, and suppose each tool is using all 10 files, will the same file be loaded 5 times in the memory at different location??
I don't know how php handle this? Can someone please please explain what happens in this case. Users are accessing the same file but the sessions are different.
Is it possible to load all the files in server memory and every user that uses the tool can have access to that part of memory so that the loading of the files does not take place separately.
I will be thankful for any suggestion. Or at least to point me to some website/forum/..or anything that can help me clarify this thing.
Thanks php users.