TickDB is a database for recording and querying time series data.
- Built-in HTTP API
- Indexing for group(second, minute, day ...)
- Easy to install and run
go get github.com/vimrus/tickdb
curl -XPUT 'http://localhost:9527/testdb'
curl -XPOST 'http://localhost:9527/testdb' -d '[
{"index":"index1", "time":"2016-08-28T21:24:00Z", "value":{"open": 10.1, "close": 10.2}}
]'
curl 'http://localhost:9527/testdb/index1/open/2016-08-28T21:24:00Z'
curl http://localhost:9527/testdb/_query -d '
{
"index": "index1",
"from":"2016-08-00T08:00:00Z",
"to":"2016-08-31T18:00:59Z",
"group": "2minutes",
"fields":{
"open": {"reducer":"avg"}
}
}'
curl -XDELETE "http://localhost:9527/testdb/index1" -d '
{
"from":"2016-08-00T08:00:00Z",
"to":"2016-08-31T18:00:59Z"
}'