top | item 4221892

(no title)

kelleyk | 13 years ago

I'd be curious to hear more about what they're actually doing (technically speaking). Is this a wrapper around kd-trees, R-trees, and their friends and relatives? Is it something fancier?

discuss

order

pron|13 years ago

The spatial index is an R-tree variant that doesn't degrade and allows concurrent writes (multiples writers at a time, let alone readers). Readers don't block writers and don't use locks, while writers lock a small subset of the database for atomic transactions (one of the most common operations we need to support is a "move" of an object from one location to another - that has to be atomic).

For parallelization of queries and transactions we use fork-join.

tintor|13 years ago

How do you do lock-free updates to the R-tree structure?