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

Resource hardening #5160

Open
3 tasks
lemmih opened this issue Jan 20, 2025 · 1 comment
Open
3 tasks

Resource hardening #5160

lemmih opened this issue Jan 20, 2025 · 1 comment
Assignees
Labels
Type: Epic A feature or collection of issues that achieve a greater goal

Comments

@lemmih
Copy link
Contributor

lemmih commented Jan 20, 2025

Summary

Executing Filecoin transactions are computationally expensive, caches are vital for performance but eat up memory, we rely on the p2p swarm but any individual peer may be unreliable. As of writing, Forest does not have any clear bounds on computation, memory, or network usage.

Motivation

Forest operators would benefit from clear requirements. Additionally, having bounded requirements is essential for security and resisting attacks.

Tasks

  • Enumerate all caches, justify their size, and minimize if possible.
  • Decouple the swarm from the execution layer.
  • Make sure only validated data is comitted to the database.

Risks & Dependencies

Additional Links & Resources

Related: #2469

@lemmih lemmih added the Type: Epic A feature or collection of issues that achieve a greater goal label Jan 20, 2025
@lemmih lemmih self-assigned this Jan 20, 2025
@elmattic
Copy link
Contributor

This might also be somewhat related #2469.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Epic A feature or collection of issues that achieve a greater goal
Projects
None yet
Development

No branches or pull requests

2 participants