Skip to content

Persistent consensus / descriptor storage #8

@twilsonb

Description

@twilsonb

Consensus.getDirectoryStream() could save the consensus in a local "tor[-research-framework] data" directory, and then check for existing files before looking them up over the network.

This would reduce the load on the authorities, which are consulted at least once for each (often short) run.

Issues:

  • Filesystem Access / Java Sandbox
  • Selection of [default] shared directory: access/security, persistence, storage limits
  • /tmp won't do in many cases:
  • Windows users would need platform agnostic path
  • OS X sandbox provides per-process TMPDIRs (not shared)
  • Handling of stale documents

Gareth, did you have a preferred strategy for this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions