dynalite
A mock implementation of Amazon's DynamoDB, focussed on correctness and performance, and built on LevelDB
(well, @rvagg's awesome LevelUP to be precise).
All basic actions and validations have now been implemented, but there are still a number of issues (see below)
before this module should be considered for general use.
Example
var dynalite = require('dynalite')
dynalite.listen(4567, function(err) {
if (err) throw err
console.log('Dynalite started on port 4567')
})
TODO
- Add executable script
- Add config settings, especially for the table delays and strict checking
- Allow for different persistence types (LevelDOWN-Hyper, etc)
- Use efficient range scans for Query calls
- Implement
ReturnConsumedCapacity
/ConsumedCapacity
/ReturnItemCollectionMetrics
on all relevant endpoints (nearly done!) - Check for any missing
ExclusiveStartKey
/LastEvaluatedKey
functionality (most should be fine) - Implement any outstanding secondary index behaviour