Merge pull request #33 from cwiki-us-docs/feature/cluster

Feature/cluster
This commit is contained in:
YuCheng Hu 2021-08-03 16:59:17 -04:00 committed by GitHub
commit 18a846fcb3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 22 deletions

View File

@ -11,17 +11,15 @@ Druid 包含有一组可用的参考配置和用于单机部署的启动脚本
`micro-quickstart` 适合于笔记本电脑等小型计算机,主要用于能够快速评估 Druid 的使用场景。
The `nano-quickstart` is an even smaller configuration, targeting a machine with 1 CPU and 4GiB memory. It is meant for limited evaluations in resource constrained environments, such as small Docker containers.
其他的配置包含有针对使用独立服务器进行部署的配置,这些配置通常需要与 AWS 的 i3 系列 EC2 服务器等同才行。
The other configurations are intended for general use single-machine deployments. They are sized for hardware roughly based on Amazon's i3 series of EC2 instances.
The startup scripts for these example configurations run a single ZK instance along with the Druid services. You can choose to deploy ZK separately as well.
The example configurations run the Druid Coordinator and Overlord together in a single process using the optional configuration `druid.coordinator.asOverlord.enabled=true`, described in the [Coordinator configuration documentation](../configuration/index.md#coordinator-operation).
While example configurations are provided for very large single machines, at higher scales we recommend running Druid in a [clustered deployment](../tutorials/cluster.md), for fault-tolerance and reduced resource contention.
这些示例配置的启动脚本与 Druid 服务一起运行单个 ZooKeeper 实例来运行,你也也可以选择单独部署 ZooKeeper。
在示例程序中的 Druid Coordinator 和 Overlord 作为一个独立的进程同时运行,使用的可选配置为 `druid.coordinator.asOverlord.enabled=true`
相关的内容请参考 [Coordinator configuration documentation](../configuration/index.md#coordinator-operation) 页面中的内容。
我们虽然为大型单台计算机提供了配置的实例,但是在更加真实和大数据的环境下,我们建议在集群方式下部署 Druid请参考 [clustered deployment](../tutorials/cluster.md) 页面中的内容。
通过集群范式的部署,能够更好的增加的 Druid 容错能力和扩展能力。
### Nano-Quickstart: 1 CPU, 4GiB RAM
@ -52,17 +50,3 @@ While example configurations are provided for very large single machines, at hig
- 启动命令: `bin/start-xlarge`
- 配置目录: `conf/druid/single-server/xlarge`
`micro-quickstart`适合于笔记本电脑等小型机器,旨在用于快速评估测试使用场景。
`nano-quickstart`是一种甚至更小的配置目标是具有1个CPU和4GB内存的计算机。它旨在在资源受限的环境例如小型Docker容器中进行有限的评估测试。
其他配置旨在用于一般用途的单机部署,它们的大小适合大致基于亚马逊i3系列EC2实例的硬件。
这些示例配置的启动脚本与Druid服务一起运行单个ZK实例,您也可以选择单独部署ZK。
通过[Coordinator配置文档](../../Configuration/configuration.md#Coordinator)中描述的可选配置`druid.coordinator.asOverlord.enabled = true`可以在单个进程中同时运行Druid Coordinator和Overlord。
虽然为大型单台计算机提供了示例配置但在更高规模下我们建议在集群部署中运行Druid以实现容错和减少资源争用。