At CodeConf, on 4/9/11, Dr. Nick gave an interesting session. I think this makes a ton of sense. All too often we will try to solve a problem here and now and gain that knowledge and move on to something else. The problem is this problem can arise again, and now it is someone different. In the data center/cloud world this makes a ton of sense.

He talked about the importance of building tools to help you solve the problems you face. He gave three steps for tool building:

1. Learn something
2. Encapsulate what you’ve learned in code
3. Repeat and go faster

Basically, any time he learns something new, he builds a tool with it, so he can forget what he’s learned. He gave an example of building a TextMate bundle with node.js as his first ever Node project.

 

Are long VM instance spin-up times in the cloud costing you money? That’s the question that immediately came to mind when James Urquhart, in an interview at the Stata Conference, made this thought provoking comment: the faster you can get the resources into the hands of the people who use them, the more money you save overall.

wpid-clicksor_datacenter-2011-04-2-08-51.jpg

One of the many super powers of the cloud is elasticity, the ability to dynamically acquire and release resources in response to demand. But like any good superhero, their strength must also form the basis of a not quite fatal flaw. Years and years of angsty episodes are usually required to explore this contradiction.

In the case of the cloud, the weakness reveals itself in slow VM spin-up times. Spinning up a VM in EC2 can take a little as 1-3 minutes, or can average 5-10 minutes, or it can take much longer if there’s heavy usage in your availability zone. EC2 is not alone. A common complaint about Google App Engine is the cold-start problem. When a request comes in, an application must be initialized to handle it, which takes time, which means the end-user experiences increased latency.

This means with VM oriented systems–be they IaaS or PaaS–your ability to deal with bursty traffic is much more limited in the cloud than you might have expected. You could of course reserve capacity, but that kind of defeats the point of elasticity, and really just moves the point where the problem occurs further down the curve. App Engine will have a feature to keep warm instances around, but you will pay for those too, which again defeats the point of on-demand pay for what you use elasticity.

All this might not matter, if it weren’t for the idea that those spin-up times could cost you. Joe Weinman has taken a more formal look at this problem in his paper Time is Money: The Value of “On-Demand,” and this is the paper James was referring to when he made his observation.

Joe Weinman, as the founder of Cloudonomics, a rigorous analytical approach leveraging mathematics and Monte Carlo simulation to characterize the sometimes counterintuitive multi-dimensional business of cloud computing and pay-per-use business models, has written a string of interesting papers on his website. Some of the titles include: Smooth Operator: The Value of Demand Aggregation (PDF); Cloud Computing is NP-Complete (PDF); Mathematical Proof of the Inevitability of Cloud Computing(PDF). At the core of these papers are many many pages of rigorous mathematical analysis, but fortunately this creamy goodness is bookended with chocolatey cookies explaining what it all means.

From the abstract of Time is Money: The Value of “On-Demand” :

Cloud computing and related services offer resources and services “on demand.” Examples include access to “video on demand” via IPTV or over-the-top streaming; servers and storage allocated on demand in “infrastructure as a service;” or “software as a service” such as customer relationship management or sales force automation. Services delivered “on demand” certainly sound better than ones provided “after an interminable wait,” but how can we quantify the value of on-demand, and the scenarios in which it creates compelling value?

We show that the benefits of on-demand provisioning depend on the interplay of demand with forecasting, monitoring, and resource provisioning and de-provisioning processes and intervals, as well as likely asymmetries between excess capacity and unserved demand.

In any environment with constant demand or demand which may be accurately forecasted to an interval greater than the provisioning interval, on-demand provisioning has no value. However, in most cases, time is money. For linear demand, loss is proportional to demand monitoring and resource provisioning intervals. However, linear demand functions are easy to forecast, so this benefit may not arise empirically.

For exponential growth, such as found in social networks and games, any non-zero provisioning interval leads to an exponentially growing loss, underscoring the critical importance of on-demand in such environments.

For environments with randomly varying demand where the value at a given time is independent of the prior interval—similar to repeated rolls of a die—on-demand is essential, and generates clear value relative to a strategy of fixed resources, which in turn are best over provisioned.

For demand where the value is a random delta from the prior interval—similar to a Random Walk—there is a moderate benefit from time compression. Specifically, reducing process intervals by a factor of n results in loss being reduced to a level of 1/square root of n of its prior value. Thus, a two-fold reduction in cost requires a four-fold reduction in time.

Finally, behavioral economic factors and cognitive biases such as hyperbolic discounting, perception of wait times, neglect of probability, and normalcy and other biases modulate the hard dollar costs addressed here.

The degree of effect is related to traffic patterns:

We have seen that not only is there a time value of money, there is a money value of time, specifically, increased agility and responsiveness lead to reduced loss, including a reduction in missed opportunities. Time is money.

From a business perspective, one has to ask whether the reduction in monitoring or provisioning time that potentially results in reduced loss due to unserved demand or unused resources is worth it. I believe in most cases the answer is yes. The reason is that the costs of implementing such on-demand strategies are largely fixed, are a relatively minor portion of the total cost, or are already incorporated, say, into a cloud provider’s offerings. For example, the cost for an enterprise or cloud provider to acquire and deploy dynamic provisioning software compared to the losses associated with unserved demand or un-utilized capacity make it an attractive proposition.

For linearly growing or declining demand, a reduction in time (monitoring cycle or resource provisioning) offers a proportional reduction in cost.

For exponential demand, the loss associated with even fixed interval provisioning grows exponentially, so on-demand provisioning is essential.

The VM spin-up interval is your period of lost opportunity. If your traffic is bursty and/or growing exponentially, then you may be losing out on more profitable opportunities than you thought, because cloud elasticity doesn’t match demand elasticity. While not quite the cloud’s kryptonite, it is a flaw worth considering in your architecture.

CIAO!

 

So apparently, a chinese web site has released some details on the new chipset that Intel is set to launch, the X79 express.
It is suppose to work with Intel’s ‘E’ enthusiasts series processors.

wpid-intel-x79-express-chipset-2011-04-2-08-43.jpg

The X79 Express will replace the X58 as the top desktop chipset when the new high-performance CPUs are launched in the fourth quarter of this year.

Along with the new processors and chipsets, Intel will roll out a new socket, the LGA2011. The X79 fully supports two PCIe x16 lanes, has 14 SATA ports — including 10 of the 6Gbps flavor — and possesses 8 ports that support SAS. There are 14 USB 2.0 ports, but no mention of USB 3.0 connections — or Thunderbolt ports, for that matter. PCI x1 support is eliminated.

Sandy Bridge E processors will replace the Gulftown-based Extreme six-core CPUs as the top performers in Intel’s desktop lineup.

Needless to say, like all bleeding edge technology this will be expensive no doubt.

 

Today, I decided to upgrade my git version on my dreamhost server.

Make sure you replace < > with your dreamhost user name.

$mkdir ~/src
$ cd ~/src
$ wget http://www.kernel.org/pub/software/scm/git/git-1.7.4.1.tar.gz
$ tar xzf git-1.7.4.1.tar.gz
$ cd git-1.7.4.1.tar.gz
$ ./configure –prefix=/home/< >/packages NO_CURL=1 NO_MMAP=1
$ make
$ make install
$ git –version

That should return:
git version 1.7.4.1

And then you have git on that machine.

 

I thought this was an interesting read and sometimes we need to play at what we consider work and the work will be like play. Case in point in the article below:

From “Surely you’re joking, Mr. Feynman”, by Richard Feynman, Copyright 1985, pg. 157-158. Dr. Feynman was a Nobel Prize-winning physicist who, among other things, worked on the first atomic bomb at Los Alamos, NM. He died in 1988.

Then I had another thought: Physics disgusts me a little bit now, but I used to enjoy doing physics. Why did I enjoy it? I used to play with it. I used to do whatever I felt like doing – it didn’t have to do with whether it was important for the development of nuclear physics, but whether it was interesting and amusing for me to play with. When I was in high school, I’d see water running out of a faucet growing narrower, and wonder if I could figure out what determines that curve. I found it was rather easy to do. I didn’t have to do it; it wasn’t important for the future of science; somebody else had already done it. That didn’t make any difference. I’d invent things and play with things for my own entertainment.
So I got this new attitude. Now that I am burned out and I’ll never accomplish anything, I’ve got this nice position at the university teaching classes which I rather enjoy, and just like I read the Arabian Nights for pleasure, I’m going to play with physics, whenever I want to, without worrying about any importance whatsoever.

Within a week I was in the cafeteria and some guy, fooling around, throws a plate in the air. As the plate went up in the air I saw it wobble, and I noticed the red medallion of Cornell on the plate going around. It was pretty obvious to me that the medallion went around faster than the wobbling.

I had nothing to do, so I start to figure out the motion of the rotating plate. I discover that when the angle is very slight, the medallion rotates twice as fast as the wobble rate – two to one [Note: Feynman mis-remembers here---the factor of 2 is the other way]. It came out of a complicated equation! Then I thought, “Is there some way I can see in a more fundamental way, by looking at the forces or the dynamics, why it’s two to one?”

I don’t remember how I did it, but I ultimately worked out what the motion of the mass particles is, and how all the accelerations balance to make it come out two to one.

I still remember going to Hans Bethe and saying, “Hey, Hans! I noticed something interesting. Here the plate goes around so, and the reason it’s two to one is …” and I showed him the accelerations.

He says, “Feynman, that’s pretty interesting, but what’s the importance of it? Why are you doing it?”

“Hah!” I say. “There’s no importance whatsoever. I’m just doing it for the fun of it.” His reaction didn’t discourage me; I had made up my mind I was going to enjoy physics and do whatever I liked.

I went on to work out equations of wobbles. Then I thought about how electron orbits start to move in relativity. Then there’s the Dirac Equation in electrodynamics. And then quantum electrodynamics. And before I knew it (it was a very short time) I was “playing” – working, really – with the same old problem that I loved so much, that I had stopped working on when I went to Los Alamos: my thesis-type problems; all those old-fashioned, wonderful things.

It was effortless. It was easy to play with these things. It was like uncorking a bottle: Everything flowed out effortlessly. I almost tried to resist it! There was no importance to what I was doing, but ultimately there was. The diagrams and the whole business that I got the Nobel Prize for came from that piddling around with the wobbling plate.

 

Techlife Weekend Warrior Duffel Bag with 17 inch Laptop Sleeve.

 

The following is an interesting article about having more friends equals to more stress on Facebook.

http://www.zdnet.com/blog/facebook/more-friends-equals-more-stress-on-facebook/193

The following research was conducted by Edinburgh Napier University:

And here is a high level viewpoint of the result from the research.

There was also an online survey component that attracted 175 participants (127 female and 48 male, with a mean age of 30.4 years), which found that:

  • 12 percent of respondents said that Facebook made them feel anxious. Of these, respondents had an average of 117 friends each. The remaining 88 percent of respondents, who said that Facebook did not make them feel anxious, had an average of 75 friends each.
  • 63 percent delayed replying to friend requests.
  • 32 percent said rejecting friend requests led to feelings of guilt and discomfort.
  • 10 percent admitted disliking receiving friend requests.

What is interesting about this study, is yet again it is about students. I would like just once to see more research done about Facebook where the participants are not students, geez, there is about 500 Million  Facebook users worldwide, why not tap into a more broader spectrum of users.

Ciao!

 

This is cool information about how startups should think about their biz.

http://www.readwriteweb.com/start/2011/01/5-lessons-from-the-garage48-helsinki-hackathon.php

I think it is a good example of how a startup team should come together and what to watch for even though it is only over 48 hours.

Cheers,

-cg

 

Well, what you may not know is that I like running small form factor computers as desktop machines. I leave the tower size case as servers.

At the moment most of my desktop machines are Apevia Q-pack micro atx cases, which have served me well, except now that micro-atx motherboards are getting more powerful and can take bigger and more powerful graphics cards, etc, I am now running out of space inside the case.

Why am I rambling on here, well all this powerful hardware put higher demands on the PSU. So I looked at purchasing a high quality PSU, such as a silver certified Corsair brand.

Got the new PSU, went to replace it in the Apevia case and guess what? It would not fit the case, argh. My next step was to do some research, the options were:

1. Get a new micro-atx case,
2. Return the PSU,
3. Get a small DVD burner drive (smaller in length by an inch).

Well, my approach ended up being keep the power supply and swap it out with another one I had. It worked, but I felt that I did sacrifice on watts, it was a smaller one.

After, at least 12 months, I am wanting to upgrade the case. In fact that will be the only piece of hardware that isn’t the latest.

I wanted to stay with the micro-atx form factor, so I started to look around and I think I have found the case. Here is the link: http://hivelogix.com/cases/case-qmicra



Above is a picture of the case. Reading the reviews they are all very positive. What the reviewers all say is that you can’t really see in the photo, is the quality. Also, this is a case they only manufacture in limited quantities. At the moment the next batch orders won’t happen until January 2011. I want to stress, this case is not for the novice as the price tag is a pretty penny too, starting at: $239.95.

Well, now the wait is on. After I get the case, I will do a more detailed review.

Cheers!

 

I think I found my next backpack. This seems like a very interesting approach to keeping your gadgets charged and ready for use.

quirky – Trek Support Electric Backpack.

-Gunner

© 2011 Campbell Gunn Suffusion theme by Sayontan Sinha