Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Trac Trac
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Legacy
  • TracTrac
  • Issues
  • #23110

Closed (moved)
(moved)
Open
Created Aug 04, 2017 by George Kadianakis@asn

prop224: Rate limit HS descriptor reuploads

prop224 services currently re-upload their HS descriptor everytime they receive new dir info (descriptors) if they are close to 100% visibility of the network.

This is done to make sure we always publish to the right HSDir nodes, but it could also lead to uploading lots of descriptors in a small time frame.

A good fix for this would be to cache the previous set of responsible HSDirs (maybe on the desc), and avoid reuploading the same descriptor if the set of HSDirs is the same even if we received new dirinfo.

Also we should probably add a cache to avoid publishing the same descriptor multiple times in a small timeframe anyway.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking