Open Ameobea opened 8 years ago
✓ Calculate averages/momentums with larger scales less often.
Possibly set code to determine when momentums even need to even be calculated.
Set up sharding for mongoDB to allow for higher performance OR Create an entirely separate database for old data/data of a different type.
Setup automated data backups for all databases.
Add an archival database for old data that is infrequently accessed. Perhaps convert old data to a format such as hour time formats etc.
you can use - [ ]
to make checkboxes in markdown
✓ Reduce the amount of smas calculated to only calculate if the core algorithm has need of them.
Do anything possible to reduce the amount of queries made to the database.
Optimize the database by indexing the collections in ways that improve performance.