attic-labs / noms

The versioned, forkable, syncable database
Apache License 2.0
7.44k stars 266 forks source link

NBS: Read Dynamo lazily when opening tables #3607

Closed cmasone-attic closed 7 years ago

cmasone-attic commented 7 years ago

The current code eagerly checks dynamo to see if the small table is in there, even though there are many cases when we probably don't ever need to read the table at all (when the index is cached already, for example)

This is a source of significant inefficiency and load. fix it fixit FixitFixItFIXIT

FYI @rafael-atticlabs