Monday, August 2, 2010

Push Email

One of my colleagues requested me to explain push email. I wrote up a brief description and was rather pleased with it (I guess my expectations/standards aren't that high these days..) so thought I'd post it on my blog. So here it is..

1. There are two options with respect to informing the handset about the presence of new messages at the server:
- Using IP
- Using SMS

2. If the SMS method is used all the issues of keeping the IP connection up and knowing the IP address go away. WAP Push can be used in conjunction with SMS. There is also an OMA standard on the format to be used when sending email notifications over WAP Push. Microsoft used to use SMS in one of their earlier solutions. However SMS involves additional cost/integration so is not preferred. 

3. If the new message notification has to be sent using IP:
- the phone needs to maintain IP connectivity.
- the server needs a protocol to send the information to the handset.
- the server also needs to know the IP address of the phone if it is initiating the data   transfer (as opposed to responding to a request from  the handset).

4. In GPRS (and I think 3G) networks, the IP address is assigned by the GGSN. The phone will have the same IP address as long as the same PDP context is retained. In other words, even if it moves to a different area (under a different SGSN), it will have the same IP address.

5. The client and server will exchange some kind of keep-alive messages in order to prevent timeouts that will close the connection. The timeouts could happen on the server (TCP connection timeout or application protocol timeout) or in the NAT gateway. The keep-alive interval needs to be configured appropriately based on the network.

6. The notification of new messages can be sent to the handset in response to a request from the handset. For e.g. Microsoft Exchange informs the handset of new messages as a response to a long lived HTTPS request. I guess some other solutions may be sending this information in response to an IMAP IDLE command. As the information is being sent in response to a client request, the server knows the IP address associated with the client

7. It is possible that some solutions allow the server to inform the client of new messages without a request from the client. For e.g. a number of Push email solutions involve a NOC (Network Operations Center) which may have some sort of integration with the operator network. Such an NOC will be able to know the device IP address even if the client has not initiated a request to it; for e.g. it may be able to do a phone number to IP address lookup with some box in the operator network. Such solutions may also involve some non-standard protocols for informing the client about new messages; for e.g. it could send a message using a proprietary format to a designated UDP port on the handset.


References:
The following websites contain additional information:
- GPRS Core Network (including IP address mgmt): http://en.wikipedia.org/wiki/GPRS_Core_Network. 
- Using NOCs for Wireless Email: http://www.blackberry.com/select/get_the_facts/pdfs/infrastructure/gartner_pros_and_cons_of_using_NOCs_for_wireless_email.pdf
- Difference between Windows Mobile and Blackberry Email: http://www.techatplay.com/?p=482
- Understanding Microsoft Direct Push: http://technet.microsoft.com/en-us/library/aa997252(EXCHG.80).aspx
- LEMONADE for Mobiles: http://www.lemonadeformobiles.com/quick.html
- IMAP IDLE: http://www.isode.com/whitepapers/imap-idle.html


Sunday, August 1, 2010

Mani Shankar Aiyar vs. Suresh Kalmadi

Mani Shankar Aiyar (MSA) was in the news last week on account of his comments on the Commonwealth Games - that he would be happy of the Delhi edition was a flop as it would discourage us from hosting more games and we would instead spend the money more usefully (on sports facilities in villages etc). This led to Suresh Kalmadi, the president of the Indian Olympic Association and one of the main organizers, labeling him as anti-national.

NDTV interviewed MSA as part of their evening news program. He said that he had been against the idea of hosting the games even when he was sports minister in the last government and quoted a line from T.S. Eliot's "The Wasteland":

"I Tiresias, old man with wrinkled dugs, Perceived the scene and foretold the rest"

He prefixed his quote with a statement that Prannoy Roy (the interviewer) would need to explain this to Kalmadi since he probably would not understand the meaning :-)

I wonder how many of the current generation of politicians (Rahul Gandhi, Joytiraditya Scindia, Sachin Pilot, Akhilesh Yadav..) are interested in (or capable of?) quoting poetry. The only person who comes to mind is Sashi Tharoor. (I confess that my statements are based on the little I have seen of them in a few TV interviews so I may have misjudged their interest/abilities). Maybe this a skill that is no longer valued and holds no attraction for the "younger" lot. Does the inability or lack of interest in such areas reflect the fact that a well-rounded education (where people read for the love of reading) is not as common as it used to be?

I guess being impressed by such skills can be viewed as being a bit of a snob, but I am willing to plead guilty on that count. And MAS may score debating points but I suspect Kalmadi will still be there, holding onto his posts, long after MAS is gone.

Coming back to MAS - I narrated this interview story to a friend of mine and he told me another incident involving MAS and Natwar Singh, both alumni of St. Stephen's College, Delhi. Natwar Singh once remarked that "everything he was, was because of the college" to which MAS retorted "why blame the college?"

Kalmadi was part of Sharad Pawar's NCP for some time before returning to the Congress party. One story I have heard is that when asked whether Kalmadi's exit was a loss, Sharad Pawar replied to the effect that "Yes... even when you throw out cow dung from your courtyard, you also end up throwing out some mud.. and Kalmadi is more than cow dung".

So acerbic wit is not the sole preserve of the Doon / Stephen's / Oxford brigade..


Monday, July 26, 2010

Clayton Christensen on measuring your life

A friend of mine pointed me to an article by Clayton Christensen this morning. Christensen is best known for his work on innovation (his book "The Innovator's Dilemma" is a classic) so I was intrigued to see him writing about a "soft" topic such as guidelines for finding meaning in life. The article is available at http://hbr.org/2010/07/how-will-you-measure-your-life/ar/1.

Christensen cites Frederick Herzberg's insight that the most powerful motivator in our lives is not money; instead it is the need to learn, contribute and to be recognized. He then shows how management principles can be applied to our personal lives: individuals need to find their purpose in life (just as companies need to find their mission and strategy), and  allocate resources (time, energy, talent, money) in line with their stated purpose. 

Christensen also talks about the importance of creating the right culture within the family (similar to creating a culture within a company). If we have a 2x2 matrix where the two dimensions depict the extent of agreement on goals and the extent of agreement on the steps towards attaining the goals, organizations/families need to use "power tools" (force, threats) when in the bottom left whereas having the right culture would enable them to operate in the top right quadrant.

When reading this article it struck me that I could not articulate a purpose statement for my life. I was reminded of the fact that I have been drifting along for quite some time now. Although I had made some half-baked plans some time ago I had not acted on any of it. 

I ended up spending quite a bit of time in office doing some web searches and reading some of the material I found; one website that was quite useful was  http://www.theonequestion.com. I have also been toying with the idea of working with a personal/life coach and found a few of them in Bangalore. I plan to follow up with them in the second week of August.













Sunday, July 18, 2010

Describing strategies in 2x2 matrices


The McKinsey Quarterly mail showcased an interesting article titled "Capturing the World's Emerging Middle Class" earlier this month. One of the key takeaways is a 2x2 matrix splitting the possible strategies based on the consumer's ability to buy (high vs. low) and the nature of the consumer need (global vs. local). The full article is available at  https://www.mckinseyquarterly.com/Retail_Consumer_Goods/Strategy_Analysis/Capturing_the_worlds_emerging_middle_class_2639 (free registration required).

I suppose 2x2 matrices are an unavoidable part of any strategy discussion :-) I remember seeing lots of them during the Corporate Strategy course at IIMB.  While they do look obvious once we see them, coming up with our own matrices to summarize a discussion is not very easy. 







Philip Thekkekara

Philip Thekkekara (known as Thomachen) - my mother's second cousin passed away on Friday afternoon. He was around sixty years old. I went to attend his funeral this morning. 

I cannot claim to be close to Thomachen uncle - he used to come home once in a while when I was staying with my parents in Bangalore. After they moved to Kerala, I used to meet him rarely: at a lunch or dinner at someone's home or after the evening mass at the Holy Ghost Church on some Sundays. He was always warm, fun to talk to and a great raconteur. He would narrate stories from his days in college and his twenties. I still remember him talking about the a lady who he knew when in college and was the Managing Director's secretary at Motorola (where I worked). "She was a hot number", Thomachen uncle would say, with a twinkle in his eye.  Another story was about his going to US to study - he ran into kids from homes where he used to deliver milk  and became the center of attention in the college when they told their classmates that their "milkman had come to the US to study". In the eulogy, his sister said, "it was easy to have a coversation with Thomachen because he would talk more than enough for both sides". He would indeed talk non-stop but you enjoyed listening to him. She also quoted the verse from 2 Timothy 4:7 "I have fought the good fight. I have finished the race. I have kept the faith". 

In some ways Thomachen uncle was a link into old Bangalore and into a time when things were simpler, less hectic and most likely more fun. He seemed keen to preserve his style and way of life - a difficult task in the face of all the changes taking part in the city.

This is the second funeral I am attending this year; the earlier one was in January for my mother's sister. I guess that as you grow older, deaths have a deeper impact on you. When you are young most of the deaths in the family are of people from your grandparents generation; I guess we grow up considering them as "old" so it doesn't strike us as much as it does now when you find the hand of death reaching out for people who are closer to you - elder relatives who belong to your parents' generation.


Thursday, July 8, 2010

Andy Grove on offshore development

There is an interesting opinion piece by Andy Grove on the negative impact of offshore development at http://www.bloomberg.com/news/2010-07-01/how-to-make-an-american-job-before-it-s-too-late-andy-grove.html  

The article caught my attention since I have always found books and articles written by Grove to be very informative and it is therefore impossible to dismiss this piece as yet another Lou Dobbs kind of tirade against offshoring . Also since I have mostly heard business leaders in the US making the case in favour of offshoring, I was intrigued to find Grove positioning himself on the other side of the fence.

In brief Grove's argument is that startups these days tend to scale up operations in countries like China and India instead of expanding operations in the USA on account of cost. This leads to a number of problems such as high levels of unemployment (as the high-value work which remains in the US does not need too many people) and a loss of ability to innovate (since the complete ecosystem no longer resides in the US; also people lose out on experiencing all stages of development which hinders their ability to innovate in the next cycle). 

Grove suggests that the government should provide incentives to encourage companies to scale up in the US (for e.g. by taxing products of offshored labour), thereby creating jobs in the US and also protecting the ability to innovate in the future.

While I understand the arguments made by Grove, I am not convinced that the solution is that easy. For e.g. 

- Companies mostly offshore work on account of costs and availability of talent. These two factors can be addressed to some extent by having a liberal immigration system (e.g. lots of H1-B visas) thereby ensuring that all the requisite talent can be found in the US. The ready availability of talent would also reduce salaries, thereby reducing costs. However the reduced salaries may make careers in the technology industry (in the US) unattractive, thereby pushing people (American residents and new immigrants) away. Also given that the cost of living in the US will always be higher, people in industries such as the technology industry which are more integrated and prone to offshoring will be at a disadvantage when compared to their neighbours in other industries (where salaries do not face the downward pressure to the same extent). And then there are the social issues that would arise from having a sudden increase in the number of temporary workers and immigrants. 

- Addressing costs (other than manpower) is a harder problem; while the costs of doing business in the US are likely to be higher than in many other parts of the world (for e.g. higher rents), these are offset at this time as it is easier to do business in the US as compared to other countries (i.e. easier to set up a business, get VC funding, file for patents etc). But what happens when other countries catch up with or outscore the US on these parameters - will the offshoring tax be increased to compensate? 

- While other countries can come close to providing a similar environment as in the US, the costs of doing business in these countries will also go up over time; salaries will increase, costs of accommodation and office space (especially in some pockets such as Bangalore and Shanghai) will also rise. A colleague in the US once told me that he keeps wishing that my salary and those of my colleagues in India increase rapidly so that the temptation for his bosses to reduce costs by offshoring comes down :-)

- I guess this boils down to the classical question on the competitive advantages that the US (or any other country) can sustain. Should the US focus on those areas, instead of attempting to compete with China on electronics assembly or with India on low value services?

- What if each country wants to create jobs, expand the ecosystem and have the ability to innovate? For e.g. would it be fair and efficient if India or China were to insist on local development for all equipment they buy from Cisco or Nokia? Should such countries be pressurizing companies to move the high value roles within the country so that they too can aim to build the complete eco-system? Governments do try to influence companies even today to invest more in a country if they want to do business there. A senior manager visiting from the US once told us that in meetings with government officials in India and China the former would push the company to set up manufacturing plants whereas the latter would ask for software development centres. 

- Senior personnel in multinational technology firms in India often complain that the high-value work is not coming to India as fast as they would like - hope to write more on this in a later post.

- How obliged should a multi-national company be towards creating jobs in each country that it operates in? I was thinking that one way to measure fair distribution would be that over time, their expenses on employees in each country (i.e. whatever they spend on salaries and other benefits in each country, adjusted for cost of living) should be in proportion to their revenues (or profits?) in each country. In other words, if a  company makes USD 1 billion in China and USD 3 billion in Germany, their expenditure on employees in the two countries should be in the 1:3 ratio. Or more generally, should what a company spends in each country (on employees, in sourcing input materials etc) be proportionate to its revenues from the country? Would this be a fair measure? If yes, how do the big multi-national firms perform on this metric?



Saturday, May 29, 2010

FIFA World Cup 2010

Mint had a list of the greatest World Cup goals in their "Business of Life" section. This list is available at http://www.livemint.com/2010/05/26195435/The-cup-of-joy.html.

My personal favourites are the Carlos Alberto and Maradona goals.

I think the 1986 World Cup (which Maradona's goal was a part of) is the one I watched with the most interest. The quarter final between Brazil and France was one of the best matches I have ever seen. My other memories of that World Cup were of the Belgium - Soviet Union match (which I thought Soviet Union should have won) and the finals (where Argentina managed to hold on despite a late rally from Germany).

I didn't really keep track of the 1982 world cup (we didn't have a TV at home and anyway it was all black & white Doordarshan everywhere in India at that time). I later watched the movie on the 1982 world cup (Goal!) and really liked it - especially the part about how Brazil couldn't play defence even though all they needed was a draw against Italy.

What I remember most of the 1990 world cup was the heroics of Argentina's substitute goalkeeper Goycochea (their first choice got injured in one of the initial matches) and how he got them through a number of penalty shoot-outs. It was almost as if Argentina was playing for a draw and hoping that they would win via the shoot-out.

I don't remember much about the 1994 world cup, except that the finals were very boring. The 1998 world cup was better - the finals between Brazil and France was a good game. I was in US at that time and didn't get to watch most of the games as they were held during US office hours; also all the matches weren't telecast on the TV channels available at the service apartment I was in.

My most vivid memories of the 2002 world cup were of Ronaldinho, especially his goal against England; the finals between Germany and Brazil did not live up to expectations. I was supporting Portugal at the 2006 games but wanted France to win once they got to the finals against Italy; it was sad to see Zidane's career ending the way it did - sent off with a red card.


Google TV

One of the more interesting events last week (at least it was "last week" when I first started writing this post..) was the Google I/O conference and the announcement of Google TV. While there have been some efforts towards integrating the Internet into the TV viewing experience (for e.g. Apple TV, integration of the Yahoo widget engine into TVs), Google's initiative seems to have the potential to have a far more significant impact on the TV market. There is a good post on Google TV at http://blog.louisgray.com/2010/05/while-apple-slept-on-their-hobby-google.html

I wonder how long it would be before this integrated experience will be available in India. In the mobile industry, I do not think that consumers in India are at a big disadvantage compared to their counterparts in the US. Operators in India may not have rolled out advanced services comparable to operators elsewhere (for e.g. the mobile TV / video solutions pushed by various operators in the US); however users possessing the latest handsets can enjoy the device-only features (e.g. a cool new user interface) and the features created by integrating with services on the Internet (e.g. integration with Facebook, a Twitter app etc). Also given the absence of operator-subsidized devices, users do not need to overcome the temptation of getting a operator recommended device available at a lower price (with a contract).

The situation in the television industry is different as set-top boxes are given by the service provider (cable or DTH). Therefore I cannot purchase Google TV enabled box and start using this service until it is offered to me by my service provider. I could probably create a setup that allowed me access to Google TV (e.g. have two set-top boxes , one of which would have Google TV) but this would be a poor imitation of the real thing.

Another question to consider is whether DTH operators (such as Tata Sky, Airtel or Reliance Big TV) or cable operators (like Hathaway) are more likely to offer Google TV enabled boxes? While the DTH camp seems more technically capable and organized, they also seem to have more to lose than the cable operators. This is because video content on the internet may reduce subscriptions to premium channels: while this is a big thing for DTH providers, cable TV (at least in Bangalore) is available at a fixed price that includes all channels (however this may change once Conditional Access System (CAS) is implemented).