Got my copy

Look what I got in my mail today :-) . Bought it second hand at amazon. I am so pleased to see this is a hardcover edition. 6 bucks really well spent.


Charlie Sheen

Charlie Sheen is in the limelight now, and even Scott Adams has weighed in his opinions. On my part, I would like to see a "Charlie Sheen" magazine. This mag would have sections completely opposite to the "Oprah" magazine. For example, instead of the "Book club", we will have "Good Porn" section. Instead of a "Health" section, we will have a "Drugs" section.


Caching is not a silver bullet

Let us take a this hypothetical situation. You have to serve a web page. You want the whole page to be sent back in 500 ms (milliseconds). If your user has a good network and he is not too far from your webserver, you can further assume that around 50 ms will be spent on the network. This means that you have 450 ms to collect all the data about this web request, do the fancy manipulations (sorting/filtering/updating files etc.) and serve it to the user. You need to make four external calls to get this data - 2 of them to an external web service and 2 of them to your own database.

Now assume that one of your external webservice calls take one second to send back the result 50% of the time and one of your database queries can take upto a second to give back the result 25% of the time. What will you do to make sure none of your users ever have to wait for more than 500 ms to get back the page? (500 ms excludes the time taken to download the images/css/do fancy javascript magic).

Read more on my website


Guns and Roses

Today is my Significant Other's birthday. Some measure of romance was added by these flowers that I put on the bedside for her in the morning

I treated her to a full day of fun.

First, I took her shopping to a few of her favorite stores and gracefully took the burnt :-) .

Next stop was at the shooting range, where we fired some rounds.

Today also happened to be the Halloween. We dressed up for the night and had dinner at a nice San Francisco restaurant on Valencia street. In case you are wondring, I dressed up as a well groomed man-witch. Throughout the dinner we were entertained by the Halloween party goers in their well done costumes.

Defined tags for this entry: ,

Page 9 of 50, totaling 347 entries