I reviewed this paper as part of my Computer Communications course at USC. Introduction YouTube traffic is bursty. These bursts trigger packet losses and stress router queues, causing TCP congestion-control algorithm to kick in. The paper provides an implementation called Trickle, a server side mechanism which uses TCP to rate limit YouTube video streaming. Trickle paces the video stream by placing an upper bound on TCP’s congestion window. YouTube follows the concept of just-in-time delivery i.

Continue reading

I use foursquare a lot, I mean a lot! So, a few months back I decided to write a foursquare application which would make sense of my foursquare check-in’s. My main goal was to track number of visits to different kinds of places. That’s when I decided to build HowMany, an app which summarizes your foursquare check-in’s for you. Currently HowMany summarizes: How many Starbucks Coffee shops you have been to How many Restuarants you have been to How many Airports you have been to How many Muliplexes/Movie theatre’s you have been to How many Shopping Mall’s you have been to How many Resedential Buildings you have been to This app makes use of the foursquare venue history API to get the information about your past check-in’s.

Continue reading

Most of the modern web applications these days which have a more dominant read workload, experience significant infrastructure challenges. One of the primary challenges is to improve the user response time. This in turn leads to more user engament, and more revenue via Advertisements. Facebook currently solves this problem using memcached as a building block to build memcache, and scale it to support one of the largest social networking sites in the world.

Continue reading

If you read one of my old posts, I showed you how to thank your friends when they wished you on your birthday on your facebook wall. Now I will show you how to wish your facebook friends on their birthdays programatically. Before you get started, you need the following setup on your machine: Get the Facebook access token: Head to this link and get the api token. Select publish_actions , publish_stream , read_stream , status_update , friends_birthdays' anduser_about_me` options when obtaining the API token.

Continue reading

One of the top advantages of Facebook is to wish your friends on their birthday. There were days where your friends used to call you at 12 in the night to just wish on your birthday just by their memory. Gone are those days and you hardly see any such calls these days. Even if you receive it’s after your friend has seen your facebook profile just to realise that its your birthday.

Continue reading

There are times you would want to prevent your mac from sleeping after it’s idle for a long time. OS X provides a inbuilt utility called Caffeinate which helps you achieve this. Caffeinate creates assertions to alter system sleep behavior. If no assertion flags are specified, caffeinate creates an assertion to prevent idle sleep. If a utility is specified, caffeinate creates the assertions on the utility’s behalf, and those assertions will persist for the duration of the utility’s execution.

Continue reading

I just upgraded my Mac from Lion to Mountain Lion this morning. I must say the Mac OS just keeps getting better :). After the upgrade I just noticed that git was broken and I was getting the Command not found error. To fix this : * Download the latest git package from here. * If you try and install the package directly, it will fail to install and would complain saying Unidentified source.

Continue reading

Author's picture

Pradeep Nayak

World Citizen, Dreamer, Photographer

Production Engineer

San Jose