Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Simple, transparent, object persistence for NodeJS.
JavaScript
tree: ff7a77b45b

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.settings
docs
examples
lib
test
.project
AUTHORS
LICENSE
Makefile
README.md
package.json
push.sh

README.md

BarricaneDB

Alpha development. Does NOT yet work yet.

BarricaneDB is a loose implementation of the Prevalence System Design Pattern, as implemented in Java by Prevaylor, but for NodeJS.

BarricaneDB is really just an ultra-simple persistance layer for a single process. It can persist your application's model without any explicit 'save' commands. Every Javascript x.y = "foo"; (on registered instances) causes asynchronous persistance to disk.

See the examples for how easy it is to get started.

Installation

  • Package not available yet - will be npm install barricane-db

Reasons why BarricaneDB will never be a good fit for your application.

  • Your data set is too big to fit in RAM.
  • Your application needs ACID guarantees. BarricaneDB could loose 1-5 seconds of data on a process crash (OS dependent).
  • Your application doesn't happily shard into BarricaneDB's one-DB-per-process design.
  • You need to query your database from outside the NodeJS process - e.g. Crystal Reports.

Reasons why BarricaneDB is not currently a good fit.

  • Your application needs a production-tested solution.
  • You need good error handling.
  • You need async database opening (persistence is already fully async).
  • Transactions are important to you.
Something went wrong with that request. Please try again.