This question is often asked by both business founders and software engineers when considering how best to position their companies or careers. Â In seeking an answer, for sale
one must consider important factors with respect to productivity, sick engineering talent, maintainability, scalability, and environment. Â In this article, we will explore these general considerations and highlight them using popular technology stack choices for current web based and SaaS products.
First, let me motivate what I mean by technology stack in this context and why you mightÂ care – especially for non-technical decision makers. Â It is a set of code (and hardware) modules which build one on top of the other from general to specific. Â The lower in a stack that one goes the closer to hardware one gets (i.e. operating system). Â The higher one goes, the more specialized the functionality (i.e. web server). Â For purposes of a software company, choosing a primary technology stack mostly involves: a programming language/run-time, standard libraries, de-facto/standard frameworks, higher level subsystems (i.e. database), and the community which supports it. Â The primary stack is the one which most of your engineers will use to create the majority of your code base. Â Many secondary technology stack choices may be made to augment for specialized needs.
So, what are some vital factors to consider when making a technology stack choice?
Scalability. Â Scalability in this context refers to servicing more requests/customers with steady response times and cost. Â Scaling may take place horizontally (more machines) or vertically (more compute per machine). Â If your product will get heavy request traffic then it is important to consider the efficiency ofÂ the stack that you choose, since it will impact your operational cost and operational burden. Â For example, at a recent conference a presenter showed that a particular sample application in CRuby was 30x slower than C, PHP was 8x slower than C, and a JRuby/JPython/Java implementation was about 2x slower than C. Â For languages which run on a virtual machine (C#, Ruby, PHP, Python, Java), the underlying virtual machine becomes the bottleneck. Â The JVM (Java Virtual Machine) is currently considered one of the most performant general purpose virtual machines and supports Java, JRuby, JPython, Scala, and several other languages.
Environment. Â Many times the technology stack choice is strongly influenced by the operating constraints of the company. Â For instance, a company developing native iPhone apps might be forced to use Objective C – though you may still have choices for your server side software. Â As a SaaS software company with little devops support you may choose to leverage a PaaS provider such as Heroku/Google App Engine and rely on a stack they support. Â Consider carefully if all or part of your company must be aligned with a particular technology vendor, support certain legal requirements, or make tradeoffs in operational costs. Â This Â could become your overriding decision making factor though carefully balance against the vendor lock-in implications.
Community. Â A crucial point in the choice of the technology stack is the community. Â Active and vibrant communities support fast adaptation of software to specific needs and quick bug fixes. Â It is hard to overstress that when dealing with limited resources, the community support should be strong. Â C/C++, C#, PHP, Ruby, Python, Java based stacks all have vibrant and active communities.
Legal/Licensing. Â Open source v.s. commercial (sometimes commercial solutions support features not present in open source). Â Most software products today can be built using open source solutions – it is important to be aware of the type of license that software is open sourced under as future deals/M&A can be affected by it. Â GPL is generally considered the most commercially restrictive license. Â Most languages and their runtime environments are non-GPL, however, many libraries are GPL (or dual licensed).
As you consider these factors, it may be helpful to look into some of the popular choices. Â While non-exhaustive, this list captures most mainstream technology stacks used by current SaaS and consumer facing web products:
Language: Web Frameworks
- Java: Spring/Hibernate, Struts, Tapestry, Play! (Scala)
- PHP: CodeIgniter, Zend, Cake, Symfony
- Python: Django, web2py, TurboGears, Zope
- Ruby: Rails, Sinatra
- C#: ASP.NET
- Sql Server
- Linux (numerous versions)
Cloud PaaS Solutions
- Microsoft Azure
- RedHat OpenShift
For reference, here are a few resources to research adoption levels of the numerous web framework and language options:
- Web frameworks at wikipedia: http://en.wikipedia.org/wiki/Comparison_of_web_application_frameworks
- Job listing based language popularity: http://jobstractor.com/monthly-stats
- Open source project language popularity: http://lang-index.sourceforge.net/
- Web search language popularity: http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html
Todayâ€™s technology market relies on planned obselesence while simultaneously selling long term stable platform visions. Â This bi-polarity is mirrored in a tension between choosing something which supports current trends and also future proofs. As a result, there are hundreds of technology stack choices addressing different types of applications (even specialized languages for things like machine learning and statistical analysis). Â One must make technology choices which are appropriate to their own situation. Â The bottom line is that one must consider several factors in making a choice. Â Expect that the technology stack you choose today may be different than the one you choose two years from now.