andrewxhill / MOL

The Map of Life
mol.colorado.edu/
19 stars 4 forks source link

Layer model 2.0 #100

Closed eightysteele closed 13 years ago

eightysteele commented 13 years ago

I goofed. Modeling all LayerPolygon models as a StructuredProperty within a single LayerIndex entity isn't going to scale. The reason is that an entity has a limit of 5000 index entries. A layer with 8000 polygons wouldn't work.

Need to modify workflow so that LayerIndex entity stores 1 polygon (so 8000 or more LayerIndex entities instead of 8000 polygons per LayerIndex), which scales and is fast but requires slightly more disk space.