Git Product home page Git Product logo

trident-aerospike's Introduction

trident-aerospike

Storm Trident connectors for Aerospike, consisting of various implementations of an Aerospike Trident state.

This project currently provides three state implementations:

  • AerospikeSingleBinMapState - The map state key is used to determine the Aerospike record record key. Each map value is stored in a bin.
  • AerospikeSplitKeyMultiBinMapState - The map state key is split to determine the Aerospike record record key and bin. In this implementation, Aerospike bins correspond to map keys and bin values correspond to map values. This does not use the Aerospike map type and does not require user defined functions to update state.
  • AerospikeSplitKeySingleBinMapState - The map state key is split to determine the Aerospike record record key and map key. This implementation uses the Aerospike map type to store a map of counts in a bin. For handling maps, we require use of user defined functions on the server for retrieval and manipulation as otherwise it is not possible to perform reads or writes on maps without reading the whole map to the client.

All implementations support storing either non-transactional, transactional or opaque state, as described here.

An example topology is provided for both the single-key and split-key map states.

Note that to use the AerospikeSplitKeySingleBinMapState, you must register the provided UDFs on your Aerospike instance:

aql> REGISTER MODULE 'map_ops.lua'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.