Skip to content

Instantly share code, notes, and snippets.

@jimbaker
Last active December 19, 2015 01:59
Show Gist options
  • Save jimbaker/5879747 to your computer and use it in GitHub Desktop.
Save jimbaker/5879747 to your computer and use it in GitHub Desktop.
New JIRA stories for supporting Storm

Push custom proxymaker support into upstream Jython

Enables arbitrary class resolution, which is important for using the same class definition from ahead-of-time compilation (eg setup.py) This mostly requires writing additional tests, but there is also some required work on doc comments.

Client support for managing web hook calls

Some choices here for managing hooks

  • python-requests - this requires some minor amount of work to get working on Jython (methods are too long to compile to Java bytecode)
  • Google HTTP client - high performance, looks reasonable to use - especially with a higher level language

Determine strategy for managing persistent state

This is necessary to get guranteed once-and-only-once event processing. This really is a per point-of-contact investigation. Computational bolts within Storm have no such issues. In particular, our web hooks probably need to work with some concept of a transaction id to ensure persistence.

Implement basic scaling policy workflow

This epic involves:

  1. Prototype a spout that streams in sample MaaS data about servers as tuples
  2. Bolt to augment tuples with autoscaling groups (ASG), by looking up this label for each tuple
  3. Bolt implement a rolling window per ASG to implement some "interesting" policy; this will get further decomposed so we can get flexibility in the decision process, but start small for now
  4. Bolt to carry out decision, including persistence support
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment