Skip to content

Instantly share code, notes, and snippets.

@baontq
baontq / gist:a024d1377806ea10f7c9
Last active Aug 29, 2015
(WIP) Going to production - Apache Storm
View gist:a024d1377806ea10f7c9
Some lessons we learnt along the way pushing our topologies to production environment.
Apache Storm
http://storm.apache.org/
https://github.com/apache/storm.git
Some notes are specific to Trident on Storm 0.9.2.
---------------
Error handling
@baontq
baontq / JRuby ScriptingContainer CONCURRENT issue
Last active Aug 29, 2015
Concurrency issue of JRuby ScriptingContainer (LocalContextScope.CONCURRENT)
View JRuby ScriptingContainer CONCURRENT issue
/**
* This will prove the concurrency issue of ScriptingContainer(JRuby) if
* more than 1 thread trying to construct ScriptingContainer instance
*
* Require jruby jar to run this.
*
* @author btran
*
*/