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

[www] Add caching for Inventory command #14

Closed
marcopeereboom opened this issue Sep 13, 2017 · 0 comments
Closed

[www] Add caching for Inventory command #14

marcopeereboom opened this issue Sep 13, 2017 · 0 comments
Assignees
Labels
enhancement The issue enhances an existing feature.

Comments

@marcopeereboom
Copy link
Member

The politeiad Inventory command is very expensive time and bandwidth wise. We, therefore, need to cache proposal records at start-of-day. At this time we should shoot for an implementation that fires off the Inventory command and then places the vetted and unvetted branches in memory use a map with the censorship token as the key). Currently, the Inventory call does not filter and will always reply with everything it has. That is a separate issue that will be addressed once we get the code to work.

Let's not cache to disk yet because reconcile code is always hard.

@marcopeereboom marcopeereboom added enhancement The issue enhances an existing feature. help wanted labels Sep 13, 2017
vibros68 pushed a commit to vibros68/politeia that referenced this issue Aug 17, 2021
* Add Link component

* Add tests
vibros68 pushed a commit to vibros68/politeia that referenced this issue Aug 17, 2021
* Add proposalFind component

* Add prop-types package

* Split Routes and App components

* Wrap component with `withRouter` to enable the automatic NavLink active class
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement The issue enhances an existing feature.
Projects
None yet
Development

No branches or pull requests

2 participants