cvs: presentations / clustering-ezcamp2005.xml playingsafe-tropics.xml /slides/clustering cluster8.png cluster9.png lvs.xml resources.xml
round-robin.xml static-cache-config.xml static-cache-diagram.xml static-cache-words-and-numbers.xml static-cache.png sync-data-text.xml sync-data.xml
/slides/perf ezp.png /slides/php5_intro obj_method_over.php obj_static.xml streams_ex1.xml streams_intro.xml /slides/php5intro/nl newobjectmodel.xml
oldobjectmodel2.xml
| From: | Derick Rethans | Date: | Thu, 02 Jun 2005 13:30:32 +0000 |
| Subject: | cvs: presentations / clustering-ezcamp2005.xml playingsafe-tropics.xml /slides/clustering cluster8.png cluster9.png lvs.xml resources.xml round-robin.xml static-cache-config.xml static-cache-diagram.xml static-cache-words-and-numbers.xml static-cache.png sync-data-text.xml sync-data.xml /slides/perf ezp.png /slides/php5_intro obj_method_over.php obj_static.xml streams_ex1.xml streams_intro.xml /slides/php5intro/nl newobjectmodel.xml oldobjectmodel2.xml |
||
| Groups: | php.pres | ||
| Request: | Send a blank email to pres+get-1143@lists.php.net to get a copy of this message | ||
derick Thu Jun 2 09:30:32 2005 EDT
Added files:
/presentations clustering-ezcamp2005.xml
/presentations/slides/clustering cluster8.png cluster9.png
static-cache-config.xml
static-cache-diagram.xml
static-cache-words-and-numbers.xml
static-cache.png
sync-data-text.xml sync-data.xml
Modified files:
/presentations playingsafe-tropics.xml
/presentations/slides/clustering lvs.xml resources.xml
round-robin.xml
/presentations/slides/perf ezp.png
/presentations/slides/php5_intro obj_method_over.php obj_static.xml
streams_ex1.xml streams_intro.xml
/presentations/slides/php5intro/nl newobjectmodel.xml
oldobjectmodel2.xml
Log:
- Added clustering talk, updated PHP 5 intro and some other tiny updates.
http://cvs.php.net/diff.php/presentations/playingsafe-tropics.xml?r1=1.1&r2=1.2&ty=u Index: presentations/playingsafe-tropics.xml diff -u presentations/playingsafe-tropics.xml:1.1 presentations/playingsafe-tropics.xml:1.2 --- presentations/playingsafe-tropics.xml:1.1 Tue Apr 26 10:24:47 2005 +++ presentations/playingsafe-tropics.xml Thu Jun 2 09:30:28 2005 @@ -6,7 +6,7 @@ navbartopiclinks="0" navColor="#f1fbff" logo1="" - stylesheet="presentations/slides/encryption/phptropics.css" + stylesheet="presentations/slides/perf/ezp.css" backgroundfixed="1" > <topic>Security</topic> <title>Playing Safe: PHP and Encryption</title> http://cvs.php.net/diff.php/presentations/slides/clustering/lvs.xml?r1=1.1&r2=1.2&ty=u Index: presentations/slides/clustering/lvs.xml diff -u presentations/slides/clustering/lvs.xml:1.1 presentations/slides/clustering/lvs.xml:1.2 --- presentations/slides/clustering/lvs.xml:1.1 Tue May 10 17:50:29 2005 +++ presentations/slides/clustering/lvs.xml Thu Jun 2 09:30:30 2005 @@ -4,8 +4,8 @@ <list> <bullet>Front End Server: Redirector (Load Balancer)</bullet> - <bullet>Uses the load of specific worker servers to determine how to forward</bullet> - <bullet>Uses a kernel module for implements transport-layer load balancing inside the Linux kernel, so called Layer-4 switching</bullet> + <bullet>Can use the load of specific worker servers to determine how to forward</bullet> + <bullet>Uses a kernel module that implements transport-layer load balancing inside the Linux kernel, so called Layer-4 switching</bullet> <bullet>Can use different scheduling algorithms</bullet> <bullet>Does *not* provide fail-safe functionality</bullet> </list> http://cvs.php.net/diff.php/presentations/slides/clustering/resources.xml?r1=1.1&r2=1.2&ty=u Index: presentations/slides/clustering/resources.xml diff -u presentations/slides/clustering/resources.xml:1.1 presentations/slides/clustering/resources.xml:1.2 --- presentations/slides/clustering/resources.xml:1.1 Tue May 10 17:50:29 2005 +++ presentations/slides/clustering/resources.xml Thu Jun 2 09:30:30 2005 @@ -9,5 +9,6 @@ <link leader="Linux Virtual Server: " href="http://linuxvirtualserver.org" target="_new"/> <link leader="Keepalived: " href="http://keepalived.org/" target="_new"/> <link leader="MySQL Cluster: " href="http://dev.mysql.com/doc/mysql/en/ndbcluster.html" target="_new"/> + <link leader="Static Caching: " href="http://ez.no/ez36_staticcache" target="_new"/> <link leader="Questions?: " href="mailto:dr@ez.no" target="_new"/> </slide> http://cvs.php.net/diff.php/presentations/slides/clustering/round-robin.xml?r1=1.1&r2=1.2&ty=u Index: presentations/slides/clustering/round-robin.xml diff -u presentations/slides/clustering/round-robin.xml:1.1 presentations/slides/clustering/round-robin.xml:1.2 --- presentations/slides/clustering/round-robin.xml:1.1 Tue May 10 17:50:29 2005 +++ presentations/slides/clustering/round-robin.xml Thu Jun 2 09:30:30 2005 @@ -15,6 +15,6 @@ www.example.com. 60 IN A 10.45.67.4</example> <list> - <bullet>A short TLL is important to avoid caching</bullet> + <bullet>A short TTL is important to avoid caching</bullet> </list> </slide> http://cvs.php.net/diff.php/presentations/slides/perf/ezp.png?r1=1.3&r2=1.4&ty=u Index: presentations/slides/perf/ezp.png http://cvs.php.net/diff.php/presentations/slides/php5_intro/obj_method_over.php?r1=1.1&r2=1.2&ty=u Index: presentations/slides/php5_intro/obj_method_over.php diff -u presentations/slides/php5_intro/obj_method_over.php:1.1 presentations/slides/php5_intro/obj_method_over.php:1.2 --- presentations/slides/php5_intro/obj_method_over.php:1.1 Wed Oct 13 10:53:37 2004 +++ presentations/slides/php5_intro/obj_method_over.php Thu Jun 2 09:30:31 2005 @@ -5,7 +5,7 @@ switch ($name) { case 'add': return array_sum($args); - case 'subtract': + case 'divide': $val = array_shift($args); foreach ($args as $v) $val /= $v; return $val; @@ -15,5 +15,5 @@ $m = new math(); echo $m->add(1,2); // will print 3 -echo $m->subtract(8,2); // will print 4 -?> \ No newline at end of file +echo $m->divide(8,2); // will print 4 +?> http://cvs.php.net/diff.php/presentations/slides/php5_intro/obj_static.xml?r1=1.1&r2=1.2&ty=u Index: presentations/slides/php5_intro/obj_static.xml diff -u presentations/slides/php5_intro/obj_static.xml:1.1 presentations/slides/php5_intro/obj_static.xml:1.2 --- presentations/slides/php5_intro/obj_static.xml:1.1 Wed Oct 13 10:53:38 2004 +++ presentations/slides/php5_intro/obj_static.xml Thu Jun 2 09:30:31 2005 @@ -9,4 +9,4 @@ <example filename="obj_static.php" fontsize="1.5em" /> -</slide> \ No newline at end of file +</slide> http://cvs.php.net/diff.php/presentations/slides/php5_intro/streams_ex1.xml?r1=1.1&r2=1.2&ty=u Index: presentations/slides/php5_intro/streams_ex1.xml diff -u presentations/slides/php5_intro/streams_ex1.xml:1.1 presentations/slides/php5_intro/streams_ex1.xml:1.2 --- presentations/slides/php5_intro/streams_ex1.xml:1.1 Wed Oct 13 10:53:42 2004 +++ presentations/slides/php5_intro/streams_ex1.xml Thu Jun 2 09:30:31 2005 @@ -4,7 +4,7 @@ <blurb> The experimental and rarely available %sockets% extension is made -nearly absolete. +nearly obsolete. </blurb> -</slide> \ No newline at end of file +</slide> http://cvs.php.net/diff.php/presentations/slides/php5_intro/streams_intro.xml?r1=1.1&r2=1.2&ty=u Index: presentations/slides/php5_intro/streams_intro.xml diff -u presentations/slides/php5_intro/streams_intro.xml:1.1 presentations/slides/php5_intro/streams_intro.xml:1.2 --- presentations/slides/php5_intro/streams_intro.xml:1.1 Wed Oct 13 10:53:42 2004 +++ presentations/slides/php5_intro/streams_intro.xml Thu Jun 2 09:30:31 2005 @@ -14,4 +14,4 @@ <bullet>Stream server support</bullet> </list> -</slide> \ No newline at end of file +</slide> http://cvs.php.net/diff.php/presentations/slides/php5intro/nl/newobjectmodel.xml?r1=1.5&r2=1.6&ty=u Index: presentations/slides/php5intro/nl/newobjectmodel.xml diff -u presentations/slides/php5intro/nl/newobjectmodel.xml:1.5 presentations/slides/php5intro/nl/newobjectmodel.xml:1.6 --- presentations/slides/php5intro/nl/newobjectmodel.xml:1.5 Mon Apr 18 03:14:18 2005 +++ presentations/slides/php5intro/nl/newobjectmodel.xml Thu Jun 2 09:30:31 2005 @@ -2,8 +2,7 @@ <slide fontsize="6em"> <title>Objectmodel in PHP 5</title> - <break lines="1" /> - <image align="right" filename="newoo.png" /> + <image align="right" filename="newoo.png" pdf-scale="1"/> <list marginleft="2em" fontsize="3.5em"> <bullet>Pass by reference</bullet> <bullet>Objects are referenced by a handle.</bullet> http://cvs.php.net/diff.php/presentations/slides/php5intro/nl/oldobjectmodel2.xml?r1=1.3&r2=1.4&ty=u Index: presentations/slides/php5intro/nl/oldobjectmodel2.xml diff -u presentations/slides/php5intro/nl/oldobjectmodel2.xml:1.3 presentations/slides/php5intro/nl/oldobjectmodel2.xml:1.4 --- presentations/slides/php5intro/nl/oldobjectmodel2.xml:1.3 Sat May 1 15:29:50 2004 +++ presentations/slides/php5intro/nl/oldobjectmodel2.xml Thu Jun 2 09:30:31 2005 @@ -2,7 +2,7 @@ <slide fontsize="6em"> <title>Objectmodel in PHP 4</title> - <image align="center" filename="old-noref.png" /> + <image align="center" filename="old-noref.png" pdf-scale="1"/> <list marginleft="3em" fontsize="3.5em"> <bullet>Pass by value</bullet> http://cvs.php.net/co.php/presentations/clustering-ezcamp2005.xml?r=1.1&p=1 Index: presentations/clustering-ezcamp2005.xml +++ presentations/clustering-ezcamp2005.xml <?xml version="1.0" encoding="iso-8859-1"?> <presentation template="css" navmode="html" navbarbackground="#4373b4" navbartopiclinks="0" navColor="#f1fbff" logo1="" stylesheet="presentations/slides/perf/ezp-gausta.css" backgroundfixed="1" > <topic>Performance</topic> <title>Clustering and Caching</title> <event>eZ Camp 2005</event> <location>Gaustablikk, Norway</location> <date>Jun 3rd, 2005</date> <speaker>Derick Rethans</speaker> <email>dr@ez.no</email> <url>http://derickrethans.nl/talks.php</url> <slide>slides/clustering/title.xml</slide> <slide>slides/clustering/why-cluster.xml</slide> <slide>slides/clustering/cluster1.xml</slide> <slide>slides/clustering/cluster3.xml</slide> <slide>slides/clustering/lvs.xml</slide> <slide>slides/clustering/cluster5.xml</slide> <slide>slides/clustering/keepalived.xml</slide> <slide>slides/clustering/backup-redirector.xml</slide> <slide>slides/clustering/cluster6.xml</slide> <slide>slides/clustering/data-replication.xml</slide> <slide>slides/clustering/cluster7.xml</slide> <slide>slides/clustering/ndb-cluster.xml</slide> <slide>slides/clustering/sync-data.xml</slide> <slide>slides/clustering/sync-data-text.xml</slide> <slide>slides/clustering/data-storage.xml</slide> <slide>slides/clustering/static-cache-diagram.xml</slide> <slide>slides/clustering/static-cache-words-and-numbers.xml</slide> <slide>slides/clustering/static-cache-config.xml</slide> <slide>slides/clustering/resources.xml</slide> </presentation> http://cvs.php.net/co.php/presentations/slides/clustering/static-cache-config.xml?r=1.1&p=1 Index: presentations/slides/clustering/static-cache-config.xml +++ presentations/slides/clustering/static-cache-config.xml <?xml version="1.0" encoding="ISO-8859-1"?> <slide fontsize="6em"> <title>Static Cache</title> <subtitle>Configuration</subtitle> <blurb>staticcache.ini:</blurb> <example>[CacheSettings] HostName=localhost MaxCacheDepth=4 CachedURLArray[] CachedURLArray[]=/news* CachedURLArray[]=/weblog* CachedSiteAccesses[] CachedSiteAccesses[]=news_en CachedSiteAccesses[]=news_fr AlwaysUpdateArray[] AlwaysUpdateArray[]=/</example> <list> <bullet>~CachedURLArray~: Which URLs should be statically cached</bullet> <bullet>~CachedSiteAccesses~: For which site accesses should we cache</bullet> <bullet>~AlwaysUpdateArray~: Which nodes should always have it's static cache regenerated when publishing content</bullet> </list> </slide> http://cvs.php.net/co.php/presentations/slides/clustering/static-cache-diagram.xml?r=1.1&p=1 Index: presentations/slides/clustering/static-cache-diagram.xml +++ presentations/slides/clustering/static-cache-diagram.xml <?xml version="1.0" encoding="ISO-8859-1"?> <slide fontsize="6em"> <title>Static Cache</title> <image filename="static-cache.png" align="center"/> </slide> http://cvs.php.net/co.php/presentations/slides/clustering/static-cache-words-and-numbers.xml?r=1.1&p=1 Index: presentations/slides/clustering/static-cache-words-and-numbers.xml +++ presentations/slides/clustering/static-cache-words-and-numbers.xml <?xml version="1.0" encoding="ISO-8859-1"?> <slide fontsize="6em"> <title>Static Cache</title> <list> <bullet>Uses Apache %mod_rewrite% to check if files exist</bullet> <bullet>New cache files are written on publish</bullet> <bullet>Configuration can determine which nodes should always be updated</bullet> </list> <example>RewriteEngine On RewriteCond /dat/ez.no/static/index.html -f RewriteRule ^/$ /static/index.html [L] RewriteCond /dat/ez.no/static/index.html -f RewriteRule ^$ /static/index.html [L] RewriteCond %{REQUEST_METHOD} !^POST$ RewriteCond /dat/ez.no/static$1/index.html -f RewriteRule ^(.*)$ /static$1/index.html [L] RewriteRule !\.(gif|css|jpg|png|jar|ico|js)$ /index.php</example> </slide> http://cvs.php.net/co.php/presentations/slides/clustering/sync-data-text.xml?r=1.1&p=1 Index: presentations/slides/clustering/sync-data-text.xml +++ presentations/slides/clustering/sync-data-text.xml <?xml version="1.0" encoding="ISO-8859-1"?> <slide fontsize="6em"> <title>Synching Data</title> <list> <bullet>All file actions in PHP are logged with a patch</bullet> <bullet>Uses a patch to eZ publish for additional file actions</bullet> <bullet>%rsync% is used to sync a file lists created from the file action log</bullet> <bullet>Problems with image variants and uploaded files</bullet> </list> </slide> http://cvs.php.net/co.php/presentations/slides/clustering/sync-data.xml?r=1.1&p=1 Index: presentations/slides/clustering/sync-data.xml +++ presentations/slides/clustering/sync-data.xml <?xml version="1.0" encoding="ISO-8859-1"?> <slide fontsize="6em"> <title>Synching Data</title> <image filename="cluster8.png" align="center"/> </slide>
http://cvs.php.net/diff.php/presentations/playingsafe-tropics.xml?r1=1.1&r2=1.2&ty=u Index: presentations/playingsafe-tropics.xml diff -u presentations/playingsafe-tropics.xml:1.1 presentations/playingsafe-tropics.xml:1.2 --- presentations/playingsafe-tropics.xml:1.1 Tue Apr 26 10:24:47 2005 +++ presentations/playingsafe-tropics.xml Thu Jun 2 09:30:28 2005 @@ -6,7 +6,7 @@ navbartopiclinks="0" navColor="#f1fbff" logo1="" - stylesheet="presentations/slides/encryption/phptropics.css" + stylesheet="presentations/slides/perf/ezp.css" backgroundfixed="1" > <topic>Security</topic> <title>Playing Safe: PHP and Encryption</title> http://cvs.php.net/diff.php/presentations/slides/clustering/lvs.xml?r1=1.1&r2=1.2&ty=u Index: presentations/slides/clustering/lvs.xml diff -u presentations/slides/clustering/lvs.xml:1.1 presentations/slides/clustering/lvs.xml:1.2 --- presentations/slides/clustering/lvs.xml:1.1 Tue May 10 17:50:29 2005 +++ presentations/slides/clustering/lvs.xml Thu Jun 2 09:30:30 2005 @@ -4,8 +4,8 @@ <list> <bullet>Front End Server: Redirector (Load Balancer)</bullet> - <bullet>Uses the load of specific worker servers to determine how to forward</bullet> - <bullet>Uses a kernel module for implements transport-layer load balancing inside the Linux kernel, so called Layer-4 switching</bullet> + <bullet>Can use the load of specific worker servers to determine how to forward</bullet> + <bullet>Uses a kernel module that implements transport-layer load balancing inside the Linux kernel, so called Layer-4 switching</bullet> <bullet>Can use different scheduling algorithms</bullet> <bullet>Does *not* provide fail-safe functionality</bullet> </list> http://cvs.php.net/diff.php/presentations/slides/clustering/resources.xml?r1=1.1&r2=1.2&ty=u Index: presentations/slides/clustering/resources.xml diff -u presentations/slides/clustering/resources.xml:1.1 presentations/slides/clustering/resources.xml:1.2 --- presentations/slides/clustering/resources.xml:1.1 Tue May 10 17:50:29 2005 +++ presentations/slides/clustering/resources.xml Thu Jun 2 09:30:30 2005 @@ -9,5 +9,6 @@ <link leader="Linux Virtual Server: " href="http://linuxvirtualserver.org" target="_new"/> <link leader="Keepalived: " href="http://keepalived.org/" target="_new"/> <link leader="MySQL Cluster: " href="http://dev.mysql.com/doc/mysql/en/ndbcluster.html" target="_new"/> + <link leader="Static Caching: " href="http://ez.no/ez36_staticcache" target="_new"/> <link leader="Questions?: " href="mailto:dr@ez.no" target="_new"/> </slide> http://cvs.php.net/diff.php/presentations/slides/clustering/round-robin.xml?r1=1.1&r2=1.2&ty=u Index: presentations/slides/clustering/round-robin.xml diff -u presentations/slides/clustering/round-robin.xml:1.1 presentations/slides/clustering/round-robin.xml:1.2 --- presentations/slides/clustering/round-robin.xml:1.1 Tue May 10 17:50:29 2005 +++ presentations/slides/clustering/round-robin.xml Thu Jun 2 09:30:30 2005 @@ -15,6 +15,6 @@ www.example.com. 60 IN A 10.45.67.4</example> <list> - <bullet>A short TLL is important to avoid caching</bullet> + <bullet>A short TTL is important to avoid caching</bullet> </list> </slide> http://cvs.php.net/diff.php/presentations/slides/perf/ezp.png?r1=1.3&r2=1.4&ty=u Index: presentations/slides/perf/ezp.png http://cvs.php.net/diff.php/presentations/slides/php5_intro/obj_method_over.php?r1=1.1&r2=1.2&ty=u Index: presentations/slides/php5_intro/obj_method_over.php diff -u presentations/slides/php5_intro/obj_method_over.php:1.1 presentations/slides/php5_intro/obj_method_over.php:1.2 --- presentations/slides/php5_intro/obj_method_over.php:1.1 Wed Oct 13 10:53:37 2004 +++ presentations/slides/php5_intro/obj_method_over.php Thu Jun 2 09:30:31 2005 @@ -5,7 +5,7 @@ switch ($name) { case 'add': return array_sum($args); - case 'subtract': + case 'divide': $val = array_shift($args); foreach ($args as $v) $val /= $v; return $val; @@ -15,5 +15,5 @@ $m = new math(); echo $m->add(1,2); // will print 3 -echo $m->subtract(8,2); // will print 4 -?> \ No newline at end of file +echo $m->divide(8,2); // will print 4 +?> http://cvs.php.net/diff.php/presentations/slides/php5_intro/obj_static.xml?r1=1.1&r2=1.2&ty=u Index: presentations/slides/php5_intro/obj_static.xml diff -u presentations/slides/php5_intro/obj_static.xml:1.1 presentations/slides/php5_intro/obj_static.xml:1.2 --- presentations/slides/php5_intro/obj_static.xml:1.1 Wed Oct 13 10:53:38 2004 +++ presentations/slides/php5_intro/obj_static.xml Thu Jun 2 09:30:31 2005 @@ -9,4 +9,4 @@ <example filename="obj_static.php" fontsize="1.5em" /> -</slide> \ No newline at end of file +</slide> http://cvs.php.net/diff.php/presentations/slides/php5_intro/streams_ex1.xml?r1=1.1&r2=1.2&ty=u Index: presentations/slides/php5_intro/streams_ex1.xml diff -u presentations/slides/php5_intro/streams_ex1.xml:1.1 presentations/slides/php5_intro/streams_ex1.xml:1.2 --- presentations/slides/php5_intro/streams_ex1.xml:1.1 Wed Oct 13 10:53:42 2004 +++ presentations/slides/php5_intro/streams_ex1.xml Thu Jun 2 09:30:31 2005 @@ -4,7 +4,7 @@ <blurb> The experimental and rarely available %sockets% extension is made -nearly absolete. +nearly obsolete. </blurb> -</slide> \ No newline at end of file +</slide> http://cvs.php.net/diff.php/presentations/slides/php5_intro/streams_intro.xml?r1=1.1&r2=1.2&ty=u Index: presentations/slides/php5_intro/streams_intro.xml diff -u presentations/slides/php5_intro/streams_intro.xml:1.1 presentations/slides/php5_intro/streams_intro.xml:1.2 --- presentations/slides/php5_intro/streams_intro.xml:1.1 Wed Oct 13 10:53:42 2004 +++ presentations/slides/php5_intro/streams_intro.xml Thu Jun 2 09:30:31 2005 @@ -14,4 +14,4 @@ <bullet>Stream server support</bullet> </list> -</slide> \ No newline at end of file +</slide> http://cvs.php.net/diff.php/presentations/slides/php5intro/nl/newobjectmodel.xml?r1=1.5&r2=1.6&ty=u Index: presentations/slides/php5intro/nl/newobjectmodel.xml diff -u presentations/slides/php5intro/nl/newobjectmodel.xml:1.5 presentations/slides/php5intro/nl/newobjectmodel.xml:1.6 --- presentations/slides/php5intro/nl/newobjectmodel.xml:1.5 Mon Apr 18 03:14:18 2005 +++ presentations/slides/php5intro/nl/newobjectmodel.xml Thu Jun 2 09:30:31 2005 @@ -2,8 +2,7 @@ <slide fontsize="6em"> <title>Objectmodel in PHP 5</title> - <break lines="1" /> - <image align="right" filename="newoo.png" /> + <image align="right" filename="newoo.png" pdf-scale="1"/> <list marginleft="2em" fontsize="3.5em"> <bullet>Pass by reference</bullet> <bullet>Objects are referenced by a handle.</bullet> http://cvs.php.net/diff.php/presentations/slides/php5intro/nl/oldobjectmodel2.xml?r1=1.3&r2=1.4&ty=u Index: presentations/slides/php5intro/nl/oldobjectmodel2.xml diff -u presentations/slides/php5intro/nl/oldobjectmodel2.xml:1.3 presentations/slides/php5intro/nl/oldobjectmodel2.xml:1.4 --- presentations/slides/php5intro/nl/oldobjectmodel2.xml:1.3 Sat May 1 15:29:50 2004 +++ presentations/slides/php5intro/nl/oldobjectmodel2.xml Thu Jun 2 09:30:31 2005 @@ -2,7 +2,7 @@ <slide fontsize="6em"> <title>Objectmodel in PHP 4</title> - <image align="center" filename="old-noref.png" /> + <image align="center" filename="old-noref.png" pdf-scale="1"/> <list marginleft="3em" fontsize="3.5em"> <bullet>Pass by value</bullet> http://cvs.php.net/co.php/presentations/clustering-ezcamp2005.xml?r=1.1&p=1 Index: presentations/clustering-ezcamp2005.xml +++ presentations/clustering-ezcamp2005.xml <?xml version="1.0" encoding="iso-8859-1"?> <presentation template="css" navmode="html" navbarbackground="#4373b4" navbartopiclinks="0" navColor="#f1fbff" logo1="" stylesheet="presentations/slides/perf/ezp-gausta.css" backgroundfixed="1" > <topic>Performance</topic> <title>Clustering and Caching</title> <event>eZ Camp 2005</event> <location>Gaustablikk, Norway</location> <date>Jun 3rd, 2005</date> <speaker>Derick Rethans</speaker> <email>dr@ez.no</email> <url>http://derickrethans.nl/talks.php</url> <slide>slides/clustering/title.xml</slide> <slide>slides/clustering/why-cluster.xml</slide> <slide>slides/clustering/cluster1.xml</slide> <slide>slides/clustering/cluster3.xml</slide> <slide>slides/clustering/lvs.xml</slide> <slide>slides/clustering/cluster5.xml</slide> <slide>slides/clustering/keepalived.xml</slide> <slide>slides/clustering/backup-redirector.xml</slide> <slide>slides/clustering/cluster6.xml</slide> <slide>slides/clustering/data-replication.xml</slide> <slide>slides/clustering/cluster7.xml</slide> <slide>slides/clustering/ndb-cluster.xml</slide> <slide>slides/clustering/sync-data.xml</slide> <slide>slides/clustering/sync-data-text.xml</slide> <slide>slides/clustering/data-storage.xml</slide> <slide>slides/clustering/static-cache-diagram.xml</slide> <slide>slides/clustering/static-cache-words-and-numbers.xml</slide> <slide>slides/clustering/static-cache-config.xml</slide> <slide>slides/clustering/resources.xml</slide> </presentation> http://cvs.php.net/co.php/presentations/slides/clustering/static-cache-config.xml?r=1.1&p=1 Index: presentations/slides/clustering/static-cache-config.xml +++ presentations/slides/clustering/static-cache-config.xml <?xml version="1.0" encoding="ISO-8859-1"?> <slide fontsize="6em"> <title>Static Cache</title> <subtitle>Configuration</subtitle> <blurb>staticcache.ini:</blurb> <example>[CacheSettings] HostName=localhost MaxCacheDepth=4 CachedURLArray[] CachedURLArray[]=/news* CachedURLArray[]=/weblog* CachedSiteAccesses[] CachedSiteAccesses[]=news_en CachedSiteAccesses[]=news_fr AlwaysUpdateArray[] AlwaysUpdateArray[]=/</example> <list> <bullet>~CachedURLArray~: Which URLs should be statically cached</bullet> <bullet>~CachedSiteAccesses~: For which site accesses should we cache</bullet> <bullet>~AlwaysUpdateArray~: Which nodes should always have it's static cache regenerated when publishing content</bullet> </list> </slide> http://cvs.php.net/co.php/presentations/slides/clustering/static-cache-diagram.xml?r=1.1&p=1 Index: presentations/slides/clustering/static-cache-diagram.xml +++ presentations/slides/clustering/static-cache-diagram.xml <?xml version="1.0" encoding="ISO-8859-1"?> <slide fontsize="6em"> <title>Static Cache</title> <image filename="static-cache.png" align="center"/> </slide> http://cvs.php.net/co.php/presentations/slides/clustering/static-cache-words-and-numbers.xml?r=1.1&p=1 Index: presentations/slides/clustering/static-cache-words-and-numbers.xml +++ presentations/slides/clustering/static-cache-words-and-numbers.xml <?xml version="1.0" encoding="ISO-8859-1"?> <slide fontsize="6em"> <title>Static Cache</title> <list> <bullet>Uses Apache %mod_rewrite% to check if files exist</bullet> <bullet>New cache files are written on publish</bullet> <bullet>Configuration can determine which nodes should always be updated</bullet> </list> <example>RewriteEngine On RewriteCond /dat/ez.no/static/index.html -f RewriteRule ^/$ /static/index.html [L] RewriteCond /dat/ez.no/static/index.html -f RewriteRule ^$ /static/index.html [L] RewriteCond %{REQUEST_METHOD} !^POST$ RewriteCond /dat/ez.no/static$1/index.html -f RewriteRule ^(.*)$ /static$1/index.html [L] RewriteRule !\.(gif|css|jpg|png|jar|ico|js)$ /index.php</example> </slide> http://cvs.php.net/co.php/presentations/slides/clustering/sync-data-text.xml?r=1.1&p=1 Index: presentations/slides/clustering/sync-data-text.xml +++ presentations/slides/clustering/sync-data-text.xml <?xml version="1.0" encoding="ISO-8859-1"?> <slide fontsize="6em"> <title>Synching Data</title> <list> <bullet>All file actions in PHP are logged with a patch</bullet> <bullet>Uses a patch to eZ publish for additional file actions</bullet> <bullet>%rsync% is used to sync a file lists created from the file action log</bullet> <bullet>Problems with image variants and uploaded files</bullet> </list> </slide> http://cvs.php.net/co.php/presentations/slides/clustering/sync-data.xml?r=1.1&p=1 Index: presentations/slides/clustering/sync-data.xml +++ presentations/slides/clustering/sync-data.xml <?xml version="1.0" encoding="ISO-8859-1"?> <slide fontsize="6em"> <title>Synching Data</title> <image filename="cluster8.png" align="center"/> </slide>