<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Fri, 24 May 2013 10:28:16 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Ibuildings Blog: Boost performance with parallel processing]]></title>
      <guid>http://www.phpdeveloper.org/news/11798</guid>
      <link>http://www.phpdeveloper.org/news/11798</link>
      <description><![CDATA[<p>
On the Ibuildings blog today there's <a href="http://www.ibuildings.com/blog/archives/1539-Boost-performance-with-parallel-processing.html">a new post</a> from <i>Martin Roest</i> looking at parallel processing in PHP scripts and how it can help you with performance and simplifying your applications.
</p>
<blockquote>
The idea of parallel processing is when you take an atomic transaction or operation called a 'process' and run a couple of those at the same time. [...] In this example I had a PHP CLI script. The purpose of this script was to process remote documents and save it local. It fetched the document from a remote location, processed it and saved the result local - let's call this the transaction. Transactions were done sequentially. It took about 1 second for a transaction to complete and the script had to do roughly 3500 transactions.
</blockquote>
<p>
Obviously, this script/testing method was not very effective, so he went searching for an alternative. The best option came in the shape of forking processes - spawning off a separate script (via PHP's forking functionality) to do the work on one or multiple entries. It uses the <a href="http://php.net/pcntl_fork">pcntl_fork</a> and <a href="http://php.net/pcntl_waitpid">pcntl_waitpid</a> functions to spawn and manage these children. Once they're all finished - working in parallel - they return back to the main script to wait for the slower ones to catch up.
</p>]]></description>
      <pubDate>Fri, 23 Jan 2009 07:51:05 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[SymbianOne.com: Your S60 Web server gets a boost]]></title>
      <guid>http://www.phpdeveloper.org/news/9297</guid>
      <link>http://www.phpdeveloper.org/news/9297</link>
      <description><![CDATA[<p>
<i>Michael Kimsal</i> <a href="http://fosterburgess.com/kimsal/?p=388">points out</a> an <a href="http://www.symbianone.com/content/view/5064/">article</a> posted recently concerning a new feature of the Symbain OS for mobile phones - a web server that could support PHP and MySQL.
</p>
<p>From <a href="http://www.symbianone.com/content/view/5064/">the article</a>:</p>
<blockquote>
Jukka on the S60 Blogs is reporting that PHP and mySQL are going to be available for S60 devices in early 2008. [...] I (Johan Wikman) can now reveal that we at the CCNC conference in Las Vegas in January, 2008 will demonstrate and release what we call the PAMP stack.
</blockquote>
<p>
The PAMP stack stands for "Personal Apache, MySQL, PHP" and will be included in the S60 smartphones and makes it possible to install most PHP applications (that use MySQL) right off the shelf. Developers of several GTD-type applications are reported to already be in testing on the new platform.
</p>]]></description>
      <pubDate>Fri, 21 Dec 2007 11:14:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Greg Beaver's Blog: phar gets a major speed boost with version 1.2.1]]></title>
      <guid>http://www.phpdeveloper.org/news/8557</guid>
      <link>http://www.phpdeveloper.org/news/8557</link>
      <description><![CDATA[<p>
<i>Greg Beaver</i> has <a href="http://greg.chiaraquartet.net/archives/182-phar-gets-a-major-speed-boost-with-version-1.2.1.html">blogged about</a> an enhancement in the latest release of <a href="http://pecl.php.net/package/phar">phar</a> (1.2.1) - a major speed boost:
</p>
<blockquote>
A few minutes ago, I released <a href="http://pecl.php.net/package/phar">phar</a> version 1.2.1. phar is a PHP extension that allows the creation of complete filesystems within a single physical file.  In addition, a bootstrap stub written in PHP can be used to run a phar archive as if it were an executable file or shell script.  Documentation on its usage and how to create phars is at <a href="http://php.net/phar">http://php.net/phar</a> in the PHP manual.
</blockquote>
<p>
<i>Greg</i> mentions some <a href="http://pecl.php.net/package-changelog.php?package=phar&release=1.2.1">other issues</a> that were fixed and a refactoring of some of the stream operations to cut the speed in half.
</p>]]></description>
      <pubDate>Thu, 30 Aug 2007 09:06:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[ThinkPHP Blog: Performance boost for ZendStudio Windows]]></title>
      <guid>http://www.phpdeveloper.org/news/8358</guid>
      <link>http://www.phpdeveloper.org/news/8358</link>
      <description><![CDATA[<p>
According to another <a href=http://labuschin.com/journal/software-tools-downloads/performance_problem-von-zend-loesen">(German) blog entry</a> as pointed out on the <a href="http://blog.thinkphp.de/archives/240-Performance-boost-for-ZendStudio-Windows.html">ThinkPHP blog</a>, it's possible to get a performance boost for Zend Studio on Windows with a few mouse clicks.
</p>
<blockquote>
According to <a href="http://labuschin.com/journal/software-tools-downloads/performance_problem-von-zend-loesen">this blog entry</a> (sorry, German), you may improve Zend Studio's editor performance by switching off the option "Use OS Look and Feel" (at Tools > Preferences, tab "Desktop", option "Use OS Look and Feel").
</blockquote>
<p>
According to the comments <a href="http://blog.thinkphp.de/archives/240-Performance-boost-for-ZendStudio-Windows.html">on the post</a>, this seems to work well.
</p>]]></description>
      <pubDate>Tue, 31 Jul 2007 10:20:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Dave Dash's Blog: Boosting terms in Zend Search Lucene]]></title>
      <guid>http://www.phpdeveloper.org/news/7935</guid>
      <link>http://www.phpdeveloper.org/news/7935</link>
      <description><![CDATA[<p>
On the SpinDrop blog today, <i>Dave Dash</i> continues his look at the Lucene search engine for the Zend Framework with <a href="http://spindrop.us/2007/05/29/boosting-terms-in-zend-search-lucene/">this new post</a> showing how to boost certain terms' relevance in the search results.
</p>
<blockquote>
<a href="http://framework.zend.com/manual/en/zend.search.html">Lucene</a> supports boosting or weighting terms. For example, if I search for members of a web site, and I type in Dash, I want people with the name Dash to take precedence over somebody who has a hobby of running the 50-yard Dash.
</blockquote>
<p>
He <a href="http://spindrop.us/2007/05/29/boosting-terms-in-zend-search-lucene/">shows how</a> to, with the help of a few simple lines of PHP code added to your application, you can easily boost terms based on field by whatever multiplier you choose.
</p>]]></description>
      <pubDate>Wed, 30 May 2007 08:49:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Mike's Blog: Boost your Website with APC]]></title>
      <guid>http://www.phpdeveloper.org/news/4330</guid>
      <link>http://www.phpdeveloper.org/news/4330</link>
      <description><![CDATA[In his <a href="http://blog.iworks.at/?/archives/31-Boost-your-Website-with-APC.html">latest blog post</a> today, <i>Mike</i> mentions the use of the <a href="http://pecl.php.net/package/APC">APC package</a> to "boost your website".
<p>
<quote>
<i>
Two weeks ago I plugged <a href="http://pecl.php.net/package/APC">APC</a> onto my main customers site, and I'm really satisfied by it now. I already tried it some time ago, but back then it had some problems with PEARs Quickforms and similiar heavy OO code, but those problems are fixed for about 90% now, some 8% can be easily fixed by reordering require statements and the like and finally the remaining ~2% are going to be fixed by Rasmus in the foreseeable future.
<p>
The package also contains a useful status script, just copy the shipped apc.php to your document root. You'll see how the usage of the SHM segment grows by time, and after some time you'll also see what settings to use for apc.num_files_hint and apc.shm_size when the whole site is cached.
</i>
</quote>
<p>
The <a href="http://pecl.php.net/package/APC">APC package</a> is "the Alternative PHP Cache. It was conceived of to provide a free, open, and robust framework for caching and optimizing PHP intermediate code."]]></description>
      <pubDate>Fri, 18 Nov 2005 05:34:10 -0600</pubDate>
    </item>
  </channel>
</rss>
