Giter VIP home page Giter VIP logo

onyx-dynamodb's Introduction

onyx-dynamodb

Onyx plugin providing read and write facilities for batch processing a DynamoDB database. This library uses the faraday dynamodb library under the hood : https://github.com/ptaoussanis/faraday/

Installation

In your project file:

[yuppiechef/onyx-dynamodb "0.5.0"]

In your peer boot-up namespace:

(:require [onyx.plugin.dynamodb])

Catalog entries

scan
{:onyx/name :scan
 :onyx/ident :dynamodb/scan
 :onyx/type :input
 :onyx/medium :dynamodb-scan
 :onyx/consumption :concurrent
 :dynamodb/config client-opts
 :dynamodb/scan-options {:return :all-attributes}
 :dynamodb/table :people
 :onyx/batch-size batch-size
 :onyx/max-peers 1
 :onyx/doc "Creates ranges over an :eavt index to parellelize loading datoms downstream"}
query

Still to be implemented

commit-tx

Be sure to send full entities in since it uses (batch-write-item {tablename {:put [batch]}})

{:onyx/name :out
 :onyx/ident :dynamodb/commit-tx
 :onyx/type :output
 :onyx/medium :dynamodb
 :onyx/consumption :concurrent
 :dynamodb/table :people
 :dynamodb/config client-opts
 :onyx/batch-size 2
 :onyx/doc "Transacts segments to dynamodb"}

Contributing

Pull requests into the master branch are welcomed.

License

Copyright © 2014 Yuppiechef Online (Pty) Ltd.

Distributed under the Eclipse Public License, the same as Clojure.

onyx-dynamodb's People

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

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.