nasa / gesdisc-meditor

MIT License
7 stars 2 forks source link

Address Scalability with Document Immutability #27

Open benforshey opened 1 year ago

benforshey commented 1 year ago

Right now, a Model is stored in its own collection and all document versions are stored with it (deleted, past revisions, etc). This means that all document operations sort and filter in a way that hurts performance at scale. We could store those document versions in a {ModelName}-History collection instead.