Amazon’s MySQL and more EC instances

One of the major offerings from Amazon Web Service (AWS) is Simple DB, similar to Google’s bigtable, which is not a relational database. Some people have managed to migrated their applications to SDB in order to move their application to the Amazon cloud. Many other people who could not/would not convert their relational DB back-end to SDB installed MySQL on the EC2 instances instead, then again, they started to worry about how to persist the data directory on Amazon EBS. It was some additional pain indeed.

Nice thing is that Amazon today announced Amazon Relational DB Service(rdf), based on MySQL. Now people do not have to google the “best practice” to persist on EBS without compromising performance. Hopefully this will drive more people to Amazon’s AWS.

Posted in Cloud Computing, Performance | Leave a comment

Chrome 4.0.222.5 for Mac released

If you are on the dev channel, your Chrome will be upgraded automatically.

There are some new features as well as some bugfixes. New features include enabling “Edit Search Engine” menu item,  and “default browser”.

Performance-wise, it seems this version has a smaller toll on the CPU compared to previous ones.

Posted in Browser, Open Source, Performance | Leave a comment

Chrome for Mac 4

I test drove the latest nightly build of Chrome/Chromium for Mac dev version. Interestingly, the version number is 4 now (4.0.202.0 to be exact).

Apparently there are improvements over the previous versions. Noticeably, Flash player is getting better – now I can see Flash animations on most sites. And the IME problem was fixed, too. I can input other languages in text box now!

Still, it is not quite there for production. For example, a process called “Chromium Helper” is using 99% of CPU when I was on gmail. After playing around it for a while, I decided to stick to Firefox and Safari.

That is exactly what Chrome team has been telling people. Let’s hope the next version will be better.

Posted in Uncategorized | Leave a comment

Windows 7 Visualization on Mac OS X

Apple Inc.
Image via Wikipedia

Since I got my first Macbook Pro one week ago, the overall experience has been pretty positive. One of most impressive feature I like is quick switch from/to sleep mode. In Windows (and Linux) it usually takes more than 10 seconds but it takes than 1 second on Mac OS. When I touch the touchpad, the computer wakes up from sleep and becomes up-and-running almost instantly.

Apple computers are great. But sometimes you just could not find your favorite app on a Mac, MS Visio being one of them. When you do not want to switch to a different machine, you have options – visualization. There are several different products on the market – VMWare Fusion 2 and VirtualBox 3 being the most popular.

Both of them have some nice feature sets. I like “Unity” mode in Fusion (the counterpart in VirtualBox is called “seamless mode”). VMWare has more interesting integrations, such as mirroring Mac home directory, iSight under Windows, to name a few. VirtualBox, on the other hand, is more configurable via the command line.

However, VMWare Fusion does not support Windows 7 yet, at least officially. The official Fusion blog suggested to use “Windows Server 2008″ as the profile when installing Windows 7 beta and RC. As a result, the above nice features are not available – home directory mirroring and iSight under Windows. In this case, Dropbox will be helpful if you want to share documents between these OSes.

Performance-wise, VirtualBox seems to be the winner. Windows applications in VirtualBox (MS Office 2007 and Visio) are more responsive and the host OS is not slowed down by any means. Windows apps in Fusion feel a little bit sluggish, given the same configuration (1G of physical mem). Please note, these are not really scientific performance analysis – they are totally my subjective feeling of “responsiveness”.

In summary, Fusion 2 and VirtualBox 3 are both great products. I am hoping when Windows 7 is officially released, VMWare Fusion will have more integration with it. Oh BTW, Fusion costs $70 and Virtualbox is free for personal use.

Posted in OS, Performance | Tagged , , | Leave a comment

Why get an Apple?

My first Apple, a Macbook Pro is on the way to be delivered tomorrow.

Here is a list of reasons why I need an Apple:

  • It is UNIX based OS (like Linux)
  • I want to work with iPhone SDK (only Mac OS X is supported)
  • I want to use Flex 3 Builder (only Mac OS X and Windows are supported)
  • Ruby on Rails support on Windows is lame
  • Microsoft Office is not officially supported in Linux (and you know why)

A mac, hopefully combines the advantages of both Linux (stable) and Windows (GUI and application base). Though I will still be running my Linux and Windows boxes side by side.

Posted in OS | Leave a comment

How Green Are Your Bytes?

I have been thinking about writing on this topic since early 2006 but did not get a chance. Recently I finally sat down and started thinking again.

“Green” has become a buzz word. Everyone is talking about how to reduce your “carbon footprint”. Hybrid cars are beating traditional gas engine cars in the market (be aware of the smug alert though). Big and small companies are showing off that they are “carbon neutral” by investing into alternative green energy. It is a fact that we (as human beings) are generating carbon dioxide every second, and the stuff to make our life better generates carbon, too – cars, heating and cooling. To make the whole earth planet sustainable, it makes sense to be conservative about our energy and carbon usage, and at the same time, think about creative ways to reverse the process.

There is an interesting story – recently Google was blamed for their excess usage of energy. Research from a Harvard physicist showed that a google search generates 7 grams of CO2, which is about half to boil a kettle of water. Google argued the number is actually much lower. No matter who is right, this is indeed a dilemma. On one hand, Google needs to rely on powerful computing infrastructure to provide satisfatory services. On the other hand, Google wants to be conservative about their energy consumption, which is directly correlated to the scale of computing infrastructure.

In the information technology world, people are referring to infrasturcture consolidation tools (vituralization and cloud vendors for example) as green because they could potentially save energy consumption and make servers more efficient. Many data centers have “gone green” because of its financial benefits.

But really, can we quantify how green our bytes are? Here is a totally simplified scenario.

Say, I have two computers, one laptop and one desktop. The laptop is 80W and the desktop is 250W. If I use each 12 hours per day (which I do), the direct energy used by the computers are (80+250)*12 = 3960 Wh = 3.96 KWh. Assuming I am using grid electricity, this is equavalent to 2.13 kg of CO2 emission. Kind of scary, huh?

On top of direct energy usage, let’s calculate energy on top of that. Assuming I use google 300 times during the day, energy comsumption from Google is about from 60 g to 2100 g, depending on whether Google’s claim is realistic. Since I also use other SaaS products and online applications – twitter, wordpress, gmail, google reader (other Google products), I would suggest they consume rougly the same amount of energy as Google search. So online application costs from 120 g to 4200 g CO2.

On top of that, I want to add the energy used by ISP to send/receive my bytes. Assuming that has the roughly the same weight as online applications. For convenience, I will use valie of half of the max online application energy usage, which is 2100 g CO2.

Our final number is in the range of 4.35 kg and 8.43 kg of CO2 emission for a typical computer user in the US.

In the end, this is the nature of life. We have to live it.

(Please note, the calculation used in this article is unscientific.)

Posted in Cloud Computing, Economy, Green Technology | Tagged , , , | 1 Comment

The biggest risk is not taking one

From AIG. Think about the bailout money.

Posted in Economy | Tagged , , | Leave a comment

419 in postal mail

Probably everyone knows what 419 scam is. Usually such an email is sent to your email address, claiming that you could a good percentage of an illegal transaction as long as you provide some advanced fee and bank account information.

Yesterday, I got a real postal letter from UK. Someone named “Charles Wilson” of “Capital Management and Investment Ltd, UK”, claimed that I could get a share of $15.5M if I help him transfer to money out of UK. Of course, I know he will be asking for my bank account information. Unlike scammer emails which do not cost anything, I see a real postal stamp of 69 pennies on the envelope.

Time is hard for 419 scammers. It needs some (small) upfront investment to be a good 419 scammer nowadays.

Posted in scam | Tagged | Leave a comment

SaaS Outage

Software-as-a-service (SaaS) has become a pretty standard model for application delivery in both business and consumer markets. While it is nice that you do not have to download and install software on your local machine, it is a PITA when it is not working. This morning I tried to file my tax return for 2008 on one of the most popular tax preparation website -TaxAct, I was told the service is “temporarily offline”. I understand it is getting closer to Apr 15th, and people are rushing to the tax preparation sites to file their tax. Still a bummer when you can do nothing other than waiting the service to be back, which is completely not under your control.

This reminds me of another story. A company provided SaaS solutions to business clients. It happened every Friday that production servers had some sort of outage because they could not handle the surging load. Needless to say, customers were pissed-off because they were paying big bucks for the qualify of service.

Posted in Software-as-a-service(SaaS) | Tagged , | Leave a comment

Google Voice is coming

After the annoucement by Google yesterday, Google Voice finally came to my Grand Central account. I saw a lot of improvements from the old Grand Central interface. Things I like:

  • UI improvements: things look like other Google products such as Gmail and Google Docs.
  • New features:
    • SMS: now your Google Voice number works like a mobile phone, which can send and receive SMSs.
    • Voicemail transcripts, especially when you do not have time to dial in and listen to your voice mail. It may not be that accurate though.
    • International calling.

Overall, I am impressed by this upgrade and I will continue to use my Grand Central Google Voice number.

Posted in Unified Communications | Tagged , | Leave a comment