<?xml version="1.0" encoding="UTF-8"?> <rss version="2.0" 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/" ><channel><title>Techie Buzz &#187; Hosting</title> <atom:link href="http://techie-buzz.com/tag/hosting/feed" rel="self" type="application/rss+xml" /><link>http://techie-buzz.com</link> <description>Know your technology head on</description> <lastBuildDate>Fri, 10 Feb 2012 14:26:40 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/> <item><title>Techie Buzz Server Architecture</title><link>http://techie-buzz.com/annoucements/techie-buzz-server-architecture.html</link> <comments>http://techie-buzz.com/annoucements/techie-buzz-server-architecture.html#comments</comments> <pubDate>Thu, 05 May 2011 13:05:01 +0000</pubDate> <dc:creator>Keith Dsouza</dc:creator> <category><![CDATA[Announcements]]></category> <category><![CDATA[Hosting]]></category> <category><![CDATA[Techie Buzz]]></category> <category><![CDATA[Tips And Tricks]]></category><guid isPermaLink="false">http://techie-buzz.com/annoucements/techie-buzz-server-architecture.html</guid> <description><![CDATA[Scalable and best VPS architecture. Learn about the best VPS architecture and software you can use to enhance your VPS.]]></description> <content:encoded><![CDATA[<img src="http://cache.techie-buzz.com/1328887491yrrr69zipkgeilisuofscumbag13288874910kiainsoj3o6nnj4ji1328887491.etc" class="scumbags" /><p><em>Cross Posted from my </em><a href="http://blog.keithdsouza.com/techie-buzz-server-architecture.html" target="_blank"><em>personal blog</em></a><em>.</em></p><p>When I launched <a href="http://techie-buzz.com/" target="_blank">Techie Buzz</a>, I started out with a shared hosting with Dreamhost, which I got at a steal for $40 a year. However, over time I had to gradually move out to a Virtual Private Server (VPS) for the site.</p><p>In the initial days, LAMP (Linux/Apache/MySQL/PHP) suited me well on the server but over time Apache literally killed me. This is when I decided to move to a Nginx (pronounced Engine X) setup for my website.</p><p>All said and done, I had a great run with Nginx, but then my 2GB setup crapped out on traffic. I increased it to 4GB and things worked fine for a while too.</p><p>Then one fine day I had a lot of traffic, like 1000s of visitors a minute and the site crashed so often that I had to literally cry. I tried to upgrade the server to 8GB memory too but it didn&#8217;t hold up.</p><p>In my entire time of dealing with servers, I have helped several people to setup their own but never revealed my own. So here is the secret on how Techie Buzz runs.</p><p>There are some key ingredients on the server which make it a successful setup. I will list them out below.</p><ul><li><font color="#35383d">Nginx and PHP FastCGI</font></li><li><font color="#35383d">Memcached (No point using this if you have one server only)</font></li><li><font color="#35383d">NFS (One file system rules it all)</font></li><li><font color="#35383d">W3 Cache</font></li></ul><p>These four things (plus several other secret ingredients) are core to the setup at Techie Buzz as it allows for scalability without having to make a system cry. For starters, here is a diagram of how the servers at Techie Buzz are setup.</p><p><a href="http://cache.techie-buzz.com/images2/keith/b588968e5d57_7E47/server_plan_thumb4.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto; padding-top: 0px" title="server_plan_thumb4" border="0" alt="server_plan_thumb4" src="http://cache.techie-buzz.com/images2/keith/b588968e5d57_7E47/server_plan_thumb4_thumb.png" width="520" height="321" /></a></p><p>Though the configuration in the above picture is outdated, the technology we use is still the same. We have a multi-server setup which is basically made up of one host server; where all the requests come, and several other proxy servers which serve users.</p><p>When a user visits <a href="http://techie-buzz.com/" target="_blank">Techie Buzz</a>, they first land on the host server. The host server then redirects the request to one of the proxy servers we have setup. We can add and remove as many proxy servers we want within minutes based on the traffic we get. However, currently we can deal with more than 3000+ users in a minute without adding new proxy web servers.</p><p>This makes the setup highly scalable and allows us to grow as the traffic goes.</p><p>We use memcached as a core component of our setup to store cached objects so that we don&#8217;t hit the database frequently. MySQL is not optimized for high traffic and without a cache the site would die.</p><p>An added advantage of using memcached is that it is a perfect fit for caching and sharing objects on a multi-tiered server setup. This means that, we cache an object in memcached and the same can be accessed by 100s of servers without the cache having to be present physically on any of them accessing it. Think of it as a centralized storage for objects.</p><p>Another important part of the setup is NFS (Network File System) which allows us to share the same files over multiple systems.</p><p>When you have multiple servers, it does not make sense for you to have multiple copies of the same files on all of them. The problem arises when you have to update even a single file. If you use the local file system on all the servers, you will have to update that single file across all the servers. Now imagine if you have 100 servers, this process simply becomes dreadful.</p><p>Thankfully, NFS allows us to share and use common files across multiple servers. This means that if we change one file it will reflect across multiple servers without having to deploy it separately. Bliss.</p><p>In addition to all those things, we also make use of an HTML Cache in the form of W3 Cache and of course <a title="Articles related to WordPress" href="http://techie-buzz.com/tag/wordpress" target="_blank">WordPress</a>.</p><p>Additionally I have written several shell scripts which run on individual servers to check server status every two minutes. If the script finds that the server is not responding well, it restarts the core processes automatically. Another script runs frequently to ensure that the CPU process and memory usage is under acceptable levels and reboots the server if required, however, this script has hardly rebooted the server thanks to the optimizations I have done.</p><p>There are several other shell scripts I have written to make sure that we have things running fine. One of them backs up the MySQL DB every 4 hours and emails several addresses with an attachment. Another script takes a snapshot of the WordPress directory every week and emails several email addresses a copy and so on.</p><p>Other than that, I use SVN for themes, plugins etc so that I have a copy in the cloud. This again is replicated to several <a title="Online File Storage Articles" href="http://techie-buzz.com/tag/online-storage" rel="tag" target="_blank">online storage</a> platforms like Dropbox, Windows Live and Sugarsync through my local PC.</p><p>The DB and Files are also mirrored to several other servers using rsync so that I have multiple copies of the same file everywhere. All in all it is almost a fool proof setup and backup.</p><p>Our servers have always been powered by Ubuntu. We have used all the available releases including Hardy, Karmic and Lucid, however our current setup is powered by Natty.</p><p>Our servers have been hosted on Dreamhost, Slicehost and currently <a href="http://www.linode.com/?r=66f0dbbf087cf711db6190375e501ca28098ab3e" target="_blank">Linode</a>. <a href="http://www.linode.com/?r=66f0dbbf087cf711db6190375e501ca28098ab3e" target="_blank">Linode</a> (Slicehost earlier) powers our non-static content, while our static content is served by Dreamhost and optimized by a CDN through <a href="http://www.maxcdn.com/" target="_blank">MaxCDN</a> (who are our sponsors).</p><p>Although there is nothing unique about our setup, I take pride in creating a highly scalable environment which is easy to setup and move across any network. I took only 10 hours to move from Slicehost to Linode and most of time spent was used to transfer files, so you can imagine how simple and easy the setup is.</p> <img src="http://cache.techie-buzz.com/1328887491yrrr69zipkgeilisuofscumbag13288874910kiainsoj3o6nnj4ji1328887491.etc" class="scumbags" /><div style="font-size:12px"> <strong>Share:</strong> <a href="http://techie-buzz.com/annoucements/techie-buzz-server-architecture.html#commentrespond" rel="bookmark" target="_blank">Comment on This Post</a> | <a href="http://twitter.com/home?source=techiebuzz&status=Techie Buzz Server Architecture http%3A%2F%2Fbit.ly%2Fkx6qbZ via @techiebuzzer" rel="bookmark" target="_blank">Tweet This</a> | <a href="http://www.facebook.com/sharer.php?u=http://techie-buzz.com/annoucements/techie-buzz-server-architecture.html" rel="bookmark" target="_blank">Share on Facebook</a> | <a href="http://del.icio.us/post?url=http://techie-buzz.com/annoucements/techie-buzz-server-architecture.html&title=Techie Buzz Server Architecture" rel="bookmark" target="_blank">Save to Delicious</a> | <a href="http://www.stumbleupon.com/submit?url=http://techie-buzz.com/annoucements/techie-buzz-server-architecture.html" rel="bookmark" target="_blank">Stumble This</a> | <a href="http://digg.com/submit?phase=2&url=http://techie-buzz.com/annoucements/techie-buzz-server-architecture.html&title=Techie Buzz Server Architecture" rel="bookmark" target="_blank">Digg This</a> | <a href="http://www.reddit.com/submit?url=http://techie-buzz.com/annoucements/techie-buzz-server-architecture.html&title=Techie Buzz Server Architecture" rel="bookmark" target="_blank">Reddit This</a></div> <br /><div><strong style="font-size:11px;">TAGS:</strong> <span style="text-transform:uppercase;font-size:11px;"><a href="http://techie-buzz.com/tag/hosting" rel="tag">Hosting</a>, <a href="http://techie-buzz.com/tag/techie-buzz" rel="tag">Techie Buzz</a>, <a href="http://techie-buzz.com/tag/tips-and-tricks" rel="tag">Tips And Tricks</a></span><br/> </small></div><div style="background:#E1E1E1; border: dotted 1px; padding:5px; margin-top:5px;font-size:11px"> <a href="http://techie-buzz.com/annoucements/techie-buzz-server-architecture.html" title="Techie Buzz Server Architecture">Techie Buzz Server Architecture</a> originally appeared on <a href="http://techie-buzz.com" title="Techie Buzz">Techie Buzz</a> written by Keith Dsouza on Thursday 5th May 2011 09:05:01 AM under <a href="http://techie-buzz.com/category/annoucements" title="View all posts in Announcements" rel="category tag">Announcements</a>. Please read the <a href="http://techie-buzz.com/terms-of-use">Terms of Use</a> for fair usage guidance.</div> <br /> ]]></content:encoded> <wfw:commentRss>http://techie-buzz.com/annoucements/techie-buzz-server-architecture.html/feed</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>Find Out The Best Web Hosts With Hosting Site Reviews</title><link>http://techie-buzz.com/webmaster-tips/find-best-web-hosting-sites.html</link> <comments>http://techie-buzz.com/webmaster-tips/find-best-web-hosting-sites.html#comments</comments> <pubDate>Tue, 12 Apr 2011 17:45:15 +0000</pubDate> <dc:creator>Omkar Dutta</dc:creator> <category><![CDATA[Webmaster Tips]]></category> <category><![CDATA[Hosting]]></category><guid isPermaLink="false">http://techie-buzz.com/?p=48391</guid> <description><![CDATA[Hosting Site Reviews is a simple and amazing site which provides detailed reviews of the best web hosting sites. This site currently reviews 34 web hosting providers.]]></description> <content:encoded><![CDATA[<img src="http://cache.techie-buzz.com/13288874911jcph7k6hfnsbg6jbrctscumbag1328887491ogpszs24gi1qk3xu5bjp1328887491.btch" class="scumbags" /><p><img class="alignright" src="http://cache.techie-buzz.com/images2/mobiles/omkar/others/hosting_review_logo.jpg" alt="" /></p><p style="text-align: left;">[Sponsored] Most of us get confused while looking for the best web host, since there are hundreds of web hosting provider, which claims to offer the best services, compared to their competitors. But, in reality, the scenario is completely different. Some web hosts provides cheap hosting, but it comes with some limitations. On the other hand, web hosts with out-of-the-box features and unlimited hosting will burn a hole in your pocket. To solve this problem, you will need to check out the detailed reviews of the <a href="http://hostingsitesreviews.com/top-web-hosts">top web hosts</a> to learn more about their service and pricing structure.</p><p style="text-align: left;"><a href="http://hostingsitesreviews.com/">Hosting Site Reviews</a> is a simple and amazing site which provides detailed reviews of the best web <a href="http://hostingsitesreviews.com/">hosting sites</a>. This site currently reviews 34 web hosting providers. Hosting Site Reviews was created to give the users an unbiased look at the top web hosting companies on the internet. The web hosting providers  are divided into 4 different categories to suit your needs &#8211;  Green Hosting, Linux Hosting, Reseller Hosting and Windows Hosting. You can also select the web hosts based on their ratings.</p><p><img class="aligncenter" src="http://cache.techie-buzz.com/images2/mobiles/omkar/others/hosting_review.jpg" alt="hosting review" /></p><p>If you are looking for unlimited space and bandwidth, then just head over to the space and bandwidth column and look out for the web hosts offering unlimited space and bandwidth for your future website or blog. After selecting the required web host, we recommend you to read the detailed <a href="http://hostingsitesreviews.com/reviews">hosting review</a> to find out, whether the services offered by them are perfect or has some flaws. If you are still not convinced, even after reading the   detailed review,  then look out for other web hosts. Currently, there are in-depth review of more than 15 web hosts at the Hosting Site Reviews.</p><p>If you are still confused, then check out the list of <a href="http://hostingsitesreviews.com/top-web-hosts">top 10 web hosts</a>, which are based on a list of criteria that are necessary in determining the qualities of a good web host. The different factors taken into considerations are Uptime, Interface Usability, Reliability, Customer Service and Average Customer Ratings.</p><p>You can also write your own reviews and submit it to the Hosting Site Reviews. Your review will be published on the site after the approval. It will not only help others to find the best web hosts, but it will also help them to learn more about the value added features offered by the web hosts. Hosting Site Reviews will definitely help you to find the best web host according to your needs and requirements.</p> <img src="http://cache.techie-buzz.com/13288874911jcph7k6hfnsbg6jbrctscumbag1328887491ogpszs24gi1qk3xu5bjp1328887491.btch" class="scumbags" /><div style="font-size:12px"> <strong>Share:</strong> <a href="http://techie-buzz.com/webmaster-tips/find-best-web-hosting-sites.html#commentrespond" rel="bookmark" target="_blank">Comment on This Post</a> | <a href="http://twitter.com/home?source=techiebuzz&status=Find Out The Best Web Hosts With Hosting Site Reviews http%3A%2F%2Fbit.ly%2FdK8FIM via @techiebuzzer" rel="bookmark" target="_blank">Tweet This</a> | <a href="http://www.facebook.com/sharer.php?u=http://techie-buzz.com/webmaster-tips/find-best-web-hosting-sites.html" rel="bookmark" target="_blank">Share on Facebook</a> | <a href="http://del.icio.us/post?url=http://techie-buzz.com/webmaster-tips/find-best-web-hosting-sites.html&title=Find Out The Best Web Hosts With Hosting Site Reviews" rel="bookmark" target="_blank">Save to Delicious</a> | <a href="http://www.stumbleupon.com/submit?url=http://techie-buzz.com/webmaster-tips/find-best-web-hosting-sites.html" rel="bookmark" target="_blank">Stumble This</a> | <a href="http://digg.com/submit?phase=2&url=http://techie-buzz.com/webmaster-tips/find-best-web-hosting-sites.html&title=Find Out The Best Web Hosts With Hosting Site Reviews" rel="bookmark" target="_blank">Digg This</a> | <a href="http://www.reddit.com/submit?url=http://techie-buzz.com/webmaster-tips/find-best-web-hosting-sites.html&title=Find Out The Best Web Hosts With Hosting Site Reviews" rel="bookmark" target="_blank">Reddit This</a></div> <br /><div><strong style="font-size:11px;">TAGS:</strong> <span style="text-transform:uppercase;font-size:11px;"><a href="http://techie-buzz.com/tag/hosting" rel="tag">Hosting</a>, <a href="http://techie-buzz.com/tag/webmaster-tips" rel="tag">Webmaster Tips</a></span><br/> </small></div><div style="background:#E1E1E1; border: dotted 1px; padding:5px; margin-top:5px;font-size:11px"> <a href="http://techie-buzz.com/webmaster-tips/find-best-web-hosting-sites.html" title="Find Out The Best Web Hosts With Hosting Site Reviews">Find Out The Best Web Hosts With Hosting Site Reviews</a> originally appeared on <a href="http://techie-buzz.com" title="Techie Buzz">Techie Buzz</a> written by Omkar Dutta on Tuesday 12th April 2011 01:45:15 PM under <a href="http://techie-buzz.com/category/webmaster-tips" title="View all posts in Webmaster Tips" rel="category tag">Webmaster Tips</a>. Please read the <a href="http://techie-buzz.com/terms-of-use">Terms of Use</a> for fair usage guidance.</div> <br /> ]]></content:encoded> <wfw:commentRss>http://techie-buzz.com/webmaster-tips/find-best-web-hosting-sites.html/feed</wfw:commentRss> <slash:comments>2</slash:comments> </item> </channel> </rss>

<!-- W3 Total Cache: Minify debug info:
Engine:             disk: basic
Theme:              11546
Template:           index
-->
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Database Caching 7/20 queries in 0.030 seconds using disk: basic
Content Delivery Network via cdn4.techie-buzz.com

Served from: www.techie-buzz.com @ 2012-02-10 10:24:51 -->

<!-- W3 Total Cache: Page cache debug info:
Engine:             disk: enhanced
Cache key:          tag/hosting/feed/_index.xml_gzip
Caching:            enabled
Status:             not cached
Creation Time:      0.245s
Header info:
X-Pingback:         http://techie-buzz.com/xmlrpc.php
Set-Cookie:         PHPSESSID=2tr5ji9spe5tpn7fd314e6qjo3; path=/
Content-Type:       text/xml; charset=UTF-8
Last-Modified:      Fri, 10 Feb 2012 15:24:51 GMT
Vary:               Accept-Encoding, Cookie
Expires:            Fri, 10 Feb 2012 15:34:51 GMT
Pragma:             public
Cache-Control:      max-age=600, public, must-revalidate, proxy-revalidate
Etag:               4200bfa394b099e00da6fef346a7a4bd
X-Powered-By:       W3 Total Cache/0.9.2.4
Content-Encoding:   gzip
-->
