Code Monkey home page Code Monkey logo

modularstorm's Introduction

modularstorm

An experimental integration project of the Kompics (SICS-KTH) message-passing component model on Storm. It offers a clean modular component-based api to Storm that feels to be missing in the Java version. For implementations that involve multi-threading and different component stacks and dependencies on top of the storm processing model modularstorm can be leveraged for removing most of such complexity. Scheduling of component workers is also handled by the Kompics scheduler and allows for efficient usage of multi-core machines. Flow-control events might be added soon since accumulated execute events can potentially trigger memory issues if the processing rate is too slow.

It is first advised to go through the Kompics documentation to see how to build some basic components. On this implementation one Kompics scheduler is being instantiated per Storm worker (JVM process) and further component binding can be done manually upon a task 'prepared' state.

As of its current version a KompicsBolt component is given as a basis that provides the following specification:

Request:
------------
STRM_EMIT :: {StreamID, [Anchors], [Object]}
STRM_ACK :: {Tuple} 
STRM_FAIL :: {Tuple}

Indication:
---------------
STRM_INIT :: {TopologyContext} 
STRM_EXECUTE :: {Tuple}

A short demo on how to use the current api for assembling your own components on top of KompicsBolt can be found here

modularstorm's People

Contributors

bathtor avatar senorcarbone avatar

Watchers

 avatar  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.