Question: |
Good evening.Please tell me, are there any restrictions on sending data to the server?For example, if a program needs to send data to the server every 10-60 seconds and replace any file. Any interval can be done more often.Thanks in advance) |
Answer: |
Hello. I do not quite understand which program is which file should be changed and in what increments it? please specify, preferably with a concrete example. |
Question: |
I have a program that collects data and splits them in files. These files must be transferred to the server. Data is collected every 10 minutes. But many of these data: 240*3. Is there a minimum interval between the transmission data to the server? Or it is not in principle and I can put the interval in 1-2 seconds for example? |
Question: |
The program is written by me and it works locally on the computer |
Answer: |
if your program will not create a burden such that there is no interval |
Question: |
Here. This is exactly what I need. Files weigh 20 KB max, and each file is sent separately with an interval in 2 seconds. Files 240*3. Then pause for 10 minutes and the process repeats. If the load on the server in this process? |
Answer: |
it all depends on what you budeet to do with the files on the server |
Question: |
Each file serves to generate a particular page. This is something database type is mSQL, but always to write them to the database even more demanding I think. Therefore, data will be taken using the php function `file` to generate a particular page.As I understand the function of sending data from the computer, there are no restrictions? |
Answer: |
you bcdata razmeshati few easy hundred thousand pages files? |
Question: |
No. page will be one. She just needs to have fresh data. It guys were gonna be taking information from a file on a GET request, and it involves an appeal to one of the file, which is now 240*3, ie no more than 720. |
Answer: |
what is the page size and how the script will change the data? |
Question: |
The size is about 50 KB or less. The data server does not change, they are updated locally and should be sent to the server once in 10-50 minutes. |
Answer: |
then we do not understand what makes a script? where the data go and what is happening on the server |
Question: |
The server was not doing anything time-consuming tasks, I wrote a program to compile data on my comp in C. the Data are taken every 10-50 minutes.But Your server needs to receive the data at intervals of 10-50 minutes.But when after 10-50 minutes starts sending, the data will go wave and will be sent as separate files with an interval of 1-2 seconds + time of sending.And 720 pieces and each weighs 15-20 KB.(It`s about 5 minutes of dispatch)So I`m worried if it can somehow overload Your server or not?These files will always replace the old data and will always be 720.And the page should show one of them when you GET the user`s request. On the server side, no action except the reading of one of them, will not.So if I can do this frequent sending data to upload to the server, then I will do another transmission algorithm.Actually this question))) does the frequency of sending data from a computer to the server or not?))) |
Question: |
but, 30 minutes of sending |
Answer: |
please Wait. |
Answer: |
why do you need to split the files on the 720? |
Question: |
Each of them for different purposes via GET request and it automatically generated on S. I launched a program, now data is sent to the server, view please, is it from my side, the load on the server. |
Question: |
the download is over |
Answer: |
so why split files? not easier the whole file? |
Question: |
It`s different files is a time.If files are archived, you will have to do a function on the server which will decompress the archive and replace the data in a certain time and that time must be matched to the refresh time of uploaded files. If all the data fit in a single file and send, then the client data will be to open the txt document which is 240*3*60 and display only the necessary info in 58 time. Moreover, not all information is updated when data is updated and will be replaced on the old computer. It is even more resource intensive. I ran the update data to Your server and all went well, updated exactly <=720 documents. If the load has not been and will not be, then I leave running my prog and how the data will be more I`ll unsubscribe. This is a test mode and there will be about 600*3.Also please tell me if I would like to make any load on Your services, I instantly shut off and start backup mode as updates once a day. |
Answer: |
well |