You are here: splitting a script over two servers « PHP Programming Language « IT news, forums, messages
splitting a script over two servers

Posted by bleen on 04/12/07 15:56

can someone point me in the right direction here..

I have a script (essentially a giant for loop) that takes about 20
mins to run on my server. I want "split" this process onto a second
server by doing something like this:

system("/srv1/path/to/php /path/to/script.php ".$arg1." ".$arg2." > /
dev/null &");
system("/srv2/path/to/php srv1/path/to/script.php ".$arg1." ".$arg2."
> /dev/null &");

ideas? thoughts? questions? comments? concerns? jokes?

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация