[tor-bugs] #33072 [Core Tor/Tor]: When under load, give 503 aggressively for dirport requests without compression

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Mar 18 12:30:23 UTC 2020


#33072: When under load, give 503 aggressively for dirport requests without
compression
-------------------------------------------------+-------------------------
 Reporter:  nickm                                |          Owner:  dgoulet
     Type:  defect                               |         Status:
                                                 |  needs_revision
 Priority:  Medium                               |      Milestone:  Tor:
                                                 |  0.4.4.x-final
Component:  Core Tor/Tor                         |        Version:
 Severity:  Normal                               |     Resolution:
 Keywords:  network-health 043-should consider-  |  Actual Points:
  backport-after-0434 042-backport 043-backport  |
Parent ID:  #33018                               |         Points:
 Reviewer:  teor                                 |        Sponsor:
-------------------------------------------------+-------------------------

Comment (by dgoulet):

 With this, and #33029, everything coming from dirauth and relays is served
 as in the authority ignores the write limit.

 So vote are _always_ served and anything coming from relays.

 Thus this patch only applies to client requests. If compressed, they are
 served but if not, we look at the write limit and send back 503. Before
 this, dirauth would just answer everything regardless of write limit.

 Is that sufficient or you still think we should prioritize. There is a
 challenge with prioritizing because that means we need to spool together
 the inbound requests and order it?

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/33072#comment:19>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list