Skip to content

GuangJin/richTrident

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

#RichTrident The RichTrident project is an extension for Apache's Storm. Through richTrident, more types of queries can be used against state.

##Background Apache's Storm provides a distributive framework to process streams. Storm provides an interesting feature, called Trident. Through Trident, any stream have a stateful representation, called state. A stream, then, is able to query the state generated from another stream.

Current Storm implements its state through hashmapping. Thus, current Storm only supports exact key matching, i.e., the equality predicate. RichTrident, on the other hand, implements state by a more generic Map. For example, in RichTrident, TreeMap is used to keep the state of any 1D comparable value. In addition, RichTrident also implements a RTreeMap for 2D geo-values. In such a way, RichTrident creates distributed indexed states, based on which more query preidcate logics are supported.

##Prerequisites All the prerequisites by the original Storm, such as Java, git and maven, are needed in RichTrident.

##Play with RichTrident

  1. To play with richTrident, first clone it by git clone https://github.com/GuangJin/richTrident.git.
  2. Run mvn eclipse:eclipse to create the eclipse project and download dependent jars through maven.
  3. Import RichTrident from wherever your clone is, Eclipse shall find two Java projects:
    • richTrident-core, where the core functions of richTrident are implemented
    • richTrident-examples have three exampls on different types of queries can be used in RichTrident.

##Note Only the local mode has been tested so far.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages