Microservices

Microservices for Greenfield

Microservices is a distinctive method of developing software systems that try to focus on building single-function modules with well-defined interfaces and operations. There are two methods for creating cutting-edge software: greenfield and brownfield microservices.

Microservices have many benefits for Agile and DevOps teams. Development in microservices can happen in 2 ways.

  • Greenfield Development
  • Brownfield development.

Greenfield Software Development:

Greenfield software development refers to developing a system for a new environment and requires development from a clean slate – no legacy code around. It is an approach used when you’re starting fresh and with no restrictions or dependencies.

A pure greenfield project is quite rare these days, you frequently end up interacting with or updating some amount of existing code or enabling integrations.

Some examples of greenfield software development include: building a website or app from scratch, setting up a new data center, or even implementing a new rules engine.

 Advantages

  • Allows implementing a state-of-the-art technology solution from scratch.
  • Provides a clean slate for software development.
  • No compulsion to work within the constraints of existing systems or infrastructure.
  • No dependencies or ties to existing software, preconceived notions, or existing business processes.

 Disadvantages

  • With no clear direction, the degree of risk is comparatively higher.
  • Since all aspects of the new system need to be defined, it can be quite time-consuming.
  • With so many possible development options, there may be no clear understanding of the approach to take.
  • It may be hard to get everyone involved to make critical decisions in a decent time frame.

Brownfield Software Development

Brownfield software development refers to the development and deployment of a new software system in the presence of existing or legacy software systems.

Brownfield development usually happens when you want to develop or improve upon an existing application, and compels you to work with previously created code.

Therefore, any new software architecture must consider and coexist with systems already in place – to enhance existing functionality.

Examples of brownfield software development include:

Adding a new module to an existing enterprise system, integrating a new feature to software that was developed earlier, or upgrading code to enhance the functionality of an app.

Advantages

  • Offers a place to start with a predetermined direction.
  • Gives a chance to add improvements to existing technology solutions.
  • Supports working with defined business processes and technology solutions.
  • Allows existing code to be reused to add new features.

Disadvantages

  • Requires thorough knowledge of existing systems, services, and data on which the new system needs to be built.
  • There may be a need to re-engineer a large portion of the existing complex environment so that they make operational sense to the new business requirement.
  • Requires a detailed and precise understanding of the constraints of the existing business and IT, so the new project does not fail.
  • Dealing with legacy code can not only slow down the development process but also add to overall development costs.

Conclusion:

In this article, we looked at various methods for creating microservices, along with their benefits and shortcomings.

Please refer my blog for new articles: https://skolaparthi.com/microservices-design-patterns/

Loading

Translate »