hashicorp / hashicorp/consul-template

When watching all services, consul-template is DOSing the Consul agent

Open
#1,065 8 comments 7 reactions 0 assignees View on GitHub
thinking
Dominant language
Go
Stars
4.8k
Forks
801
Avg merge
4h 5m
Merged PRs (30d)
6

Description

### Consul Template version

```
consul-template v0.19.4 (68b1da2)
```

### Expected behavior

Consul template should rate limit its calls to avoid DOSing the Consul Servers.

### Actual behavior

When using consul-template to watch all services on a large cluster (1k+ kind of services, more than 4500 nodes, Consul Indexes almost always change, especially on /catalog/services), consul-template very quickly DOS the Consul Servers by requesting far too fast to its local agent data and its local agent fowarding it very quickly to Consul Servers. In one of our configuration, we then see more than 500Mb/s data between Consul-Agent and Consul-Server.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.