<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="http://joetsuihk.com/en/taxonomy/term/268/all" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>conf</title>
    <link>http://joetsuihk.com/en/taxonomy/term/268/all</link>
    <description></description>
    <language>en</language>
     <atom:link href="http://joetsuihk.com/en/taxonomy/term/268/all/feed" rel="self" type="application/rss+xml" />
      <item>
    <title>Apache + Ubuntu + Varnish painless upgrades</title>
    <link>http://joetsuihk.com/en/en/apache_ubuntu_varnish_painless_upgrades</link>
    <description>&lt;div class=&quot;field field-name-body field-type-text-with-summary field-label-hidden&quot;&gt;&lt;div class=&quot;field-items&quot;&gt;&lt;div class=&quot;field-item even&quot;&gt;&lt;p&gt;&lt;a href=&quot;https://www.varnish-cache.org/&quot; target=&quot;_blank&quot;&gt;Varnish&lt;/a&gt; is a reverse proxy&lt;br /&gt;
working with apache, with all traffic go thriugh Varnish cache first&lt;br /&gt;
if cache missed, Varnish will be the one to grab content from Apache&lt;br /&gt;
It is because Apache ignore file types&lt;br /&gt;
For example, deliver a jpg by Apache will load mod_php into RAM&lt;br /&gt;
the same applies to CSS and JS files&lt;br /&gt;
This will cause massive RAM footage&lt;br /&gt;
And Varnish cache help greatly helped these static files with less resources drain&lt;br /&gt;
and improve overall performance&lt;/p&gt;
&lt;p&gt;My target is &lt;strong&gt;install Varnish with minimum downtime&lt;/strong&gt;&lt;br /&gt;
Remember to backup the config files before continue&lt;/p&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;field field-name-taxonomy-vocabulary-2 field-type-taxonomy-term-reference field-label-above&quot;&gt;&lt;div class=&quot;field-label&quot;&gt;Free tags:&amp;nbsp;&lt;/div&gt;&lt;div class=&quot;field-items&quot;&gt;&lt;div class=&quot;field-item even&quot;&gt;&lt;a href=&quot;/en/free_tags/ubuntu&quot;&gt;ubuntu&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;field-item odd&quot;&gt;&lt;a href=&quot;/en/free_tags_4&quot;&gt;apache&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;field-item even&quot;&gt;&lt;a href=&quot;/en/free_tags_5&quot;&gt;varnish&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;field-item odd&quot;&gt;&lt;a href=&quot;/en/free_tags_6&quot;&gt;conf&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;field field-name-field-add-this field-type-addthis field-label-hidden&quot;&gt;&lt;div class=&quot;field-items&quot;&gt;&lt;div class=&quot;field-item even&quot;&gt;&lt;a class=&quot;addthis_button &quot; addthis:title=&quot;Apache + Ubuntu + Varnish painless upgrades - JOE Tsui&amp;#039;s Drupal life in Hong Kong (香港)&quot; addthis:url=&quot;http://joetsuihk.com/en/en/apache_ubuntu_varnish_painless_upgrades&quot;&gt;&lt;img src=&quot;http://s7.addthis.com/static/btn/sm-share-en.gif&quot; alt=&quot;Share page with AddThis&quot; /&gt;
&lt;/a&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</description>
     <pubDate>Fri, 15 Feb 2013 08:00:06 +0000</pubDate>
 <dc:creator>JOE</dc:creator>
 <guid isPermaLink="false">356 at http://joetsuihk.com</guid>
  </item>
  <item>
    <title>Apache + Ubuntu + Varnish 無痛升級</title>
    <link>http://joetsuihk.com/en/node/355</link>
    <description>&lt;div class=&quot;field field-name-body field-type-text-with-summary field-label-hidden&quot;&gt;&lt;div class=&quot;field-items&quot;&gt;&lt;div class=&quot;field-item even&quot;&gt;&lt;p&gt;&lt;a href=&quot;https://www.varnish-cache.org/&quot; target=&quot;_blank&quot;&gt;Varnish&lt;/a&gt; 是一個「反向」的代理 (reverse proxy)&lt;br /&gt;
用法是和你的 Apache 一起，所有的流量都先經過 Varnish 的緩存&lt;br /&gt;
緩存落空後才由 Varnish 向 Apache 拿資料&lt;br /&gt;
因為 Apache 的結構是沒有針對檔案類別的&lt;br /&gt;
例如 Apache 送出一張圖片一樣會將 mod_php 載入到 RAM 內&lt;br /&gt;
同例可用於 CSS, JS 等靜態的檔案&lt;br /&gt;
做成大量的 RAM 浪費&lt;br /&gt;
而Varnish 的緩存可大大幫助這類靜態檔案佔用的資源&lt;br /&gt;
從而提升整體的效能&lt;/p&gt;
&lt;p&gt;這次我的目標是&lt;strong&gt;用最少的下線時間安裝和設置 Varnish&lt;/strong&gt;&lt;br /&gt;
大家記得一定要先備份有關設定的檔案&lt;/p&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;field field-name-taxonomy-vocabulary-2 field-type-taxonomy-term-reference field-label-above&quot;&gt;&lt;div class=&quot;field-label&quot;&gt;Free tags:&amp;nbsp;&lt;/div&gt;&lt;div class=&quot;field-items&quot;&gt;&lt;div class=&quot;field-item even&quot;&gt;&lt;a href=&quot;/en/free_tags/ubuntu&quot;&gt;ubuntu&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;field-item odd&quot;&gt;&lt;a href=&quot;/en/free_tags_4&quot;&gt;apache&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;field-item even&quot;&gt;&lt;a href=&quot;/en/free_tags_5&quot;&gt;varnish&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;field-item odd&quot;&gt;&lt;a href=&quot;/en/free_tags_6&quot;&gt;conf&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;field field-name-field-add-this field-type-addthis field-label-hidden&quot;&gt;&lt;div class=&quot;field-items&quot;&gt;&lt;div class=&quot;field-item even&quot;&gt;&lt;a class=&quot;addthis_button &quot; addthis:title=&quot;Apache + Ubuntu + Varnish 無痛升級 - JOE Tsui&amp;#039;s Drupal life in Hong Kong (香港)&quot; addthis:url=&quot;http://joetsuihk.com/en/node/355&quot;&gt;&lt;img src=&quot;http://s7.addthis.com/static/btn/sm-share-en.gif&quot; alt=&quot;Share page with AddThis&quot; /&gt;
&lt;/a&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</description>
     <pubDate>Fri, 15 Feb 2013 07:18:33 +0000</pubDate>
 <dc:creator>JOE</dc:creator>
 <guid isPermaLink="false">355 at http://joetsuihk.com</guid>
  </item>
  </channel>
</rss>
