Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor mongo schemas #16

Open
iquidus opened this issue Apr 2, 2021 · 1 comment
Open

refactor mongo schemas #16

iquidus opened this issue Apr 2, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@iquidus
Copy link
Collaborator

iquidus commented Apr 2, 2021

some refactoring of schemas could potentially improve performance.

for example, adding txn trace to the txn itself (even if duplicated).
adding txns in full to blocks (even if duplicated)

approach from a query perspective. minimize queries even if it requires duplicating data in mongo, storage is a cheap price to pay for faster responses/load times.

@iquidus
Copy link
Collaborator Author

iquidus commented Apr 2, 2021

The heavy lifting should be on write, once, by the crawler, not on read, everytime.

@iquidus iquidus added the enhancement New feature or request label Apr 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant