GithubHelp home page GithubHelp logo

rupnikj / qtopology Goto Github PK

View Code? Open in Web Editor NEW

This project forked from qminer/qtopology

0.0 2.0 0.0 2.71 MB

Distributed stream processing layer

License: BSD 2-Clause "Simplified" License

CSS 0.73% HTML 4.47% JavaScript 41.54% TypeScript 53.26%

qtopology's Introduction

QTopology

npm Build status

QTopology is a distributed stream processing layer, written in node.js.

NPM package: https://www.npmjs.com/package/qtopology

Documentation https://qminer.github.io/qtopology

Travis CI: https://travis-ci.org/qminer/qtopology

Installation

npm install qtopology

Intro

QTopology is a distributed stream processing layer, written in node.js.

It uses the following terminology, originating in Storm project:

  • Topology - Organization of nodes into a graph that determines paths where messages must travel.
  • Bolt - Node in topology that receives input data from other nodes and emits new data into the topology.
  • Spout - Node in topology that reads data from external sources and emits the data into the topology.
  • Stream - When data flows through the topology, it is optionaly tagged with stream ID. This can be used for routing.

When running in distributed mode, qtopology also uses the following:

  • Coordination storage - must be resilient, receives worker registrations and sends them the initialization data. Also sends shutdown signals. Implementation is custom. QTopology provides REST-based service out-of-the-box, but the design is similar for other options like MySQL storage etc.
  • Worker - Runs on single server. Registers with coordination storage, receives initialization data and instantiates local topologies in separate subprocesses.
    • Leader - one of the active workers is announced leader and it performs leadership tasks such as assigning of topologies to workers, detection of dead or inactive workers.

Quick start

See documentation

qtopology's People

Contributors

bergloman avatar rupnikj avatar blazf avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.