<?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: Zend_Db_Table time overhead &#8211; about 25%</title>
	<atom:link href="http://zfsite.andreinikolov.com/2008/08/zend_db_table-time-overhead-about-25-percents/feed/" rel="self" type="application/rss+xml" />
	<link>http://zfsite.andreinikolov.com/2008/08/zend_db_table-time-overhead-about-25-percents/</link>
	<description>Series of articles describing step by step building of example php application (web site) based on Zend Framework.</description>
	<lastBuildDate>Mon, 05 Jul 2010 08:23:16 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Kevin H</title>
		<link>http://zfsite.andreinikolov.com/2008/08/zend_db_table-time-overhead-about-25-percents/comment-page-1/#comment-3698</link>
		<dc:creator>Kevin H</dc:creator>
		<pubDate>Fri, 15 May 2009 17:11:59 +0000</pubDate>
		<guid isPermaLink="false">http://zfsite.andreinikolov.com/?p=16#comment-3698</guid>
		<description>Zend_Db_Table performance matters for small applications on shared hosting environments. Zend_Db_Table is horribly slow for most applications on a shared hosting environment. Simply put, 25% is the difference between usable and unusable.

Kevin</description>
		<content:encoded><![CDATA[<p>Zend_Db_Table performance matters for small applications on shared hosting environments. Zend_Db_Table is horribly slow for most applications on a shared hosting environment. Simply put, 25% is the difference between usable and unusable.</p>
<p>Kevin</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: viperx</title>
		<link>http://zfsite.andreinikolov.com/2008/08/zend_db_table-time-overhead-about-25-percents/comment-page-1/#comment-189</link>
		<dc:creator>viperx</dc:creator>
		<pubDate>Fri, 17 Oct 2008 14:04:50 +0000</pubDate>
		<guid isPermaLink="false">http://zfsite.andreinikolov.com/?p=16#comment-189</guid>
		<description>Hi fabrizio,
if you read the article you will see that I have included the case with metadata cache</description>
		<content:encoded><![CDATA[<p>Hi fabrizio,<br />
if you read the article you will see that I have included the case with metadata cache</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fabrizio</title>
		<link>http://zfsite.andreinikolov.com/2008/08/zend_db_table-time-overhead-about-25-percents/comment-page-1/#comment-169</link>
		<dc:creator>fabrizio</dc:creator>
		<pubDate>Fri, 03 Oct 2008 15:20:05 +0000</pubDate>
		<guid isPermaLink="false">http://zfsite.andreinikolov.com/?p=16#comment-169</guid>
		<description>What about using Zend_Db_Table_Abstract::setDefaultMetadataCache($cache);
as written in the reference guide?

&quot; By default, Zend_Db_Table_Abstract queries the underlying database for table metadata upon instantiation of a table object. That is, when a new table object is created, the object&#039;s default behavior is to fetch the table metadata from the database using the adapter&#039;s describeTable() method.

In some circumstances, particularly when many table objects are instantiated against the same database table, querying the database for the table metadata for each instance may be undesirable from a performance standpoint. In such cases, users may benefit by caching the table metadata retrieved from the database.

There are two primary ways in which a user may take advantage of table metadata caching:

    *

      Call Zend_Db_Table_Abstract::setDefaultMetadataCache() - This allows a developer to once set the default cache object to be used for all table classes.
    *

      Configure Zend_Db_Table_Abstract::__construct() - This allows a developer to set the cache object to be used for a particular table class instance.
&quot;</description>
		<content:encoded><![CDATA[<p>What about using Zend_Db_Table_Abstract::setDefaultMetadataCache($cache);<br />
as written in the reference guide?</p>
<p>&#8221; By default, Zend_Db_Table_Abstract queries the underlying database for table metadata upon instantiation of a table object. That is, when a new table object is created, the object&#8217;s default behavior is to fetch the table metadata from the database using the adapter&#8217;s describeTable() method.</p>
<p>In some circumstances, particularly when many table objects are instantiated against the same database table, querying the database for the table metadata for each instance may be undesirable from a performance standpoint. In such cases, users may benefit by caching the table metadata retrieved from the database.</p>
<p>There are two primary ways in which a user may take advantage of table metadata caching:</p>
<p>    *</p>
<p>      Call Zend_Db_Table_Abstract::setDefaultMetadataCache() &#8211; This allows a developer to once set the default cache object to be used for all table classes.<br />
    *</p>
<p>      Configure Zend_Db_Table_Abstract::__construct() &#8211; This allows a developer to set the cache object to be used for a particular table class instance.<br />
&#8220;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: viperx</title>
		<link>http://zfsite.andreinikolov.com/2008/08/zend_db_table-time-overhead-about-25-percents/comment-page-1/#comment-158</link>
		<dc:creator>viperx</dc:creator>
		<pubDate>Thu, 18 Sep 2008 12:07:32 +0000</pubDate>
		<guid isPermaLink="false">http://zfsite.andreinikolov.com/?p=16#comment-158</guid>
		<description>Ok Iczi, this is your point of view :)
And if your tareget is 2 or 3 servers OK, you are right. But if the application needs 100 servers then 20% is 20 more servers. Not that this is too much, but it is a difference indeed.</description>
		<content:encoded><![CDATA[<p>Ok Iczi, this is your point of view <img src='http://zfsite.andreinikolov.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
And if your tareget is 2 or 3 servers OK, you are right. But if the application needs 100 servers then 20% is 20 more servers. Not that this is too much, but it is a difference indeed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Iczi</title>
		<link>http://zfsite.andreinikolov.com/2008/08/zend_db_table-time-overhead-about-25-percents/comment-page-1/#comment-154</link>
		<dc:creator>Iczi</dc:creator>
		<pubDate>Tue, 16 Sep 2008 07:01:43 +0000</pubDate>
		<guid isPermaLink="false">http://zfsite.andreinikolov.com/?p=16#comment-154</guid>
		<description>Well, Zend_Db_Table is &quot;fast&quot; enough for any website and any load. Today, developers like to scale PHP horizontally, means spreading your code to many servers and use a load-balancer to distribute the requests equally.

Even if Zend_Db_Table would add 50% overhead, that&#039;s really no problem. Thanks to cheap servers!

I think, when talking about performance, we also have to think of &quot;developer-performance&quot;, means how fast a developer can finish his task. Developing and software-engineering are goind to be the most expensive parts of your projects, so it gets cheaper, if they are really fast and write mantainable and well tested code.

Zend_Db_Table provides tools to be faster, when it comes to solve database tasks and is a transparent and easy understable implementation.

So, who cares, if a PHP webapp can handle 150 or 200 request/s? I add a new server and then it&#039;s going to be much faster than before and I saved time and/or money when i developed the application.</description>
		<content:encoded><![CDATA[<p>Well, Zend_Db_Table is &#8220;fast&#8221; enough for any website and any load. Today, developers like to scale PHP horizontally, means spreading your code to many servers and use a load-balancer to distribute the requests equally.</p>
<p>Even if Zend_Db_Table would add 50% overhead, that&#8217;s really no problem. Thanks to cheap servers!</p>
<p>I think, when talking about performance, we also have to think of &#8220;developer-performance&#8221;, means how fast a developer can finish his task. Developing and software-engineering are goind to be the most expensive parts of your projects, so it gets cheaper, if they are really fast and write mantainable and well tested code.</p>
<p>Zend_Db_Table provides tools to be faster, when it comes to solve database tasks and is a transparent and easy understable implementation.</p>
<p>So, who cares, if a PHP webapp can handle 150 or 200 request/s? I add a new server and then it&#8217;s going to be much faster than before and I saved time and/or money when i developed the application.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zend_Db_Table erzeugt 25% Overhead sagt Andrei &#187; Ralfs PHP und Zend Framework Blog</title>
		<link>http://zfsite.andreinikolov.com/2008/08/zend_db_table-time-overhead-about-25-percents/comment-page-1/#comment-104</link>
		<dc:creator>Zend_Db_Table erzeugt 25% Overhead sagt Andrei &#187; Ralfs PHP und Zend Framework Blog</dc:creator>
		<pubDate>Thu, 28 Aug 2008 17:22:57 +0000</pubDate>
		<guid isPermaLink="false">http://zfsite.andreinikolov.com/?p=16#comment-104</guid>
		<description>[...] Nikolov hat in seinem Blog einen Artikel über ein paar Performance-Messungen mit Zend_Db_Table veröffentlicht und kommt zu dem Schluss, dass Zend_Db_Table einen Overhead von bummelig 25% [...]</description>
		<content:encoded><![CDATA[<p>[...] Nikolov hat in seinem Blog einen Artikel über ein paar Performance-Messungen mit Zend_Db_Table veröffentlicht und kommt zu dem Schluss, dass Zend_Db_Table einen Overhead von bummelig 25% [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.337 seconds -->
