Skip to content

gophergala/echodb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EchoDB

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

Install

mkdir echodb
cd echodb
export GOPATH=`pwd`
go get github.com/gophergala/echodb
cd src/github.com/gophergala/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

Dependencies

go get github.com/justinas/alice
go get github.com/gorilla/mux
go get github.com/gorilla/websocket

Database API

Database.Create(collectionName)
Database.Get(collectionName)
Database.Delete(collectionName)

Collection.FindById(id)
Collection.All()
Collection.Read(id)
Collection.Delete(id)
Collection.Update(id, payload)

Current status

Highly experimental

About

NoSQL on wire

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •