Monday, July 16, 2012

A few moments with Kanwal Rekhi

A week ago we got a call from Inventus telling us that Kanwal Rekhi would be coming to our office in Pune. He would be spending a few hours in our office and would like to talk to us all. The agenda was that Kanwal would first talk about his journey as an entrepreneur and would open it up for questions. At first it was excitement which slowly turned into a worry. What if we end up not asking any questions at all? Well as the day progressed it didn't take long to realize the fears were unnecessary. I will re-cap the rest of the day in the order of the questions asked and Kanwal's answers. I have paraphrased almost all of the responses. My intent here is to convey the message and not to quote.

Should the strategy of an entrepreneur be eyeing an exit? 
An effective entrepreneur eyes at building a company that is enviable. Exit is one of a lot of outcomes. It could be an acquisition or an IPO or a literal buy-out. So don't worry about structuring your company for an exit. But rather build a product/company that creates a dent. 


What do you feel about opening geographically distributed offices? Building a sales office local to the market makes sense but what about engineering. What are the challenges of managing engineering through remote offices?
The reasons mostly to open distributed engineering offices is to tap into local talent. Bangalore currently seems too crowded. While it has a lot of talent it also has attrition. Pune seems to be a good place to gather talent, albeit harder than Bangalore. As a certain baseball player said "Coney Island is so crowded that no one ever goes". But if you have to then you must preserve your culture. I would take a couple of my best engineers who have been with the company for sometime and start the new offices. They will set forth the required necessary infrastructure and preserve culture.

It was now time to go to the auditorium where the rest of the team had assembled. We had recently moved into the new building and the elevator wasn't fully functional yet. To prevent Kanwal from climbing 5 floors we had provisioned for a semi-functional elevator whose floor readings weren't fully calibrated. The elevator had to be stopped manually. Seeing this Kanwal instantly chose to climb the stairs instead. He seemed fit as a fiddle! While climbing the stairs he mentioned that he works out 45 minutes everyday!! And we youngsters were panting while Kanwal was reciting stories on his way!

Kanwal's journey as an entrepreneur.
It was 1967 and the times when Kanwal graduated from IIT Bombay were not very fruitful to competent engineers in India. There were mostly govt jobs which didn't seem so exciting to him. He finished his Bachelors in Electrical Engineering and moved to the United States. The arrival wasn't very welcoming in the USA. The scene was completely different for Indians then. Many of the Indians were considered non-smart. When Kanwal aced his exams the professor would say "maybe you were cheating", to which he would say "I am smart! I am from IIT!". The next time the professor stood behind to catch the plagiarism. Kanwal aced again to which the professor said "If you were cheating, you did it really well!".

After graduating Kanwal found a decent job and rose very well as an individual contributor. He mentored many to become great managers while staying as an executor. All his managers would say "If you did so well in this role why would we ever pull you out". He was making good money (USD 75K which now would be USD 350K). But an entrepreneurial bug always kept him unsettled. It was about the time in 1980s when Apple, IBM and other companies where penetrating the PC market. A one Mr Johnson's success into this industry kept him inspired. He finally got his guts together and decided to quit his full-time job. He goes home and tells his wife about his decision to which she asks "We have such a nice house, two cars and kids, why would you do this? Is it me?". His answer instantly was "It isn't you, it is Mr Johnson!".

Kanwal started in the field of networking setting up LAN and gradually into WAN. His company Excelan was into smart ethernet cards which adopted TCP/IP and was one of the champions behind the success of TCP/IP and Internet.

It may now seem easier for entrepreneurs to establish geographically distributed offices and tap into the US economy, but then it wasn't. Many of the Indian entrepreneurs who struggled then have now paved the foundation for now Indians to establish businesses.

He now yielded to the floor for questions.

What do you look for during investing in a company?
He looks for the team. Because if the team is good and deserving then whatever be the odds they will definitely be able to overcome the hurdles. He believes in the team and not just the idea.

You have such a busy schedule. How do you manage and what keeps you going? You now have made many to retire. 
He believes in giving back. The concept of venture capitals provides a good ecosystem for growth. India only recently has opened up and one can now see the tremendous growth achieved. A venture capital borrows the money from LPs assuring them returns. This in-turn goes into funding companies who can effect a change. This brings jobs and improves the economy of any nation while bringing in accolades for many. Nothing comes for free or is charity. When is there any time to rest?

What do you think of brain-drain?
He thinks this is inappropriate. Only a few thousands go oversees to pursue other interests. In a nation of  billions if only those few have brains then India should be worried!

How would you measure the effectiveness of innovation?
Innovation needn't be about something new, it is about doing something differently and pushing yourself ahead. There are many companies who prove this point effectively e.g. Hotmail, Google, Facebook. And competition drives innovation. Unless there is someone breathing down your throat, there is no urge to push yourself ahead.

A truly inspirational guy! 

Saturday, March 24, 2012

Is Amazon EC2 really worth every penny?

At Sokrati we are very dedicated users of Amazon EC2. We swear by it and have a complete faith in their offering. Amazon EC2 has never let us down and has been sticking to their word of 99% uptime.

Many of my skills of Systems Administration I picked up during my 3 years stint with Amazon. I wonder whose idea it was but the complete decentralization prompts every Software Engineer to think through their hosts and procedures. It is at Amazon I learnt the importance of load-balancing, fault tolerance, datacenter redundancies, backup and those myriads of system maintenance that folks in other companies just take it for granted.

All of the infrastructure provided by Amazon EC2 is very much everything a company needs to run its systems with hardly any downtime. But are we using it right? Is it worth the money we are spending on it? When was the last time you checked the EC2 billing? Is there an alternative?

Are you using Amazon EC2 right?

EC2 provides a very convenient way to bring up boxes and shut them down when you are done using it. They have a very good API to achieve the same. But do we end up shutting them down? 

In a true cloud-sense machines are to be used when work is to be done and then shutdown after completion. Amazon bills you by the hours of usage. Though this paradigm seems very simple to understand and seems efficient in reality it aint so practical. When you bring up a box for usage you will have to configure it before it becomes usable. There are a couple of ways of doing this:
  • You use Amazon AMIs: You create an image of the host with all the configuration you intend to have. When the need arises you bring them up, get the work down and then shut them out. The only drawback here is that the images have to be kept up-to-date otherwise the stale software puts your system in jeopardy. I donno about you guys but this is a constant pain for us and makes it prohibitive to use on an "on-demand" basis. 
  • You use a central system configuration tool such as Puppet or Cfengine. Here after the host is brought up it talks to a system management server and gets itself in sync and then becomes operational. 
Apart from the above you need a way to bring up a box and to assign it work. This needs a major shift in the way your software is designed. We were able to solve this in Sokrati using a Distributed Scheduler. How many of us use EC2 in an effective way so that there are no idle cycles. We mostly end up bringing up boxes and keeping them up and running for time immemorial. 

When was the last time you checked an EC2 billing statement. I am not sure about you but it is so scary that I stopped looking at it. In this constant urge to keep pumping more software and more muscle we lose track of how much we are paying for the same. If you look at the bill it is divided into the following components:
  • Elastic Block Storage: This is inevitable if you want data to be persistent after a crash
  • S3: Inevitable as AMIs are stored on S3. You may also be using it for data backup
  • Data Transfer: The bandwidth that you are consuming. Again split across External & Internal. Internal is free but external is not. I am not sure about how they charge inter-datacenter traffic.
  • Load-balancer: A necessity for balancing traffic and fault tolerance.
  • Finally the host itself. Small, Medium, Large, Extra Large
And then there is the concept of Reserved Instances which puts you in a contract for a certain number of months. 

Alternatives?

We recently began to dabble with Hetzner with a rhetoric question "do I really care where my boxes are located?". This is a hosting service provider located in Germany. And I am glad to say I am surprised. They have an offering of virtual machines, dedicated hosts and collocation services. There are many necessary solutions that Amazon provides where Hetzner doesn't even come close. Here I list them down and also provide workable solutions. 

Host Comparison

The Hetzner hosts are far superior and far cheaper than that of Amazon EC2. It surprises me how they are able to even provide them. I spoke to a couple of Indian datacenters asking them to match the price and they either don't call me back or in some instances they outrightly have told me that their price is unbeatable. 

The comparison is not necessarily apples to apples but I am picking up the most commonly used instance of Amazon EC2 (a medium 32 bit host) and a very large host of Hetzner to show you how way off Amazon EC2 is. Secondly I am also assuming at this time that you run your EC2 instance permanently, similar to the way you would run a dedicated Hetzner Host. 

Type
RAM
(GB)
Hard Disk
(GB)
CPU
#CPUs
Per Month
(USD)
Setup Cost
(USD)
Discounted
Yearly Cost
(USD)
Discounted
Yearly Cost
(INR)
EC2 Medium
1.8
335
Intel(R) Xeon(R) CPU
2
140
0
1680
83,999.15
EC2 Medium
(1 yr reserved)
1.8
335
Intel(R) Xeon(R) CPU
2
80
138
(per yr)
1098
56,238.48
Hetzner EX5  
24
2 * 700
Intel(R) Core(TM) i7 CPU  920  @ 2.67GHz
7
78.25
65
(1time)
813
41,641.00
  • EC2 hosts are virtual and Hetzner hosts are dedicated physical machines
  • Hetzner costs have 19%VAT included. And if you are billing unit is out of Germany you avail a 19% reduction i.e. you don't have to pay VAT.
  • Discounted Yearly Cost includes the Setup fee + 12 * monthly fee. And for Hetzner 19% VAT is excluded.

You can clearly see how much better Hetzner is!

EC2 has Images!

Yep EC2 works on AMIs and is on Virtual Hosts and hence images is a great resource. Hetzner has no such thing. Infact Hetzner boxes are plain vanila boxes booted up with a specific flavor of the OS you want and that's it. 

You can easily use Puppet (a product of Puppet Labs) to configure your hosts as per your requirements. 

EC2 provides easy scaling

Hetzner boxes have to be requested as opposed to EC2 hosts. It is manually provisioned in their rack space and then allotted to you. It usually takes 1-2 days if the requested configuration is available. And if you caught them over a weekend then 3 days. 

To handle this I have started requesting 3 more than required. The billing starts after the first month. So you get a month after the host has been launched to decide whether you need it or not. Post 1 month the setup fee and the monthly billing gets effective.

EC2 has Load-balancing

Hetzner doen't provide load-balancing software or hardware and they aren't going to offer it. We have bypassed this by using HAProxy and Amazon EC2's load-balancer. Since Hetzner is in Germany we launched two hosts of Amazon EC2 in Ireland on which we installed HAProxy. HAProxy on these hosts know about the Hetzner hosts and provide load-balancing on them. These two HAProxies are behind the Amazon's Load Balancer in the cloud which provides fault-tolerance. Both the HAProxy are peers and operate in the same fashion. This adds an extra hop but is a very workable solution as opposed to doing your own load-balancer fault-tolerance. 

 Amazon EC2 LBs cannot manage hosts that are outside their datacenter. And hence this workaround. 

EC2 has EBS  

Honestly with the quality and quantity of the hard-drives that Hetzner is providing I doubt if we need more disk space. The Hetzner drives are RAID so they have an easy backup and are crash resistent. I am sure if you call Hetzner folks and ask for an extra drive on your host they will be able to provide you one for an extra cost. 

EC2 is in Singapore too

Hetzner is a Germany based provider. For India Amazon EC2 Singapore is the closest datacenter. Latencies are slightly more from India. 
  • Ping time India -> EC2 Singapore Host: 157 ms
  • Ping time India -> Hetzner Germany Host: 199 ms

EC2 has S3

Yep and chances are you may still want to use it! Hetzner has a backup solution but I am not sure how good it is. 

Conclusion

Going by the lines of my forceful high-school teacher, I conclude by saying please make an informed decision regarding your service provider. We are a startup and bleeding money is in short killing yourself. And no I don't work for Hetzner, I am a hardcore Sokratian!

If you'd like any specific information about either please leave a note and I will try to answer them. 

Monday, February 27, 2012

A Very Simple Concept for Crowd Control

As you get off Indore aiport you will neither hear any whistling nor will you see any cops. Granted the airport is small but the tendency to grow a crowd during departures and arrivals is very much possible. When I was being dropped off at the airport the cab driver was stopped to pickup an entry ticket into the airport. Owing to natural tendencies I quipped at it instantly, "Now they will charge you to even enter an aiport?". To this my fellow passengers corrected me saying that if the driver doesn't exit within 4 minutes he will have to pay Rs 100 as a parking fee.

It is such a brilliant idea for crowd control. The driver wouldn't wait even for a second after he dropped our bags. If you observe the rut that is created at the Pune airport, you will empathize how irritating it is to navigate the car around.

This is the first time that a government agency has ever surprised me. I haven't seen such a system even in the US.

Kudos!

Saturday, February 25, 2012

24th Feb 2012: An Amazing Day for Sokrati

It is 25th of Feb around 02:00 in the afternoon and I am now on my way out of Indore to Hyderabad. Just a day ago as I was flying to Indore reeling from the party for my wife's birthday, which was on 23rd, I realized how different our life ahead is going to be! We are pregnant and expecting our new born to arrive the first week of May. I am guessing henceforth our birthdays would be on the back-burner. All my complaints of 'you forgot my b'day!' would no longer be even entertained. We now have to remember our lineage's events that we are now creating! My wife and I were going over those petty fights (mostly started by me) in the last 7 years and how it means nothing anymore. And it hit us again, we have been married now for 7 years!

As I land in Indore with the immense heat lashing over me and my thoughts playing ping pong with my brain, I tried to concentrate on the day at hand. Indore a city I visited about 20 years ago, is now a host to a grand event! If you asked me 1 year ago I would have said I will have kids before Anubhav Sonthalia gets married. The dude who always looked agitated and had a phone stuck to his ear, like it was sutured, looked so calm and composed through-out his whole procession! With occasional wholesome smiles and periodic whispers and gesticulations, he looked so much like a person in control for the years to come. His composure and the whole matrimonial atmosphere let us forget for a day all our anxieties. And when we finally went to meet him and take a picture with his newly wed bride, the only thing I could say was 'Dude I never knew this day would come'. It may sound bitter, but trust me I only had happiness in mind. I speak from experience when I say, I know henceforth his life would be more planned and tranquil!

It was about this time when Kaushik SMSed us that Sokrati has been awarded 'India's Top 20 Startups'. My ecstasy knew no bounds! I SMSed and ran around telling folks whomever I met whether I knew them or not. Three years of unrelenting hard-work and sleepless nights by us 50+, has now been recognized! We had just celebrated turning 50 and now we have another reason to bring our party-hats out!


(from right: Mohit Bansal, Kaushik Paranjape from Sokrati)

It is moments like these that help us define and enforce purpose to life. Each and every individual associated with Sokrati has a giant share in contributing to the success so far. Whether you are part of the company or were a part, you have helped Sokrati carve an existence! I thank you all for giving me an opportunity to be a part of such a fantastic enterprise.

I am yet to meet all but the only thing that comes to mind, in our own Sokrati style, 'Cake! Cake! Cake!' and '+1'.

Monday, October 3, 2011

Startup: A Myriad of things that can be done!

The beauty of a startup is the flexibility in providing things that make your folks happy. I always believe that unless a person is happy within he/she will never be able to make your customers or others around you happy. It is only in movies such as Anand we see otherwise :)

At Sokrati we keep trying a few things. Many are ideas within from folks in the company.

- Holidays: The company offers 4 public holidays and 5-6 floating holidays every year. The floating holidays can be taken during designated cultural/religious days. This way while some religious holidays may make sense to someone it may not mean much to another. Thus addressing all.
- Fully covered medical insurance: As the cost of medical expenses arise it is always relieving that this isn't actually a hassle anymore. The company has tied up with well-known insurance providers to waive that fee off upto a certain limit.
- Internet charges are waived off for home. There is not a person these days who doesn't need Internet. The company makes sure that all have one eventually.
- Loan: One can take one month's pay-check as a loan completely interest fee.
- Car Loan: You need to get a loan through one of the banks but the interest is re-imbursed by the company. So it is practically an interest free loan!
- Vendor to serve lunch and evening snack. We have finally managed to find the right vendor to serve lunch and evening snacks. The food is sumptuous and affordable and guess what it always comes on time!
- We sleep at work! There are always times when one needs a quick nap to regain some mojo. There is a couch where we take turns to sleep while some sleep at desk itself. You see someone you don't judge but rather pull the drapes down so that he/she can sleep comfortably!
- A travel allowance irrespective of where you live, so that your distance + petrol/diesel charges are taken care of.
- Bread + Tea/Coffee + Maggi round the clock! You need it you just need to ask. We have tried not to endorse unhealthy cold-drinks and food.
- Power Hours: We at times notice that if we have a few uninterrupted hours we get into a maximum efficiency mode. Hence the concept of Power Hours where you can subtly tell others to "Not Disturb" me.
- DISCO: This is our time of the month where we can work on any of our own little ideas and also possible form a team and eventually a company if successful. We set aside 4 days in the month to work on a novel idea. We will soon be launching one of our previous disco projects helping the startup community.
- Month-long induction project where you completely own the project in and out. The project has a mentor to guide you and will educate you about the processes in the company. At the end you have a functional system and you have learned the tricks of trade in Sokrati. This idea was suggested by Kaushik and is now successfully incorporated across the entire company.
- Funny business cards to break the ice. We have cards with personal caricatures. Its just the way we start our conversations!
- SCL: Sokrati Cricket League to blow of some steam every friday. We make our parking lot a cricket pitch where 6 play against 6.
- Friday evening bashes where all get to relax after cricket or any of the friday planned days eat some company sponsored snack like a burger, chat, vada-pao + drink some stuff 'cause come on atleast some days we should eat un-healthy.

I guess I covered them most. Ofcourse there are a few more which are our little secrets. Just wanted to share them with all so as to give ideas to other startups. If you have your own little startup perks please let me know!

Sunday, April 17, 2011

Hiring in a start-up: An interesting challenge

Hiring talent is always a challenge whether be it a startup or a multi-national. The problem becomes more challenging for a startup where cash is an issue, the company is unknown. I haven't still figured all of it out yet. Most of these thoughts are either things I have tried, I have read somewhere and yet to implement.

Steady stream of resumes is something which we all aspire for. But for that your company has to be discoverable. How would an individual apply if they don't know about your company at all. Many a times we resort to using job-portals which may not always work. Posting on the portals while bringing in awareness does also bring a lot of noise. With a lot of noise you also run the risk of losing upon the right guy.

Posting on start-up jobs forums. A few forums where it works
- http://www.pluggd.in/
- http://www.startups.in/
- http://www.startupdunia.com/
- http://www.venturewoods.org
You should also use every startup forum such as
- http://groups.google.com/group/hydstartups?hl=en
- http://groups.google.com/group/punestartups?hl=en
- http://groups.google.com/group/headstart-network
Keep repeating your posting atleast once a month.

Social channel: Post good updates on your linked-in profiles, facebook profiles. The more friends who talk or forward updates of your profile the better. All these channels provide features to post updates. Also send your requirements to your connections who if they believe in you and your company will definitely be messengers for you.

College Recruiting: Going on campus is a challenge in itself. Most of the times on good campus you are either late to apply or unable to attend or the campus will not schedule you in time. Go through friends, family to figure students who are currently in their 3rd year or final year. You can ask them to help you identify or announce on campus about your company and your job openings. An internal referrer is definitely better at times as they will identify good candidates and also give already placed candidates a choice.

Internship openings. This is a very good avenue to attract talent. I am sure there could be projects broken down into 2-3 month stints. This is very apt for good internship projects. Interns from good colleges are mostly interested in working on an exciting project. If you provide a small stipend and a good work environment these interns can become ambassadors of your company in their colleges. This relationship is extremely symbiotic, while they garner good experience, a good chunk of your work is also accomplished. Sarvesh of http://blog.internshala.com/ has put forth a great channel to find good interns.

Using recruiters. I have gradually begun to lose hopes on this method. Identifying the right recruiter is pretty hard and then comes the payout per hire. Which amounts to atleast 1 month of the newhire's salary. There are some recruiters like Sutra-lite that has campaigns which run for month long and they charge a flat-fee of Rs 3000 per posting. They do forward good number of resumes fulfilling the requirement, which you can keep revising.

Bringing company awareness:
- This is the biggest challenge for a startup. To be discoverable the first thing you would need is a good website which talks at length about the company and the product. You should strive hard to keep your careers page as current and as complete as possible. Any postings you do always send the traffic over to your website and if possible to the exact page.
- Be a very enthusiastic contributor to the online community. Blogs, answers to queries and being helpful in the community goes a long mile. A good deed brings forth an abundance of awareness by word-of-mouth. It also goes to help the community immensely.
- Hold mini competitions, it can be either at your facility, or a hired facility or even online. This brings a good traction to your company. Enthusiasts can show-case their skills to the community and you also get to find the right person for you. You also help them get discovered.

Screening through noise:
- If you hit upon a huge surge of resumes it is time to use good screening techniques. There is always a limited set of resources to interview. You can and should use online tests to filter through resumes.
- http://www.examprofessor.com/
- http://quizstar.4teachers.org
You can schedule good set of questions for different skillsets and let them qualify these before you go through their resume.

Monday, March 14, 2011

As a CxO I should be there at every conference

"When you’re not in your office on a regular basis you’re not showing leadership. You’re not setting the agenda. You’re not establishing culture, inspiring people or resolving conflicts. When you’re on the road all the time you’re not as productive. You reach diminishing marginal returns of the next person you met in relation to all that you’re sacrificing by not being in the office working."

Reference: Be Careful not to Become a Conference Ho