<?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 for JavaScript Infected</title>
	<atom:link href="http://www.julianwong.net/blog/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.julianwong.net/blog</link>
	<description>Do everything with javascript</description>
	<lastBuildDate>Thu, 12 Aug 2010 00:59:54 +0000</lastBuildDate>
	
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on Rackspace cloud hosting (256MB Ram) and wordpress performance issue by kerpali</title>
		<link>http://www.julianwong.net/blog/2009/10/rackspace-cloud-hosting-256mb-ram-and-wordpress-performance-issu/comment-page-1/#comment-932</link>
		<dc:creator>kerpali</dc:creator>
		<pubDate>Thu, 12 Aug 2010 00:59:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.julianwong.net/blog/?p=212#comment-932</guid>
		<description>I use Rackspace Servers and 256MB is very small instance type that I can&#039;t imagine using for production.

High memory usage (PHP, Apache, ect) leads to caching which makes requests slow. I think the reason for your problem is that the subversion repo. you&#039;re installing from ( probably the apache/php repos) is not compiled optimally for low memory. Most repos are compiled with broad support in mind, not low memory systems. The particulars of the VM virtual hardware also might be another reason.

If you insist on ONE, 246MB VPS:
1) Select a light, stable distros like CentOS. Don&#039;t get bleeding edge versions of programs unless you need&#039;em. Then go through and remove anything that isn&#039;t absolutely necessary and is taking up memory. Use &#039;top&#039; and &#039;ps aux&#039; to find&#039;em. Be smart about what you remove.

2) Don&#039;t use Apache. Use a web server with a smaller memory footprint (ie- lighttpd, nginx). Compile both from source (and using ONLY the modules you need if nginx). Use some compiler optimizations . There are specific tricks for low memory systems. Google.

3) Next you should be caching aggressively either internally within Wordpress or externally with a caching program. There is NO reason why you should have to run a script that outputs the same thing that it has outputted before. 

4) Edit php.ini and web server configs. In php.ini increase max memory usage (yes, you heard me). In webserver config decrease number of max simultaneous connections (yah, you head me there too). 

5) Create a separate user for the web server also. Use &#039;ulimit&#039; to adjust max usage accordingly. &#039;Unlimited&#039; doesn&#039;t work when it causing your server to cache/crash. You&#039;re better off dropping one user to a 500 error than serving the request and slowing down every other connected user in the process.</description>
		<content:encoded><![CDATA[<p>I use Rackspace Servers and 256MB is very small instance type that I can&#8217;t imagine using for production.</p>
<p>High memory usage (PHP, Apache, ect) leads to caching which makes requests slow. I think the reason for your problem is that the subversion repo. you&#8217;re installing from ( probably the apache/php repos) is not compiled optimally for low memory. Most repos are compiled with broad support in mind, not low memory systems. The particulars of the VM virtual hardware also might be another reason.</p>
<p>If you insist on ONE, 246MB VPS:<br />
1) Select a light, stable distros like CentOS. Don&#8217;t get bleeding edge versions of programs unless you need&#8217;em. Then go through and remove anything that isn&#8217;t absolutely necessary and is taking up memory. Use &#8216;top&#8217; and &#8216;ps aux&#8217; to find&#8217;em. Be smart about what you remove.</p>
<p>2) Don&#8217;t use Apache. Use a web server with a smaller memory footprint (ie- lighttpd, nginx). Compile both from source (and using ONLY the modules you need if nginx). Use some compiler optimizations . There are specific tricks for low memory systems. Google.</p>
<p>3) Next you should be caching aggressively either internally within Wordpress or externally with a caching program. There is NO reason why you should have to run a script that outputs the same thing that it has outputted before. </p>
<p>4) Edit php.ini and web server configs. In php.ini increase max memory usage (yes, you heard me). In webserver config decrease number of max simultaneous connections (yah, you head me there too). </p>
<p>5) Create a separate user for the web server also. Use &#8216;ulimit&#8217; to adjust max usage accordingly. &#8216;Unlimited&#8217; doesn&#8217;t work when it causing your server to cache/crash. You&#8217;re better off dropping one user to a 500 error than serving the request and slowing down every other connected user in the process.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Rackspace cloud hosting (256MB Ram) and wordpress performance issue by hosting vouchers</title>
		<link>http://www.julianwong.net/blog/2009/10/rackspace-cloud-hosting-256mb-ram-and-wordpress-performance-issu/comment-page-1/#comment-848</link>
		<dc:creator>hosting vouchers</dc:creator>
		<pubDate>Thu, 08 Jul 2010 10:43:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.julianwong.net/blog/?p=212#comment-848</guid>
		<description>where the best hosting do you know? in my country it&#039;ss too expensive. this price 4$/month</description>
		<content:encoded><![CDATA[<p>where the best hosting do you know? in my country it&#8217;ss too expensive. this price 4$/month</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on About by Athena Tang</title>
		<link>http://www.julianwong.net/blog/about-2/comment-page-1/#comment-786</link>
		<dc:creator>Athena Tang</dc:creator>
		<pubDate>Mon, 14 Jun 2010 09:49:05 +0000</pubDate>
		<guid isPermaLink="false">http://julianwong.net/blog/?page_id=2#comment-786</guid>
		<description>Dear Julian,

Greetings from Solomann Asia Pacific! We are an executive search firm, based in Hong Kong, established to cater to international organizations and local multinationals with an Asian value and understanding. 

Currently, we are presenting a US listed, Fortune 500 company with strong presence in the Asia Pacific region. They are seeking for a talented individual to be placed in a  senior position in web development to lead their web development team. The position is based in Hong Kong. 

Julian, we will look forward to receiving your email with a contact number where we can reach you to have a more detailed discussion. 

Please do not hesitate to contact me via email or at (852) 2122 9293 for more details. 
We will look forward to hearing back from you! 

Warm regards,


Athena Tang

Regional Researcher
Solomann Asia Pacific 
athena@solomann.com
(852) 2122 9293</description>
		<content:encoded><![CDATA[<p>Dear Julian,</p>
<p>Greetings from Solomann Asia Pacific! We are an executive search firm, based in Hong Kong, established to cater to international organizations and local multinationals with an Asian value and understanding. </p>
<p>Currently, we are presenting a US listed, Fortune 500 company with strong presence in the Asia Pacific region. They are seeking for a talented individual to be placed in a  senior position in web development to lead their web development team. The position is based in Hong Kong. </p>
<p>Julian, we will look forward to receiving your email with a contact number where we can reach you to have a more detailed discussion. </p>
<p>Please do not hesitate to contact me via email or at (852) 2122 9293 for more details.<br />
We will look forward to hearing back from you! </p>
<p>Warm regards,</p>
<p>Athena Tang</p>
<p>Regional Researcher<br />
Solomann Asia Pacific<br />
<a href="mailto:athena@solomann.com">athena@solomann.com</a><br />
(852) 2122 9293</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using custom event on jQuery by julian</title>
		<link>http://www.julianwong.net/blog/2009/09/using-custom-event-on-jquery/comment-page-1/#comment-658</link>
		<dc:creator>julian</dc:creator>
		<pubDate>Sat, 08 May 2010 06:48:39 +0000</pubDate>
		<guid isPermaLink="false">http://julianwong.net/blog/?p=155#comment-658</guid>
		<description>It is good that you found it useful. If you look into the source code of mhub, it is pretty simple. If you don&#039;t want to use jQuery, you can just take it out and use it with other ajax library.</description>
		<content:encoded><![CDATA[<p>It is good that you found it useful. If you look into the source code of mhub, it is pretty simple. If you don&#8217;t want to use jQuery, you can just take it out and use it with other ajax library.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using custom event on jQuery by ThimbleOpenSource</title>
		<link>http://www.julianwong.net/blog/2009/09/using-custom-event-on-jquery/comment-page-1/#comment-653</link>
		<dc:creator>ThimbleOpenSource</dc:creator>
		<pubDate>Fri, 07 May 2010 05:17:32 +0000</pubDate>
		<guid isPermaLink="false">http://julianwong.net/blog/?p=155#comment-653</guid>
		<description>I am using mhub on one of my projects and it&#039;s really great help.</description>
		<content:encoded><![CDATA[<p>I am using mhub on one of my projects and it&#8217;s really great help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on It&#8217;s been a long time&#8230; by Joe</title>
		<link>http://www.julianwong.net/blog/2010/03/its-been-a-long-time/comment-page-1/#comment-482</link>
		<dc:creator>Joe</dc:creator>
		<pubDate>Sat, 03 Apr 2010 09:13:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.julianwong.net/blog/?p=250#comment-482</guid>
		<description>Good luck!~</description>
		<content:encoded><![CDATA[<p>Good luck!~</p>
]]></content:encoded>
	</item>
</channel>
</rss>
