decentraland / decentraland/catalyst
Create periodically total snapshots for some types
Open
- Dominant language
- TypeScript
- Stars
- 52
- Forks
- 56
- Avg merge
- 5m
- Merged PRs (30d)
- 1
Description
Currently, a Catalyst creates total snapshots for every type only once at startup. We need to update them periodically (daily maybe) in a somehow efficient way for each one except `profiles`.
One potential solution:
Go through all the partial snapshots and grep lines by type and write to different files excluding profiles. This will avoid querying the database.
Pseudocode:
```cat aPartialSnapshot | grep "type: 'aType'" >> aTypeSnapshot```
Contributor guide
Assessment
This issue has not been assessed yet.