运行的拓扑解析--worker,executor,task
2014-07-07
本文为Storm官方文档What makes a running topology的读书笔记
为了在Storm集群中运行一个拓扑,Storm中有下面三个不同的实体:
- Worker processes
- Executors(threads)
- Tasks
Configuring the parallelism of a topology
worker processes数目
executors(threads)数目
tasks数目
Example of a running topology
How to change the parallelism of a running topology
- 使用Storm web UI来rebalance
- 使用CLI来rebalance
参考
- Concepts
- Configuration
- Running topologies on a production cluster]
- Local mode
- Tutorial
- Storm API documentation, most notably the class Config