GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - basho/eleveldb: Erlang LevelDB API

BranchesTags
Open more actions menu

Latest commit

 

History

718 Commits
718 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
c_src
c_src
 
 
priv
priv
 
 
src
src
 
 
test
test
 
 
.eqc-info
.eqc-info
 
 
.gitignore
.gitignore
 
 
BASHO_RELEASES
BASHO_RELEASES
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
rebar.config
rebar.config
 
 
rebar.config.script
rebar.config.script
 
 
rebar.lock
rebar.lock
 
 
rebar3
rebar3
 
 

Repository files navigation

eleveldb - Erlang bindings to LevelDB datastore

Erlang CI Actions Status

This project provides erlang bindings to a LevelDB datastore heavily optimised for Riak workloads. See the Basho leveldb wiki for a breakdown of the optimisations.

No further work on optimising the underlying store is currently being undertaken, only minimal fixes necessary for platform compatability.

As an alternative, elrang bindings to RocksDB can be found as part of the BarrellDB project. For Riak-like workloads, especially with large objects, the pure-Erlang Leveled store is also available.

Iterating Records

High-level Iterator Interface

The interface that most clients of eleveldb should use when iterating over a set of records stored in leveldb is fold, since this fits nicely with the Erlang way of doing things.

For those who need more control over the process of iterating over records, you can use direct iterator actions. Use them with great care.

Direct Iterator Actions

seek/next/prev

  • seek: Move iterator to a new position.

  • next: Move forward one position and return the value; do nothing else.

  • prev: Move backward one position and return the value; do nothing else.

prefetc/prefetch_stop

  • prefetch: Perform a next action and then start a parallel call for the subsequent next while Erlang processes the current next. The subsequent prefetch may return immediately with the value already retrieved.

  • prefetch_stop: Stop a sequence of prefetch calls. If there is a parallel prefetch pending, cancel it, since we are about to move the pointer.

Warning

Either use prefetch/prefetch_stop or next/prev. Do not intermix prefetch and next/prev. You must prefetch_stop after one or more prefetch operations before using any of the other operations (seek, next, prev).

About

Erlang LevelDB API

Resources

Readme
Activity
Custom properties

Stars

265 stars

Watchers

89 watching

Forks

175 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.