Skip to content

Instantly share code, notes, and snippets.

@soc
Created August 9, 2014 12:37
Show Gist options
  • Select an option

  • Save soc/223d3640459743530dac to your computer and use it in GitHub Desktop.

Select an option

Save soc/223d3640459743530dac to your computer and use it in GitHub Desktop.
Bulk operations
Requirements:
- Efficient by design (no "let's hope the optimizer/compiler rewrite rules/... figure this out")
- Unified API which can support all implementations and input sources
- Supports both push and pull models (event streams, collections, ...)
- Reification of operations (to allow reasonable queries against databases as an input source)
Conclusions:
- API must not prescribe evaluation model
- Evaluation must only start when requested
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment