Archive

Archive for March 7th, 2010

Lightweight Caching Framework in vSphere Java API 2.0

March 7th, 2010 2 comments

In vSphere Java API 2.0, I wrote a lightweight caching framework. It’s still experimental but has a great potential to greatly simplify your development work. Commercial companies already use it in their products.

The motivation behind this framework is simple – instead of keep polling the changes from the server side, you keep a local cache that is made as fresh as possible. The View in the vSphere Perl toolkit is one way to do. It caches all properties of a managed object despite the fact that you don’t need that many at all.

The caching framework in vSphere Java API takes another approach. You tells it what managed objects and what properties you want to be cached. After that, the caching framework does its best to read the properties and keep them as fresh as possible.

Architecturally the caching framework is totally separated from the core of the API. You can take it away without any impact on the rest of the API. This is quite different from other toolkit.

Have enough introduction? Let’s take a look at sample code:

Categories: vSphere API Tags: ,

Who is Hyping Cloud Computing? You Will be Surprised!

March 7th, 2010 2 comments

I came across a blog “5 things VMware must do to fend off Microsoft.” The author Jon Brodkin listed the following musts: cut prices, improve Security, win the desktop war, simplify management, don’t overhype the cloud. Here is a response to the article by Steve Kaplan.

Because I am working on cloud related projects, especially I am the creator of the vSphere Java API that manages the “cloud operating system,” I am curious to know whether VMware is overhyping the cloud computing.

Instead of expressing my opinions, I decided to do a simple research using Google and Wikipedia. To my surprise, the “cloud computing” page does not include VMware in “Cloud computing logical diagram.” The companies listed are Microsoft, Google, Saleforce, Amazon, Yahoo, Rackspace, Zoho. Well, that is good for me to do the next step.

Then, I used Google to search each company’s name and “cloud computing.” I wasn’t testing the performance, but to see how many web pages are there including these keywords. Strictly speaking, the number of hits is not an index of hyping cloud computing, but you can get a good sense on how much marketing effort each company invest into “cloud computing.”

To save you time, I captured the screenshots of each search, and list the most important parts we are interested as follows.

Categories: Cloud Computing Tags: