consul/website/source/docs/faq.html.markdown

53 lines
2.3 KiB
Markdown
Raw Normal View History

2014-10-14 00:46:41 +00:00
---
layout: "docs"
page_title: "Frequently Asked Questions"
sidebar_current: "docs-faq"
---
# Frequently Asked Questions
## Q: Why is virtual memory usage high?
Consul makes use of [LMDB](http://symas.com/mdb/) internally for various data
storage purposes. LMDB relies on using memory-mapping, a technique in which
a sparse file is represented as a contiguous range of memory. Consul configures
2015-03-05 22:56:41 +00:00
high limits for these file sizes and as a result relies on large chunks of
virtual memory to be allocated. However, in practice, the limits are much larger
2014-10-14 00:46:41 +00:00
than any realistic deployment of Consul would ever use, and the resident memory or
physical memory used is much lower.
## Q: What is Checkpoint? / Does Consul call home?
Consul makes use of a HashiCorp service called [Checkpoint](http://checkpoint.hashicorp.com)
2014-10-20 06:26:38 +00:00
which is used to check for updates and critical security bulletins.
2015-03-05 22:56:41 +00:00
Only anonymous information, which cannot be used to identify the user or host, is
sent to Checkpoint . An anonymous ID is sent which helps de-duplicate warning messages.
This anonymous ID can can be disabled. In fact, using the Checkpoint service is optional
and can be disabled.
See [`disable_anonymous_signature`](/docs/agent/options.html#disable_anonymous_signature)
and [`disable_update_check`](/docs/agent/options.html#disable_update_check).
2015-02-07 00:37:34 +00:00
## Q: How does Atlas integration work?
2015-02-07 00:34:07 +00:00
Consul makes use of a HashiCorp service called [SCADA](http://scada.hashicorp.com)
2015-03-05 22:56:41 +00:00
(Supervisory Control And Data Acquisition). The SCADA system allows clients to maintain
long-running connections to Atlas. Atlas can in turn provide auto-join facilities for
Consul agents (supervisory control) and an integrated dashboard showing the health of
all connected agents (data acquisition).
2015-02-07 00:34:07 +00:00
2015-03-05 22:56:41 +00:00
Standard ACLs can be applied to the SCADA connection, ensuring that Atlas is given only
those privileges that make sense for your deployment.
2015-03-05 22:56:41 +00:00
Using the SCADA service is optional. SCADA is only enabled by opt-in.
See the [Atlas integration guide](/docs/guides/atlas.html) for more details.
2015-03-09 17:10:22 +00:00
## Q: Does Consul rely on UDP Broadcast or Multicast?
2015-03-09 17:10:22 +00:00
Consul uses the [Serf](https://serfdom.io) gossip protocol which relies on
TCP and UDP unicast. Broadcast and Multicast are rarely available in a multi-tenant
or cloud network environment. For that reason, Consul and Serf were both
designed to avoid any dependence on those capabilities.