Arc Forumnew | comments | leaders | submitlogin
srv.arc now behaves properly from behind apache
7 points by akkartik 4697 days ago | discuss
After struggling with performance for weeks I realized what the problem was: arc saw all traffic to be coming from the same IP address, and that IP address (localhost) was running afoul of its abusive-ip rules and getting throttled. Result: 1 request every 10s.

Here's a fix on anarki:

Abuse detection happens later than it used to -- srv.arc has to parse headers before deciding an IP address is abusive -- so you'll be wasting performance if you run directly on port 80.

This gotcha has been discussed before:,

If you use this patch, you can watch it in action:

  arc> (set show-requests*)
  arc> (set show-abuse*)