• koavf
    link
    fedilink
    arrow-up
    28
    ·
    5 years ago

    Did you ever determine if it was a denial of service attack or just an influx from Hacker News (hi!)

    • DessalinesOPMA
      link
      fedilink
      arrow-up
      14
      ·
      5 years ago

      Seemed to be a combination, we don’t have any major monitoring set up, but looking at our nginx logs, it was 55k requests in a short period of time. We posted to reddit a few weeks ago and hit the front page of some linux / OSS related subs, but the server held up fine.

      Luckily adding an nginx rate limiter fixed most of the issues, as the problem wasn’t with rust, but with some clients w/o caching (IE bots of some kind), requesting all the files constantly.

        • DessalinesOPMA
          link
          fedilink
          arrow-up
          3
          ·
          5 years ago

          Limiter? I think we have 10 posts per hour, 2 communities / sign-ups per hour.

    • Volodymyr
      link
      fedilink
      arrow-up
      10
      ·
      5 years ago

      That’s why I came here anyway. Or maybe DDOS was also attracted by the sudden exposure on HN?

    • Hal
      link
      fedilink
      arrow-up
      8
      ·
      5 years ago

      Ahh… the Hacker News hug…