<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" 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/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" version="2.0">

<channel>
	<title>Trevor May.ca</title>
	
	<link>http://www.trevormay.ca</link>
	<description />
	<lastBuildDate>Sat, 18 May 2013 02:52:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/trevormay" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="trevormay" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>The Hobbit High Frame Rate</title>
		<link>http://www.trevormay.ca/index.php/2012/12/the-hobbit-high-frame-rate/</link>
		<comments>http://www.trevormay.ca/index.php/2012/12/the-hobbit-high-frame-rate/#comments</comments>
		<pubDate>Fri, 14 Dec 2012 20:36:53 +0000</pubDate>
		<dc:creator>Canadaka</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.trevormay.ca/?p=20313</guid>
		<description><![CDATA[So yah, high frame rate&#8230; I want to like new things, in theory it sounds good and 24gps film is an outdated standard from almost 100 years ago, but&#8230;. Not sure I like it. I definitely get what a lot of reviews say that it looks like a video game or watching a live play. [...]]]></description>
			<content:encoded><![CDATA[<p>So yah, high frame rate&#8230; I want to like new things, in theory it sounds good and 24gps film is an outdated standard from almost 100 years ago, but&#8230;. Not sure I like it. I definitely get what a lot of reviews say that it looks like a video game or watching a live play. The scenes with CG, lots of light and a moving camera look fake, lots of movements look sped up, specially close-ups in brightly lit scenes. The first 10min all looked very strange, but after that you start to get used to it. Then there will be a scene that is kinda jarring that reminds you. It defiantly works better with dark low light scenes. It also helps a lot with the 3D, no blurriness, no eye strain and everything is SUPER crisp, maybe too much so at times.</p>
<p>I have to go see the movie again in normal 24fps non-3D to compare. I suspect I will enjoy it more the old-school way <img src='http://www.trevormay.ca/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.trevormay.ca/index.php/2012/12/the-hobbit-high-frame-rate/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Drupal Performance on IIS7 vs Apache</title>
		<link>http://www.trevormay.ca/index.php/2012/05/drupal-performance-on-iis7-vs-apache/</link>
		<comments>http://www.trevormay.ca/index.php/2012/05/drupal-performance-on-iis7-vs-apache/#comments</comments>
		<pubDate>Wed, 30 May 2012 10:33:51 +0000</pubDate>
		<dc:creator>Canadaka</dc:creator>
				<category><![CDATA[Web Dev]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.trevormay.ca/?p=18514</guid>
		<description><![CDATA[I&#8217;ve been doing a bunch of performance testing for one of my Drupal sites Trailforks.com and decided to compare IIS7 vs Apache 2.4. I host several Drupal websites on Windows Web Server 2008 with IIS7 and love it. I&#8217;ve read more and more articles that show IIS outperforms Apache and other web servers in many situations. [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been doing a bunch of performance testing for one of my Drupal sites <a href="http://www.trailforks.com" target="_blank">Trailforks.com</a> and decided to compare IIS7 vs Apache 2.4. I host several Drupal websites on Windows Web Server 2008 with IIS7 and love it. I&#8217;ve read more and more articles that show IIS outperforms Apache and other web servers in many situations. But I wanted to make sure I wasn&#8217;t loosing possible performance by hosting my site with IIS compared to Apache.</p>
<p>I created a local copy of my site and database on my desktop which is an<em><strong> Intel Core i7 920 OC@ 3.3Ghz with 6GB ram and an SSD</strong></em>. I installed the following software: <strong>IIS7, MySQL 5.5, PHP 5.3.13 &amp; Apache 2.4</strong>. For IIS I also installed Microsofts URL Rewrite plugin. Besides that the IIS7 configuration is default. PHP settings are default besides upping the memory_limit to 256MB. For my first tests I also left Apache with its default config.</p>
<p>I used Microsoft&#8217;s cool testing tool called <a href="http://www.iis.net/community/default.aspx?tabid=34&amp;i=1466&amp;g=6" target="_blank">WCAT</a>. My tests were to see how many pages each server could load in a 20 second period, with a 5 second warmup. The following is my wcat .ubr settings</p>
<blockquote><p>[Configuration]<br />
WarmupTime 5s<br />
NumClientMachines 1<br />
MaxRecvBuffer 64K<br />
CooldownTime 5s<br />
ThinkTime 0s<br />
NumClientThreads 80<br />
Duration 20s<br />
Comment Test Server</p>
<p>[Script]<br />
SET KeepAlive = TRUE</p>
<p>NEW TRANSACTION<br />
classId = 1<br />
weight = 100<br />
server = &#8220;localhost&#8221;<br />
NEW REQUEST HTTP<br />
URL = &#8220;http://trailforks.local/&#8221;</p></blockquote>
<p>For the Drupal side, I tested my Trailforks site which contains over 100 modules &amp; a custom theme. I created a blank page with a blank template using a custom module, so its the most basic drupal page. I disabled drupals cache and the Boost module cache. These are the initial results.</p>
<ol>
<li>IIS &#8211; <strong>192</strong></li>
<li>Apache &#8211; <strong>53</strong></li>
</ol>
<p>I was rather surprised with the results, IIS blew Apache out of the water. The next test was to enable boost and test serving basically just a simple html file.</p>
<ol>
<li>IIS &#8211; <strong>207,677</strong></li>
<li>Apache &#8211; <strong>84,436</strong></li>
</ol>
<div>Again IIS more than doubles Apache&#8217;s numbers. I also tried with IIS&#8217;s built-in &#8220;Output Caching&#8221; and the result was prety close to Boost at <strong>219,374. </strong>Now another advantage to IIS is that the default configuation of IIS7 and of PHP 5.3 when using the PHP Installer is pretty good, I wouldn&#8217;t change much. Its been several years since I had used Apache, but I knew that the default Apache config is not great. So I did a bit of looking around and added a couple things to the httpd.conf along with disabling all but the minimum Apache modules needed to run Drupal.</div>
<div></div>
<div>
<blockquote><p>KeepAlive On<br />
MaxKeepAliveRequests 150<br />
KeepAliveTimeout 5</p>
<p>&lt;IfModule mpm_winnt.c&gt;<br />
ThreadsPerChild 250<br />
MaxRequestsPerChild 0<br />
&lt;/IfModule&gt;</p></blockquote>
</div>
<div>This increased the Apache number only slightly from <strong>53</strong> to <strong>62</strong>.</div>
<div>I also wanted to test each platforms most popular PHP Opcode cache extension, Wincache &amp; APC. I installed the newest version for each and gave both lots of memory (same amount for both).</div>
<div>
<ol>
<li>IIS &#8211; <strong>683</strong></li>
<li>Apache &#8211; <strong>544</strong></li>
</ol>
<p>So once again IIS with Wincache beats out Apache with APC. Also nice to see that the opcode more than triples the performance!</p>
<p>Another quick test was to enable a &#8220;web garden&#8221; on the IIS application pool for the site. Changed the max worker process to 10. this increased the IIS number even further to <strong>936</strong>.</p>
<p>Doing these tests has defiantly reaffirmed my choice to use Windows &amp; IIS for hosting my sites. Not only does it outperform Apache in these specific tests but I find it MUCH easier to manage with the excellent UI&#8217;s and tools. Ever since Microsoft moved the HTTP.sys into the Windows kernal and rewrote IIS from 6 to 7, its been a solid competitive option. With Windows you also don&#8217;t have to worry about tweaking TCP like you have to on most Linus distros for optimal web hosting performance. Microsoft has also invested a lot into PHP &amp; FastCGI on Windows over the past several years and PHP on Windows/IIS is just as good as LAMP now. One of my favourite things about IIS is &#8220;application pools&#8221; and how each site is isolated from everything else, so if it crashes, or is running slow, it doesn&#8217;t effect the others. This also helps for security and application pools can be configured to recycle when it detects problems. Another huge bonus is most config changes you make with the IIS Admin GUI or by hand editing a web.config file take effect instantly! No restarting Apache every time you change a setting.</p>
</div>
<p>I know doing any kind of benchmarks is never perfect and I want to do more tests. I&#8217;m planning on running more tests with a higher concurrent to see if that changes the comparative results at all. Additionaly if anyone has any suggestions on how Apache might be better tweaked please let me know!</p>
<p>Easy WCAT setup I created with simple .BAT files to run creating the server &amp; client for testing: <a href="http://www.trevormay.ca/wp-content/uploads/2012/05/wcat_setup.zip">wcat_setup.zip</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.trevormay.ca/index.php/2012/05/drupal-performance-on-iis7-vs-apache/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How Politwitter Works</title>
		<link>http://www.trevormay.ca/index.php/2012/03/how-politwitter-works/</link>
		<comments>http://www.trevormay.ca/index.php/2012/03/how-politwitter-works/#comments</comments>
		<pubDate>Wed, 28 Mar 2012 04:23:56 +0000</pubDate>
		<dc:creator>Canadaka</dc:creator>
				<category><![CDATA[Web Dev]]></category>

		<guid isPermaLink="false">http://www.trevormay.ca/?p=18247</guid>
		<description><![CDATA[A new blog post on Politwitter detailing some of the background mechanisms that make Politwitter.ca tick. http://politwitter.ca/blog/26/how-politwitter-works]]></description>
			<content:encoded><![CDATA[<p>A new blog post on Politwitter detailing some of the background mechanisms that make Politwitter.ca tick. <a href="http://politwitter.ca/blog/26/how-politwitter-works">http://politwitter.ca/blog/26/how-politwitter-works</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.trevormay.ca/index.php/2012/03/how-politwitter-works/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Politwitter Launches Government Social Media Aggregator</title>
		<link>http://www.trevormay.ca/index.php/2012/03/politwitter-launches-government-social-media-aggregator/</link>
		<comments>http://www.trevormay.ca/index.php/2012/03/politwitter-launches-government-social-media-aggregator/#comments</comments>
		<pubDate>Mon, 12 Mar 2012 19:24:34 +0000</pubDate>
		<dc:creator>Canadaka</dc:creator>
				<category><![CDATA[Politics]]></category>
		<category><![CDATA[Web Dev]]></category>

		<guid isPermaLink="false">http://www.trevormay.ca/?p=18207</guid>
		<description><![CDATA[gov.politwitter.ca is a companion tool to Politwitter that tracks social media activity by Canadian government departments, institutions &#38; organizations. Many of the features, &#38; statistic tracking from Politwitter is now available to help track &#38; analyze how the Canadian government is using social media and how citizens are interacting with it. Back in 2009 after launching Politwitter.ca [...]]]></description>
			<content:encoded><![CDATA[<p><a title="" href="http://gov.politwitter.ca/">gov.politwitter.ca</a> is a companion tool to Politwitter that tracks social media activity by Canadian government departments, institutions &amp; organizations.</p>
<p>Many of the features, &amp; statistic tracking from Politwitter is now available to help track &amp; analyze how the Canadian government is using social media and how citizens are interacting with it.</p>
<p>Back in 2009 after launching Politwitter.ca I thought about creating sub-sites for local government, newsmedia &amp; government. In 2009 I started creating <a href="http://www.trevormay.ca/showcase/sites/default/files/newstweets_screenshot.PNG" rel="lightbox[18207]">newstweets.ca</a> but soon realised there was not much interest. I created <a title="" href="http://local.politwitter.ca/">local.politwitter.ca</a> to start collecting municipal twitter data, but also realised I didn&#8217;t have the time to maintain a database of all the municipalities in Canada. Keeping Politwitter going with federal &amp; provincial politics is already a big undertaking.</p>
<p>I started on a Government site but with federal &amp; provincial elections on the go I was focused on <a href="http://politwitter.ca/">Politwitter.ca</a>. Well in March 2012 a new site <a href="http://politwitter.ca/blog">zegov.ca</a> created a directory of Government Twitter &amp; Facebook accounts so it reminded &amp; prompted me to finish the Politwitter GOV site. Keeping a directory of Governments social media is manageable, the numbers aren&#8217;t huge. But as with the main Politwitter site the directory can be updated by anyone.</p>
<p>Politwitter not only lists government Twitter &amp; Facebook accounts but also includes Youtube, Flickr &amp; indexing of photos &amp; links. Politwitter also aggregates all of this government social media data for permanent archival and analysis, with features &amp; tools people have loved on the Politwitter political side.</p>
<p>Politwitter allows sorting, filtering, searching and statistics of the Government social media. More statistics will become available once more data is collected.</p>
<p>I don&#8217;t mean to step on Zegov&#8217;s toes, but I&#8217;ve had this on the backburner for 2 years and already had all the infrastructure built for Politwitter. Using the Politwiter platform gives much more functionality than exists on the Zegov website. I&#8217;ve also seen several projects like these popup over the years that fizzle out or aren&#8217;t maintained. Politwitter has a proven track record which media, politicians and government already rely on. I can also share data between the government &amp; political sites for deeper analysis going forward.</p>
<p>I&#8217;m always open to working with others or having people help develop Politwitter, but for the most part no one takes me up on that offer and it&#8217;s been a solo undertaking. Of course if you&#8217;re not a web developer you can always help by keeping the directory updated, telling others about Politwitter or <a href="http://politwitter.ca/blog">donating</a>.</p>
<p>If you have any suggestions for the new Government Politwitter let me know! If you see a government twitter account missing you can add it <a title="" href="http://politwitter.ca/blog">here</a>.</p>
<p><a href="http://gov.politwitter.ca/">gov.politwitter.ca</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.trevormay.ca/index.php/2012/03/politwitter-launches-government-social-media-aggregator/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Trailforks</title>
		<link>http://www.trevormay.ca/index.php/2012/02/trailforks/</link>
		<comments>http://www.trevormay.ca/index.php/2012/02/trailforks/#comments</comments>
		<pubDate>Sun, 19 Feb 2012 13:41:18 +0000</pubDate>
		<dc:creator>Canadaka</dc:creator>
				<category><![CDATA[Web Dev]]></category>
		<category><![CDATA[mountain biking]]></category>

		<guid isPermaLink="false">http://www.trevormay.ca/?p=18028</guid>
		<description><![CDATA[Finally pulling the wraps off a project I&#8217;ve been working on called Trailforks.www.trailforks.com is a community-powered mountain biking trail database currently focused on BC. The core functionality of Trailforks is a database for mountain biking trails. Trailforks is a crowd-sourced community site and users can help populate and keep the database updated. The data &#38; features [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.trailforks.com/"><img class="alignright" title="Trailforks Logo" src="http://www.trailforks.com/sites/default/files/trailforks_logo.png" alt="" width="302" height="70" /></a>Finally pulling the wraps off a project I&#8217;ve been working on called Trailforks.<a href="http://www.trailforks.com/" rel="nofollow nofollow" target="_blank">www.trailforks.com</a> is a community-powered mountain biking trail database currently focused on BC.</p>
<p>The core functionality of Trailforks is a database for mountain biking trails. Trailforks is a crowd-sourced community site and users can help populate and keep the database updated. The data &amp; features for each trail is tailed specifically for mountain biking. There is a high focus on getting GPS data for every trail &amp; maps are a big part of the site. Each trail page has a map and GPS data and each riding area has a Google Earth 3D map with all the trails plotted on it dynamically. Just upload a GPS track of a single trail and all the rest is handled automatically. (Example the <a href="http://www.trailforks.com/riding_areas/mount-fromme">Mount Fromme</a> Page)</p>
<p><a href="http://www.trevormay.ca/wp-content/uploads/2012/02/cypress_ge.png" rel="lightbox[18028]"><img class="alignleft size-thumbnail wp-image-18029" title="cypress_ge" src="http://www.trevormay.ca/wp-content/uploads/2012/02/cypress_ge-150x150.png" alt="" width="150" height="150" /></a>The site has loads of other features like photos, videos, skill parks, news, business directory, local products, events, forums, bike profiles, riding routes, route challenges, group ride planning &amp; more. But one feature I really want to promote is &#8220;Trail Reports&#8221;. A Trail Report is a quick entry posted by users indicating the status of a trail and describing any problems or things needing attention on a trail. A trail report can also be a log of work done on a trail and &#8220;trail days&#8221;. I hope that local riding associations and trail maintainers might start using this tool. Most pages on the site offer RSS feeds and I can create custom widgets for associations so they can display trail status and reports on their own sites. I also have a REST API that accepts and outputs data in XML, JSON or Serialized PHP.</p>
<p>To help encourage people to build the database users earn points for all the content they contribute and credit is given to the user. The site also has points &amp; gaming style achievements that users can unlock by helping contribute content or just by using the site. For example one of the achievements is &#8220;Ridden 100 Trails&#8221; earned by marking 100 trails as &#8220;ridden&#8221;.</p>
<p>Trailforks now also integrates with my &#8220;Ridelog&#8221; Facebook App.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.trevormay.ca/index.php/2012/02/trailforks/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
