decentraland / decentraland/catalyst

Create periodically total snapshots for some types

Open
#1,440 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.