2014-02-07 16:41:03 -08:00
|
|
|
---
|
2020-09-01 10:14:13 -05:00
|
|
|
layout: docs
|
2020-04-07 14:55:19 -04:00
|
|
|
page_title: Consul vs. Custom Solutions
|
|
|
|
description: >-
|
|
|
|
As a codebase grows, a monolithic app often evolves into a Service Oriented
|
|
|
|
Architecture (SOA). A universal pain point for SOA is service discovery and
|
|
|
|
configuration. In many cases, this leads to organizations building home grown
|
|
|
|
solutions. It is an undisputed fact that distributed systems are hard;
|
|
|
|
building one is error-prone and time-consuming. Most systems cut corners by
|
|
|
|
introducing single points of failure such as a single Redis or RDBMS to
|
|
|
|
maintain cluster state. These solutions may work in the short term, but they
|
|
|
|
are rarely fault tolerant or scalable. Besides these limitations, they require
|
|
|
|
time and resources to build and maintain.
|
2014-02-07 16:41:03 -08:00
|
|
|
---
|
|
|
|
|
2014-04-10 16:56:22 -07:00
|
|
|
# Consul vs. Custom Solutions
|
2014-02-07 16:41:03 -08:00
|
|
|
|
2015-03-07 10:18:24 -05:00
|
|
|
As a codebase grows, a monolithic app often evolves into a Service Oriented
|
2014-10-19 19:40:10 -04:00
|
|
|
Architecture (SOA). A universal pain point for SOA is service discovery and
|
|
|
|
configuration. In many cases, this leads to organizations building home grown
|
|
|
|
solutions. It is an undisputed fact that distributed systems are hard; building
|
2015-03-07 10:18:24 -05:00
|
|
|
one is error-prone and time-consuming. Most systems cut corners by introducing
|
2014-10-19 19:40:10 -04:00
|
|
|
single points of failure such as a single Redis or RDBMS to maintain cluster
|
|
|
|
state. These solutions may work in the short term, but they are rarely fault
|
|
|
|
tolerant or scalable. Besides these limitations, they require time and resources
|
|
|
|
to build and maintain.
|
2014-02-07 16:41:03 -08:00
|
|
|
|
2018-01-04 16:44:07 -05:00
|
|
|
Consul provides the core set of features needed by an SOA out of the box. By
|
2015-03-07 10:18:24 -05:00
|
|
|
using Consul, organizations can leverage open source work to reduce the time
|
|
|
|
and effort spent re-inventing the wheel and can focus instead on their business
|
2014-10-19 19:40:10 -04:00
|
|
|
applications.
|
2014-02-07 16:41:03 -08:00
|
|
|
|
2015-03-07 10:18:24 -05:00
|
|
|
Consul is built on well-cited research and is designed with the constraints of
|
2014-10-19 19:40:10 -04:00
|
|
|
distributed systems in mind. At every step, Consul takes efforts to provide a
|
|
|
|
robust and scalable solution for organizations of any size.
|