From 1c6267beba4e7fcd8c9c1d3fa4c638b751f96594 Mon Sep 17 00:00:00 2001 From: Josh Baker Date: Tue, 19 Jul 2016 15:23:14 -0700 Subject: [PATCH 1/3] typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f6f115d..e2ee53f 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ Features - In-memory database for [fast reads and writes](https://github.com/tidwall/raft-boltdb#benchmarks) - Embeddable with a [simple API](https://godoc.org/github.com/tidwall/buntdb) - [Spatial indexing](#spatial-indexes) for up to 4 dimensions; Useful for Geospatial data -- - Create [custom indexes](#custom-indexes) for any data type +- Create [custom indexes](#custom-indexes) for any data type - [Built-in types](#built-in-types) that are easy to get up & running; String, Uint, Int, Float - Flexible [iteration](#iterating) of data; ascending, descending, and ranges - Durable append-only file format. Adopts the [Redis AOF](http://redis.io/topics/persistence) process From a0b38686b14c10593632a5c681b80746e45afd57 Mon Sep 17 00:00:00 2001 From: Josh Baker Date: Tue, 19 Jul 2016 16:50:21 -0700 Subject: [PATCH 2/3] updated readme --- README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/README.md b/README.md index e2ee53f..04ab2b1 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ Features - Flexible [iteration](#iterating) of data; ascending, descending, and ranges - Durable append-only file format. Adopts the [Redis AOF](http://redis.io/topics/persistence) process - Option to evict old items with an [expiration](#data-expiration) TTL -- Tight codebase, under 1K loc using the `cloc` command. +- Tight codebase, under 1K loc using the `cloc` command - ACID semantics with locking [transactions](#transactions) that support rollbacks Getting Started @@ -79,8 +79,6 @@ func main() { } ``` -It's important to note that BuntDB does not currently support file locking, so avoid accessing the database from multiple processes. - ## Transactions All reads and writes must be performed from inside a transaction. BuntDB can have one write transaction opened at a time, but can have many concurrent read transactions. Each transaction maintains a stable view of the database. In other words, once a transaction has begun, the data for that transaction cannot be changed by other transactions. From 373e6ff36e1503ad00c8da4e51e2d380ef7b6c42 Mon Sep 17 00:00:00 2001 From: Jacob Haslehurst Date: Wed, 20 Jul 2016 18:20:28 +1000 Subject: [PATCH 3/3] typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 04ab2b1..3ce348a 100644 --- a/README.md +++ b/README.md @@ -254,7 +254,7 @@ user:4:name 63 ``` ### Spatial Indexes -BuntDB has support for spatial indexes by storing rectangles in an [R-tree](https://en.wikipedia.org/wiki/R-tree). An R-tree is organized in a similar manner as a [B-tree](https://en.wikipedia.org/wiki/B-tree), and both are balanaced trees. But, an R-tree is special because it can operate on data that is in multiple dimensions. This is super handy for Geospatial applications. +BuntDB has support for spatial indexes by storing rectangles in an [R-tree](https://en.wikipedia.org/wiki/R-tree). An R-tree is organized in a similar manner as a [B-tree](https://en.wikipedia.org/wiki/B-tree), and both are balanced trees. But, an R-tree is special because it can operate on data that is in multiple dimensions. This is super handy for Geospatial applications. To create a spatial index use the `CreateSpatialIndex` function: