How to select a programming model for your enterprise software development

Chanaka Fernando
Datree
Published in
3 min readApr 12, 2018

--

Microservices hype is not over yet. There are technologies like serverless computing and multi cloud platforms coming up and they will eventually increase the need for microservices style programming and application development. When it comes to enterprise software development, we can see that it is a mixture of traditional soa style systems, api driven systems which are backed my microservices or above mentioned soa systems, cloud based SaaS applications as well as proprietary software systems running on premise. Enterprise is going to be like this for a foreseeable future.

It is quite important that as an architect or a senior leader who is responsible for an enterprise software architecture to understand the proper approach to built your software eco system which will be an ever important factor to your business. When it comes to building such a complex system, there are 3 main approaches stands out

  • Polyglot programming model
  • Platform based programming model (open source)
  • Vendor specific programming model (proprietary software)

Let’s talk about each of these approaches in detail.

Polyglot programming model

The rationale behind this model is that you allow your development teams to choose the best programming language or technology to build the systems which they are building. In a microservices type architecture, this freedom is automatically there since each microservice is independent from the other. It provides more agility and maximum usage of internal talents. With the invention of cross platform tools like docker, you can bundle your applications in a common wrapper and deploy them like they have developed with the same technology. The main disadvantage of this model is that scattered knowledge and too many tools and techniques in the platform makes it complex to manage under a single platform. But this gives the maximum flexibility when it comes to selecting the best technology for a given task. Most of the architects and senior leaders are afraid to go with this approach due to the fact that they cannot build enough expertise on all different technologies.

Platform based programming model (open source)

Instead of selecting a technology per each and every application, you can select a technology platform which will cater most of your application development requirements. When it comes to selecting such a platform, we need to consider the following capabilities of the platform.

  • Stability
  • Extendibility
  • Performance
  • Maintainability
  • Transparency

Open source technology platforms have become the defacto standard of choice for platform driven use cases. All the above mentioned factors are well covered with a proper open source technology platform. Some of the most popular open source technology platforms for building open source based enterprise applications are

  • Spring framework
  • Kubernetes
  • Docker
  • Netflix OSS
  • WSO2 Open source platform

This model provides advantages like easy maintenance due to common technology platform, easier to build in house expertise, less complexity and more stability. Based on the platform you choose to build your system, you can achieve goals like agility through this model.

Vendor specific programming model

This model of programming has been the choice in the past when there were few companies building enterprise software platforms. These large corporations built their own proprietary platforms and provided easy to use user interface driven tools to program their systems. No one knew how to debug these systems and what is happening under the hood and there were no open information about future road maps of these platforms.

Even though these platforms are proprietary and hard to debug, they have their own advantages.

  • Ease of use
  • Better stability
  • Purposely built software with quality features

One of the main disadvantages of this model is the lack of flexibility and vendor locking. Once you locked in, you don’t have a choice than pay what the vendor demands when you want to add a new feature. Sometimes, they will not add the relevant feature at all.

Conclusion

The 3 programming models described above have their own advantages and disadvantages based on your requirements and capabilities. Therefore, you need to weigh in all the factors before deciding on a specific approach.

--

--

Chanaka Fernando
Datree

Writes about Microservices, APIs, and Integration. Author of “Designing Microservices Platforms with NATS” and "Solution Architecture Patterns for Enterprise"