On Friday, October 23, 2015 at 6:10:50 AM UTC-4,
hugolee...@gmail.com wrote:
Hi
Recently I do a test for consul, which is how many consul client agent can be supported by a data center.
The test environment is total 5 pc. Three consul agent make up server and each agent use one pc. The last 2 pc make up client,each pc creates 300 consul agent as client mode by using different ports ,and it also watch a service.
The vast majority of us deploying consul are not running hundreds of client agents per host. Maybe some people are deploying more than on agent to a single host, and maybe some of us are deploying more than one client to a single host, but there is no way that your test matches typical, real-world use.
I doubt that there is something wrong in my test.And I want to know how many consul client agent can be supported by a data center?
Are you planning to run a system with hundreds of agents on a single node? Your test should match, as closely as possible, to what your real-world use will look like, and it helps to understand the limits of your mockup. The number of consul clients a consul cluster can handle depends on a lot of factors, it is not a black-and-white, discrete number. The number, type, and size of the leaders, the type of network link available to the cluster, other network traffic, the number of KV/service changes to the directory, etc, etc, etc.. these will all affect the raw performance. If you run into a limit, understand it is a limit of YOUR system / mock, and you have to look more closely to determine why you hit that limit before you can point at consul and say you have found consul's limit.
Goodluck!