<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Multi process / thread PHP execution</title>
	<atom:link href="http://www.saynotoflash.com/archives/multi-process-php-execution/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.saynotoflash.com/archives/multi-process-php-execution/</link>
	<description>PHP, Symfony, Web Development</description>
	<lastBuildDate>Fri, 27 Aug 2010 16:23:50 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: debian38</title>
		<link>http://www.saynotoflash.com/archives/multi-process-php-execution/comment-page-1/#comment-22145</link>
		<dc:creator>debian38</dc:creator>
		<pubDate>Wed, 14 Jul 2010 19:49:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.saynotoflash.com/?p=15#comment-22145</guid>
		<description>Hello,

you should use another methods to manage the PIDs of your forked processes, for example the shm_* functions (shared memory) or sockets (a simple and ipc).

Take also a look on libevent, you can do asynchronous programming :
http://www.php.net/manual/en/libevent.examples.php</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>you should use another methods to manage the PIDs of your forked processes, for example the shm_* functions (shared memory) or sockets (a simple and ipc).</p>
<p>Take also a look on libevent, you can do asynchronous programming :<br />
<a href="http://www.php.net/manual/en/libevent.examples.php" rel="nofollow">http://www.php.net/manual/en/libevent.examples.php</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christian</title>
		<link>http://www.saynotoflash.com/archives/multi-process-php-execution/comment-page-1/#comment-21603</link>
		<dc:creator>Christian</dc:creator>
		<pubDate>Sat, 11 Jul 2009 09:24:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.saynotoflash.com/?p=15#comment-21603</guid>
		<description>Hello,

how would I use memcached as cache of this thing?

I am running now some 130 child and db and filesystem seems to be limiting factor - I still got over 60% of memory unused and very low cpu usage.

Thanks</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>how would I use memcached as cache of this thing?</p>
<p>I am running now some 130 child and db and filesystem seems to be limiting factor &#8211; I still got over 60% of memory unused and very low cpu usage.</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daily Digest for 2009-06-30 &#124; Pedro Trindade</title>
		<link>http://www.saynotoflash.com/archives/multi-process-php-execution/comment-page-1/#comment-21586</link>
		<dc:creator>Daily Digest for 2009-06-30 &#124; Pedro Trindade</dc:creator>
		<pubDate>Wed, 01 Jul 2009 07:06:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.saynotoflash.com/?p=15#comment-21586</guid>
		<description>[...] SayNoToFlash » Multi process PHP execution        This entry was written by trindade, posted on June 30, 2009 at 11:59 pm, filed under Lifestream. Bookmark the permalink. Follow any comments here with the RSS feed for this post. Post a comment or leave a trackback: Trackback URL.    &#171; Daily Digest for 2009-06-29 [...]</description>
		<content:encoded><![CDATA[<p>[...] SayNoToFlash » Multi process PHP execution        This entry was written by trindade, posted on June 30, 2009 at 11:59 pm, filed under Lifestream. Bookmark the permalink. Follow any comments here with the RSS feed for this post. Post a comment or leave a trackback: Trackback URL.    &laquo; Daily Digest for 2009-06-29 [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jestep</title>
		<link>http://www.saynotoflash.com/archives/multi-process-php-execution/comment-page-1/#comment-21546</link>
		<dc:creator>jestep</dc:creator>
		<pubDate>Tue, 23 Jun 2009 19:37:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.saynotoflash.com/?p=15#comment-21546</guid>
		<description>Thanks John,

It&#039;s definitely a rough script right now, but I&#039;m glad it&#039;s working for you. I was in the same place as you with a huge script execution time. This brought some huge report building scripts down to a reasonable execution time. This was more or less the realization that &lt;a href=&quot;http://www.ecommerce-blog.org/archives/php-tutorial-forking-using-wget-in-the-background/&quot; rel=&quot;nofollow&quot;&gt;scripts can run concurrently in the background&lt;/a&gt;, and then just figuring out how to keep track of them.</description>
		<content:encoded><![CDATA[<p>Thanks John,</p>
<p>It&#8217;s definitely a rough script right now, but I&#8217;m glad it&#8217;s working for you. I was in the same place as you with a huge script execution time. This brought some huge report building scripts down to a reasonable execution time. This was more or less the realization that <a href="http://www.ecommerce-blog.org/archives/php-tutorial-forking-using-wget-in-the-background/" rel="nofollow">scripts can run concurrently in the background</a>, and then just figuring out how to keep track of them.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Gadbois</title>
		<link>http://www.saynotoflash.com/archives/multi-process-php-execution/comment-page-1/#comment-21539</link>
		<dc:creator>John Gadbois</dc:creator>
		<pubDate>Tue, 23 Jun 2009 00:29:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.saynotoflash.com/?p=15#comment-21539</guid>
		<description>Thanks for the awesome script!  I own a domain tools site and have implemented your script on our &lt;a href=&#039;http://www.domainsuperstar.com/domain-finder-tools/type-in-traffic-finder&#039; rel=&quot;nofollow&quot;&gt;Type-In Traffic Finder&lt;/a&gt; tool.  Execution has gone down from 40s to 1m to consistently under 10 seconds.  I&#039;ve been looking for something like this forever since our host doesn&#039;t let us use fork().  Thanks again!</description>
		<content:encoded><![CDATA[<p>Thanks for the awesome script!  I own a domain tools site and have implemented your script on our <a href='http://www.domainsuperstar.com/domain-finder-tools/type-in-traffic-finder' rel="nofollow">Type-In Traffic Finder</a> tool.  Execution has gone down from 40s to 1m to consistently under 10 seconds.  I&#8217;ve been looking for something like this forever since our host doesn&#8217;t let us use fork().  Thanks again!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
