There are two kinds of nodes on a Storm cluster: the master node and the worker nodes.

有两种节点,主节点和worker节点

主节点,Nimbus

Nimbus is responsible for distributing code around the cluster, assigning tasks to machines, and monitoring for failures.

worker节点,Supervisor:

The supervisor listens for work assigned to its machine and starts and stops worker processes as necessary based on what Nimbus has assigned to it. Each worker process executes a subset of a topology

topology,拓扑结构(计算逻辑关系):

a running topology consists of many worker processes spread across many machines.

A topology is a graph of computation. Each node in a topology contains processing logic, and links between nodes indicate how data should be passed around between nodes.

Zookeeper:(协调系统)

All coordination between Nimbus and the Supervisors is done through a Zookeeper cluster.

Additionally, the Nimbus daemon and Supervisor daemons are fail-fast and stateless; all state is kept in Zookeeper or on local disk.

(ZooKeeper是Hadoop的正式子项目,它是一个针对大型分布式系统的可靠协调系统,提供的功能包括:配置维护、名字服务、分布式同步、组服务等。ZooKeeper的目标就是封装好复杂易出错的关键服务,将简单易用的接口和性能高效、功能稳定的系统提供给用户)

Thrift :

Since topology definitions are just Thrift structs, and Nimbus is a Thrift service, you can create and submit topologies using any programming language.

(thrift是一个软件框架,用来进行可扩展且跨语言的服务的开发。它结合了功能强大的软件堆栈和代码生成引擎,以构建在 C++, Java, Python, PHP, Ruby, Erlang, Perl, Haskell, C#, Cocoa, JavaScript, Node.js, Smalltalk, and OCaml 这些编程语言间无缝结合的、高效的服务。)

Streams:

The core abstraction in Storm is the “stream”. A stream is an unbounded sequence of tuples.

Storm provides the primitives for transforming a stream into a new stream in a distributed and reliable way.

spouts & bolts 

The basic primitives Storm provides for doing stream transformations are “spouts” and “bolts”. Spouts and bolts have interfaces that you implement to run your application-specific logic.

A spout is a source of streams (数据流的源头)

A bolt consumes any number of input streams,does some processing, and possibly emits (发送出)new streams.

Bolts can do anything from run functions, filter tuples, do streaming aggregations, do streaming joins, talk to databases, and more.

(加工消耗传给他的数据流,然后发出或传给下一个bolt)

spouts 和 bolts 组成的网络,就构成了一个topology,这是提交给storm执行的高层次抽象。

A topology is a graph of stream transformations where each node is a spout or bolt.

When a spout or bolt emits a tuple to a stream, it sends the tuple to every bolt that subscribed to that stream.

数据模型 

Data model

(http://storm.apache.org/documentation/Tutorial.html)

最新文章

  1. STL基础
  2. FFT小总结
  3. 实验室ip同步脚步
  4. php 下载图片 文件
  5. QT creator+OpenCV2.4.2+MinGW 在windows下开发环境配置
  6. ASP.NET - List<> 绑定 DropDownList
  7. android中设置ListView的选中的Item的背景颜色
  8. 小甲鱼OD学习第3讲
  9. java中读取资源文件的方法
  10. Spring 使用 feign时设置header信息
  11. 421. Maximum XOR of Two Numbers in an Array
  12. linux系统下创建lvm挂载到指定目录
  13. (转)编译android5.1,添加swap分区的方法
  14. .NET异步多线程,Thread,ThreadPool,Task,Parallel,异常处理,线程取消
  15. android动画具体解释一 概述
  16. 自学jquery,下午实现前后台交互--成为牛逼的女程序员
  17. Delphi XE7的蓝牙 Bluetooth
  18. 【转】MMORPG游戏服务器技能系统设计:表格字段与技能程序框架
  19. HTTP Status 500 - Error instantiating servlet class XXXX
  20. 傻逼数学题(math)

热门文章

  1. MongoDB 快速入门
  2. 巧用Excel提高工作效率
  3. convert from EST/EDT to GMT
  4. swift基础教程笔记
  5. [Android基础]Android中使用HttpURLConnection
  6. Linux系统调用及用户编程接口(API)
  7. 初学shell,今天遇到由wget下载到本地的网页源代码的乱码问题,无聊的写了一个转码的脚本
  8. springcloud微服务实战--笔记
  9. Swift 学习笔记 (解决Swift闭包中循环引用的三种方法)
  10. python cookbook第三版学习笔记十一:类和对象(二)调用父类的方法