Buy vs. Build  

Why the Boss wants you to build that software in-house?
boss.png
“Every manager has very real incentives” -me

Here is the dirty truth on why tech companies prefer to build tools in-house:

Managers ask you to build, so that you keep working for them.

Unfortunately managers frequently cite anecdotal evidence for why vendor-provided solutions are bad. It is time to dispel such myths.

I recently watched a youtube video of a technical manager, Justin Coffey, from Criteo demoing the in-house Business Intelligence tool his team had built. It is a great presentation. Justin actually lists reasons why his team decided to build its own tool; all are good reasons except none answer why would they reinvent something when a better tool already exists. (see footnotes)

Since I work across vendors and indirectly benefit from the complexity of new data tools — open source included — I also frequently hear reasonable arguments against buying a new tool. The specifics vary among the non-techies, but among the technologists most arguments boil down to just a few:

 We are building in-house because…

Vendor lock-in is an issue. Migrating away to another solution is costly. But lets consider the alternative: building on top of an open source stack.

Migration away from Apache to Nginx has been one of the widespread open source phenomenons over the past few years. Both are very popular. Search for “apache better than nginx” however, and you would be hard pressed to find an argument in favor of Apache. So why do many companies still rely on Apache?

Looking at a W3Techs web stats, one thing is clear: more frequently visited sites are more likely to make the switch to Nginx. This makes sense: the more important website performance becomes for your core business, the more likely you are to make the migration.
1-qwzYPYfx3XOMqe5KZgts9g.png “Top ranked website heavily favor Nginx over Apache”

There are two sides to this coin, however. The majority of less frequently visited sites remain on Apache (45% vs. 36.2%). A quick search (or this) proves that Nginx is supported by the old school managed web-hosting services providers as well. Old or new, web server is simply not core to these businesses.

As a more specific example, it took Facebook 6+ years to navigate new code development away from php (Emil Protalinski). And to support that initial development decision they had to invent a whole host of software to accommodate the inefficiencies of php. Consider the cost of those engineering resources as a cost of an open source lock-in.

If your open source powered solution is not the core of your business, consider yourself locked-in.

So whether it is your company’s reliance on a language, framework, or software, migrating open source solutions is not less costly.

Feature prioritization is a hard one to argue in favor of vendors. As an owner, you can certainly prioritize features to your needs better. If you need a custom visualization and you don’t care about the new SQL dialect, you just focus on the former. But just as with above there is a significant hidden cost.

For every new feature you introduce, there is a cost in maintenance. To quote one statistic dating back to 1999, the maintenance of software used to comprise 77% of resources in the product lifecycle. Whatever that statistic today, people consistently underestimate the overall resources required to maintain anything in tech. Consider Josh Pigford’s Build vs. Buy calculator. It highlights the cost of maintenance assuming X number of days per month for a team of just 3 people earning $150k as Software Engineers.

1-UYxYQh0mSFyC7fzIgZySfg.png

Already at 1.5 days per month, it takes 5 years to break even against a typical Business Intelligence vendor buy-in.

Product reliability can be more important than any of the above since unattended bugs can cost your company more than the cost of maintenance. So it is great to have direct access to that very engineer who can push the fix when stuff breaks. But here is more truth: who is to say that 1–2 years after building that product in-house, the manager or owner of the new internal tool will still have access to the needed engineer?

Engineers do not stay on the same project forever. Engineers frequently change projects and teams. It is not enough for one manager to have a maintenance plan. An entire management team needs to plan resource allocation for years to come on every new product built in-house.

Forcing engineering to respond to bug issues is simply a lot easier as a paying customer than as a manager with questionable internal political cloud. Most SaaS vendors do not make money on the initial annual contract. To quote Tom Tunguz sales efficiency survey, most SAAS companies average around 1.25 years for a pay-back on customer acquisition.
1-W3JY0MqgMRrpssjeqOHsiQ.png “Pay-back = 1/sales efficiency (average of 1/0.8 = 1.25)”

The entire industry survives because of renewals. That gives a buyer a lot of leverage with vendors. Contrast that with a manager “A” who needs to make a case for a manager “B” on resource allocation. Bottom line, vendor supplied tools are more reliable than in-house solutions that are not core to the primary business because vendors have to respond to feedback or else they go out of business.

 Real incentives behind every managerial argument

With the above out of the way, I want to now focus on how technical managers are actually evaluated at most companies. * The above three arguments should be induced by one of these incentives:*

Often there are other official and unofficial KPIs, such as the ones measuring success of creative ideas from engineers themselves, but most of that still boils down to (1) and (2).

A typical CEO is more likely to hear the opinion of our hypothetical engineering manager on vendor lock-in, feature prioritization, and product reliability insofar as (1) is concerned. This is just easier for business people to understand: can the team consistently deliver results on schedule without an exponential growth in resources required.

However as the above counter arguments have shown, when it comes to solutions not core to the business:

meeting product requirements on schedule and on budget has nothing to do with choosing a vendor vs. building your solution in-house.

It is O.K. to be biased in favor of in-house development, but alluding to product requirements and budget is misrepresentation of facts. There is no inherent advantage in building something internally on open source over a vendor-supplied tool.

 Difficulties in maintaining engineering talent

With (1) covered, it is time to examine the talent question. Most successful tech organizations are aggressive on this topic, and rightfully so — it is hard to keep engineering talent happy. Engineers are rarely satisfied with mundane repeated tasks. They need room to create and innovate.

The problem is that only the roles close to the core of their employer’s competency actually have that satisfaction consistently. The same just cannot be said of a whole host of other roles (e.g. Data Engineering, DevOps, etc). The lifecycle for the later roles typically looks something like this:

Compare this to a typical software engineering lifecycle:

As a company, you need these Data and DevOps roles really badly, but only sometimes. The question becomes: how do you keep them all the time? Or rather, how do engineering managers negotiate for these experts to stick around?

 Managers play to Developer “incompetence”

As with all negotiations involving asymmetrical information, the inner-team “lets build it in-house” argument plays to the incompetence on facts around existing solutions. Unlike managers, engineers are typically not exposed to product demos or sales-driven trials. Hence only the former know when a needed tool likely already exists (hint: for any problem worth solving, there is likely a business trying to solve it).

Despite this knowledge, many managers ignore this simple fact and choose to build an inferior solution in-house. Building a solution in-house keeps engineering staff engaged even for those engineers outside of the core product development. This works under one condition: engineers must not be aware of what other tools exist. Just think about it — no one ever approaches you in life with a proposition:

“can you help me make this cake? It will be not as good as the one you can buy at a store, and it will cost us more in ingredients. Oh, and you will have to clear the shit after people eat it”

You might love making cakes, but the truth would not be very enticing. And so is the absence of truth in solution purchasing decisions. Technical managers really don’t give a damn about technical Pros and Cons when deciding whether to buy or build. They care about talent.

 Comparative Advantage

As an engineer, it is your job to stay informed on the latest technologies. So do stay informed on the vendors as well.

The rules to product development for the world at large apply just as well to the inner-workings of tech companies. Don’t build something unless you have a comparative advantage in it.

Technical managers will continue to be biased in favor of building in order to maintain their talent. Stay informed and you will spend your 80% on the 5% that actually matter.

Segah Meer @Caura & Co.

fbpixel

 
2
Kudos
 
2
Kudos

Now read this

On Quality - the Zen of Internet Maintenance

When I talk to friends (of my father) who have read Robert Pirsig’s Zen of Motorcycle maintenance, they all say it had a profound effect on them back in the 70s. Looking around, sometimes it seems the early tech of the 20th century was... Continue →