Fault-tolerrent "data-on-wire" NoSQL datastore written in 48hrs.
- Fault-tolerrant NoSQL [done]
- MMAP based datastore (mostly based on gommap and tiedot wrapper) [done]
- Hashtable based indexer (based on tiedot implementation) [done]
- Simple HTTP API to manage collections [done]
- Data on wire (using websocket) [almost done]
- Query Engine [Not Implemented]
- and yes, it's written in 48hrs during GopherGala 2015
mkdir echodb
cd echodb
export GOPATH=`pwd`
go get github.com/iapain/echodb
cd src/github.com/iapain/echodb/
go run main.go
You may also run it from binary but you need to copy todoapp in bin folder
There is a sample todo app at http://localhost:8001/client [try it in two browser sessions]
HTTP server runs at http://localhost:8001 please see server.go
go get github.com/justinas/alice
go get github.com/gorilla/mux
go get github.com/gorilla/websocket
Database.Create(collectionName)
Database.Get(collectionName)
Database.Delete(collectionName)
Collection.FindById(id)
Collection.All()
Collection.Read(id)
Collection.Delete(id)
Collection.Update(id, payload)
Highly experimental