July 7th, 2009, 05:47 AM
Sending data to a remote machine from a multi-process/multi-thread app
What is the best way to send data from an application that runs as multiple processes and multiple threads to another machine?
Take the example of apache web server in worker mode. The server runs as a number of processes with a number of threads within each process. The individual threads service client request.
Assuming that each of the web server threads has to dump some data to a remote machine, what could be the best way to do it? The frequency that which data has to be dumped would clearly depend on the load on the web server. The more the load, the more the number of threads.
July 14th, 2009, 07:04 AM
Re: Sending data to a remote machine from a multi-process/multi-thread app
I guess you have to assess your business requirement again. It totally depends on what important and what is not really important for you. The "best way" may mean different thing if the important factors are changed.
Originally Posted by pankaj.talk
Nevertheless... My suggestion is to use available software in the market as it will help you to reduce time and cost. One of the example is if you use UNIX operating systems, you can mount NFS and write the data to files. And it will automatically get the data over to the remote machine.
Click Here to Expand Forum to Full Width
This a Codeguru.com survey!