Skip to content

pjaromin/storm-state

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This library implements DFS backed data structures for use within Storm topologies. State is stored in memory but is persisted to the DFS for durability. This library is very efficient, able to sustain very high throughputs of reads and writes.

This library works similarly to HBase: writes are written to a transaction log file open in HDFS. Every so often, the transaction log can be committed which does an HDFS "sync" call which ensures the data written so far to the transaction log is replicated to all nodes. In the background, the transaction logs are compacted by writing snapshots of the current state to HDFS and rotating the log.

storm.state.example.MapExample contains an example of using this library in a topology.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 96.0%
  • Clojure 4.0%