<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-3089946508856387846</id><updated>2012-02-16T05:52:15.097-05:00</updated><category term='PHP'/><category term='print'/><category term='echo'/><category term='Hip Hop'/><category term='emacs'/><category term='XSLT'/><category term='System Preformance'/><category term='XSL'/><category term='erlang'/><category term='NIC'/><category term='Topics'/><category term='Interrupts'/><category term='windows'/><category term='syntax highlighting'/><category term='Web Apps'/><category term='Scaling'/><category term='X11'/><category term='Power'/><title type='text'>Scale The Blog</title><subtitle type='html'>Scaling Web Apps from racks to lines of code.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.scaletheblog.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3089946508856387846/posts/default'/><link rel='alternate' type='text/html' href='http://www.scaletheblog.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Mr. Scale</name><uri>http://www.blogger.com/profile/03528129516086494135</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>10</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3089946508856387846.post-3841654060565967463</id><published>2010-02-12T11:24:00.003-05:00</published><updated>2010-02-12T11:34:02.907-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='windows'/><category scheme='http://www.blogger.com/atom/ns#' term='emacs'/><category scheme='http://www.blogger.com/atom/ns#' term='X11'/><title type='text'>Emacs on windows.</title><summary type='text'>So I like to work on my server as it has automated backups and it keeps all my work in one spot.  The only issue that I have is I don't always like sitting at the server to do code.  So to solve this I installed a X11 server on my Windows laptop.  This was rather easy to do and now I get the use of my mouse with emacs.  Here is the processes:1. Download Xming2. Download Xming-Fonts (this is not </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3089946508856387846/posts/default/3841654060565967463'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3089946508856387846/posts/default/3841654060565967463'/><link rel='alternate' type='text/html' href='http://www.scaletheblog.com/2010/02/emacs-on-windows.html' title='Emacs on windows.'/><author><name>Mr. Scale</name><uri>http://www.blogger.com/profile/03528129516086494135</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-3089946508856387846.post-4948213062288892495</id><published>2010-02-10T10:06:00.002-05:00</published><updated>2010-02-10T10:09:49.937-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='PHP'/><category scheme='http://www.blogger.com/atom/ns#' term='Hip Hop'/><title type='text'>Hip Hop PHP</title><summary type='text'>I hope eveyone has seen this and if not you must go look at what has been released from Facebook.Hip Hop PHPIf someone has tried it or has results they would like to share let me know.</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3089946508856387846/posts/default/4948213062288892495'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3089946508856387846/posts/default/4948213062288892495'/><link rel='alternate' type='text/html' href='http://www.scaletheblog.com/2010/02/hip-hop-php.html' title='Hip Hop PHP'/><author><name>Mr. Scale</name><uri>http://www.blogger.com/profile/03528129516086494135</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-3089946508856387846.post-5431278155536215707</id><published>2010-02-05T10:30:00.004-05:00</published><updated>2010-02-05T10:35:40.060-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='erlang'/><category scheme='http://www.blogger.com/atom/ns#' term='syntax highlighting'/><category scheme='http://www.blogger.com/atom/ns#' term='emacs'/><title type='text'>Setting Up Emacs for Erlang</title><summary type='text'>Here is what you need to add to you .emacs file in you home dir to get emacs to do syntax highlighting and compiling.(setq load-path (cons  "/lib/erlang/lib/tools-2.6.5/emacs" load-path))(setq erlang-root-dir "")(setq exec-path (cons "/bin" exec-path))(require 'erlang-start)(custom-set-variables '(transient-mark-mode t))(setq font-lock-maximum-decoration t)(global-font-lock-mode 1)In case you </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3089946508856387846/posts/default/5431278155536215707'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3089946508856387846/posts/default/5431278155536215707'/><link rel='alternate' type='text/html' href='http://www.scaletheblog.com/2010/02/setting-up-emacs-for-erlang.html' title='Setting Up Emacs for Erlang'/><author><name>Mr. Scale</name><uri>http://www.blogger.com/profile/03528129516086494135</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-3089946508856387846.post-4251597288105313486</id><published>2009-02-20T13:10:00.000-05:00</published><updated>2009-02-20T13:10:00.809-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='NIC'/><category scheme='http://www.blogger.com/atom/ns#' term='Interrupts'/><category scheme='http://www.blogger.com/atom/ns#' term='System Preformance'/><title type='text'>NIC Interrupts on Multi-Core</title><summary type='text'>So in the last post I talked about how to detect the problem, in this post I'll talk about some solutions.  This list is not ordered from easiest to hardest nor do I suggest just doing one of these will solve your problem.Hardware SolutionGet more servers.Turn on Jumbo Frames.Find a Network card that supports MSI-X.Software SolutionsHack the Network drivers and Epoll.Use Keep-Alive and Connection</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3089946508856387846/posts/default/4251597288105313486'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3089946508856387846/posts/default/4251597288105313486'/><link rel='alternate' type='text/html' href='http://www.scaletheblog.com/2009/02/nic-interrupts-on-multi-core.html' title='NIC Interrupts on Multi-Core'/><author><name>Mr. Scale</name><uri>http://www.blogger.com/profile/03528129516086494135</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-3089946508856387846.post-1909047984236945274</id><published>2009-02-09T10:30:00.001-05:00</published><updated>2009-02-09T10:30:00.735-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='NIC'/><category scheme='http://www.blogger.com/atom/ns#' term='System Preformance'/><category scheme='http://www.blogger.com/atom/ns#' term='Scaling'/><title type='text'>New Network Card</title><summary type='text'>Sorry about the delay in posting work has been keeping me real busy.  Also testing solutions to the NIC interrupts issue has sucked more time then expected.Here is a new product that could help with some of your network issues.http://www.networkworld.com/news/2009/020609-commex.html?hpg1=bnz</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3089946508856387846/posts/default/1909047984236945274'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3089946508856387846/posts/default/1909047984236945274'/><link rel='alternate' type='text/html' href='http://www.scaletheblog.com/2009/02/new-network-card.html' title='New Network Card'/><author><name>Mr. Scale</name><uri>http://www.blogger.com/profile/03528129516086494135</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-3089946508856387846.post-1154774955167753562</id><published>2009-01-20T12:00:00.002-05:00</published><updated>2009-01-20T12:00:00.266-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='NIC'/><category scheme='http://www.blogger.com/atom/ns#' term='Interrupts'/><category scheme='http://www.blogger.com/atom/ns#' term='System Preformance'/><title type='text'>NIC Interrupts on Multi-Core</title><summary type='text'>I wonder how many people out there have this issue and don't even know it.  Let me explain what happening and how you would detect the problem and then suggest some ways to go about fixing it.The easiest way to go about seeing if you have the problem is to cat the /proc/interrupts file.[blog@web ~]$ cat /proc/interrupts           CPU0       CPU1       CPU2       CPU3  0:  165886477          0</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3089946508856387846/posts/default/1154774955167753562'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3089946508856387846/posts/default/1154774955167753562'/><link rel='alternate' type='text/html' href='http://www.scaletheblog.com/2009/01/nic-interrupts-on-multi-core.html' title='NIC Interrupts on Multi-Core'/><author><name>Mr. Scale</name><uri>http://www.blogger.com/profile/03528129516086494135</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-3089946508856387846.post-2407167699452455864</id><published>2009-01-13T09:45:00.002-05:00</published><updated>2009-01-13T09:45:00.897-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Web Apps'/><category scheme='http://www.blogger.com/atom/ns#' term='Scaling'/><title type='text'>7 Steps Of Scaling</title><summary type='text'>I'm sure by now everyone has seen this but I should have it here as a reference.7-stages-of-scaling-web-applicationsBy John Engales CTO, Rackspace. Good presentation of the stages a typical successful website goes through:* Stage 1 - The Beginning: Simple architecture, low complexity. no redundancy. Firewall, load balancer, a pair of web servers, database server, and internal storage.* Stage 2 - </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3089946508856387846/posts/default/2407167699452455864'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3089946508856387846/posts/default/2407167699452455864'/><link rel='alternate' type='text/html' href='http://www.scaletheblog.com/2009/01/7-steps-of-scaling.html' title='7 Steps Of Scaling'/><author><name>Mr. Scale</name><uri>http://www.blogger.com/profile/03528129516086494135</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-3089946508856387846.post-6076892843039821075</id><published>2009-01-12T10:15:00.009-05:00</published><updated>2009-01-14T10:24:11.158-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='echo'/><category scheme='http://www.blogger.com/atom/ns#' term='PHP'/><category scheme='http://www.blogger.com/atom/ns#' term='print'/><title type='text'>PHP print vs echo</title><summary type='text'>This is a big topic for anyone writing PHP so I thought I would do my own test. I ran each 3 times ignoring the first run.  With this simple test it would seams that   The Data follows.PHP 5.1.6 (cli) (built: Jul 16 2008 19:52:52)Copyright (c) 1997-2006 The PHP GroupZend Engine v2.1.0, Copyright (c) 1998-2006 Zend TechnologiesPrint$i = 0;for($i;$i&lt;10000000;$i++){  print "Hello World.\n";}[blog@</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3089946508856387846/posts/default/6076892843039821075'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3089946508856387846/posts/default/6076892843039821075'/><link rel='alternate' type='text/html' href='http://www.scaletheblog.com/2009/01/php-print-vs-echo.html' title='PHP print vs echo'/><author><name>Mr. Scale</name><uri>http://www.blogger.com/profile/03528129516086494135</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-3089946508856387846.post-5649540644275852456</id><published>2009-01-09T10:30:00.000-05:00</published><updated>2009-01-09T10:30:00.655-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='PHP'/><category scheme='http://www.blogger.com/atom/ns#' term='XSL'/><category scheme='http://www.blogger.com/atom/ns#' term='XSLT'/><title type='text'>XSL Cache Anyone</title><summary type='text'>So here a project put out by the Old Media people for all of us New Media people.  If you are using the XSL functions in php you could see a 2.5x boost in performance.  I have yet to try this package but if you have any benchmarking results you would like to share email them to me and I'll include them into this post.XSL Cache</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3089946508856387846/posts/default/5649540644275852456'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3089946508856387846/posts/default/5649540644275852456'/><link rel='alternate' type='text/html' href='http://www.scaletheblog.com/2009/01/xsl-cache-anyone.html' title='XSL Cache Anyone'/><author><name>Mr. Scale</name><uri>http://www.blogger.com/profile/03528129516086494135</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-3089946508856387846.post-2495803630019138580</id><published>2009-01-08T02:30:00.002-05:00</published><updated>2009-01-08T02:30:00.919-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Topics'/><category scheme='http://www.blogger.com/atom/ns#' term='PHP'/><category scheme='http://www.blogger.com/atom/ns#' term='Power'/><title type='text'>Call For Topics</title><summary type='text'>So for the first post I would like to make a call for topics.  Why might you ask, well it will help me with getting this blog started.  There are many topics that can be covered everything from power usage to using echo vs. print statements in php.  I am planing to post twice a week if time allows.  Help me get this blog rolling.Email me at blog@scaletheblog.com</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3089946508856387846/posts/default/2495803630019138580'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3089946508856387846/posts/default/2495803630019138580'/><link rel='alternate' type='text/html' href='http://www.scaletheblog.com/2009/01/call-for-topics.html' title='Call For Topics'/><author><name>Mr. Scale</name><uri>http://www.blogger.com/profile/03528129516086494135</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry></feed>
