mirror of https://github.com/hashicorp/consul
website: remove use cases
parent
7392bc9343
commit
7722cf3a8e
|
@ -36,9 +36,7 @@ and coordinating infrastructure. It provides several key features:
|
||||||
means users of Consul do not have to worry about building additional layers of
|
means users of Consul do not have to worry about building additional layers of
|
||||||
abstraction to grow to multiple regions.
|
abstraction to grow to multiple regions.
|
||||||
|
|
||||||
See the [use cases page](/intro/use-cases.html) for a list of concrete use
|
See the page on [how Consul compares to other software](/intro/vs/index.html)
|
||||||
cases built on top of the features Consul provides. See the page on
|
to see just how it fits into your existing infrastructure. Or continue onwards with
|
||||||
[how Consul compares to other software](/intro/vs/index.html) to see just
|
|
||||||
how it fits into your existing infrastructure. Or continue onwards with
|
|
||||||
the [getting started guide](/intro/getting-started/install.html) to get
|
the [getting started guide](/intro/getting-started/install.html) to get
|
||||||
Consul up and running and see how it works.
|
Consul up and running and see how it works.
|
||||||
|
|
|
@ -1,57 +0,0 @@
|
||||||
---
|
|
||||||
layout: "intro"
|
|
||||||
page_title: "Use Cases"
|
|
||||||
sidebar_current: "use-cases"
|
|
||||||
---
|
|
||||||
|
|
||||||
# Use Cases
|
|
||||||
|
|
||||||
At this point you should know [what Serf is](/intro/index.html) and
|
|
||||||
the high-level features Serf provides. This page lists a handful of
|
|
||||||
concrete use cases of Serf. Note that this list is not exhaustive by
|
|
||||||
any means. Serf is a general purpose tool and has infinitely many more
|
|
||||||
use cases. But this list should give you a good idea of how Serf
|
|
||||||
might be useful to you.
|
|
||||||
|
|
||||||
It is important to remember that all the use cases available below
|
|
||||||
require _no centralized state_, are masterless, and are completely
|
|
||||||
fault tolerant.
|
|
||||||
|
|
||||||
#### Web Servers and Load Balancers
|
|
||||||
|
|
||||||
Using Serf, it is trivial to create a Serf cluster
|
|
||||||
consisting of web servers and load balancers. The load balancers can
|
|
||||||
listen for membership changes and when a web server comes online or goes
|
|
||||||
offline, they can update their node list.
|
|
||||||
|
|
||||||
#### Clustering Memcached or Redis
|
|
||||||
|
|
||||||
Servers such as Memcached or Redis can be easily clustered by creating
|
|
||||||
a Serf cluster for these nodes. When membership changes, you can update
|
|
||||||
something like [twemproxy](https://github.com/twitter/twemproxy) or your
|
|
||||||
own application's list of available servers.
|
|
||||||
|
|
||||||
#### Triggering Deploys
|
|
||||||
|
|
||||||
Serf can send custom events to a Serf cluster. If you cluster your web
|
|
||||||
applications into a single cluster, you can use Serf's event system to
|
|
||||||
trigger things such as deploys. Just call `serf event deploy` and have
|
|
||||||
event handlers installed on all the nodes and the entire cluster will
|
|
||||||
receive this message within seconds and begin deploying.
|
|
||||||
|
|
||||||
#### Updating DNS Records
|
|
||||||
|
|
||||||
Keeping your internal DNS servers updated can be a finicky process.
|
|
||||||
By using Serf, the DNS server can know within seconds when nodes join,
|
|
||||||
leave, or fail, and can update records appropriately. No more stale DNS
|
|
||||||
records, or waiting for a Chef or Puppet run to clear out the records
|
|
||||||
within X minutes. With Serf, the records can be updated nearly instantly.
|
|
||||||
|
|
||||||
#### A Building Block for Service Discovery
|
|
||||||
|
|
||||||
One of the most difficult parts of service discovery is simply knowing
|
|
||||||
what nodes are online, at what addresses, and for what purpose. An effective
|
|
||||||
service discovery layer can easily be built on top of Serf's seamless
|
|
||||||
membership system. Serf handles all the problems of keeping an up-to-date
|
|
||||||
node list along with some information about those nodes. The service
|
|
||||||
discovery layer then only needs to answer basic questions above that.
|
|
|
@ -6,10 +6,6 @@
|
||||||
<a href="/intro/index.html">What is Consul?</a>
|
<a href="/intro/index.html">What is Consul?</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li<%= sidebar_current("use-cases") %>>
|
|
||||||
<a href="/intro/use-cases.html">Use Cases</a>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
<li<%= sidebar_current("vs-other") %>>
|
<li<%= sidebar_current("vs-other") %>>
|
||||||
<a href="/intro/vs/index.html">Consul vs. Other Software</a>
|
<a href="/intro/vs/index.html">Consul vs. Other Software</a>
|
||||||
<ul class="nav">
|
<ul class="nav">
|
||||||
|
|
Loading…
Reference in New Issue