Skip to content
This repository was archived by the owner on Apr 28, 2020. It is now read-only.

esatterwhite/skyring-scylladown

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

skyring-scylladown

ScyllaDB backend store for levelup leveraging abstract-leveldown

level badge npm npm

Specialized leveldown backend for use with skyring. Not all level down features are supported. Namely, iterator / stream ranges and explicit buffer casting - all keys and values are returned as strings

Example

const levelup = require('levelup')
const scylladown = require('@skyring/scylladown')

const opts = {
  contactPoints: ['192.0.0.1:9042', '192.0.0.2:9042', '192.0.0.3:9042']
, keyspace: 'customkeyspace'
}

const db = levelup(scylladown('table_name'), opts)

Options

  • contactPoints - Array of scylla nodes
  • keyspace - The scylla keyspace to operate int
  • replicas - The number of keyspace replicas to create

About

scylladb based leveldown backend for use with Skyring

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published