in reply to Re: Still excessively slow
in thread Still excessively slow

I know I said recently, several times, that PerlMonks was easily accessible after several attempts to fix it, and many honest thank yous to Corion and everyone involved. But it seems to me that as it is now, it has degraded since then. OTOH it is much much better than when the problem peaked (and my current post had no timeout unlike other recent posts). But still it times-out quite often. Perhaps it is what I said before that if indeed the problem is caused by (decentralised) bots then they will take all available space if it is given to them by these improvements. So perhaps this is what we see, bots upping up the tempo because they found extra harvesting-bandwidth which PerlMonks itself has given them.

I understand that Perlmonk's version of the Everything Engine is a big hurdle in changing the Perlmonks code, and that it is hard to harden it against DDoS. I've accidentally hidden a - hopefully simple - proposal to keep the unwanted, misbehaving bots away from the EE in Re^2: Taking advantage of E2 improvements.

It boils down to avoiding passing bot requests to the EE by becoming even more unfriendly to anonymous users than Perlmonks is now.

Again, I'm aware that this is not friendly to anonymous users. But if Perlmonks keeps being DDoS-ed by bots, it won't matter, because nobody will be here any more.

Alexander

--
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)

Replies are listed 'Best First'.
Re^3: Still excessively slow
by roho (Bishop) on Jan 18, 2026 at 05:52 UTC
    Again, I'm aware that this is not friendly to anonymous users. But if Perlmonks keeps being DDoS-ed by bots, it won't matter, because nobody will be here any more.

    I agree with afoken. No one will come to this site when they have to wait minutes (sometimes many minutes) between requests.

    "It's not how hard you work, it's how much you get done."

Re^3: Still excessively slow
by LanX (Saint) on Jan 19, 2026 at 13:25 UTC
    > Prevent all anonymous access to the Perlmonks code running on the EE

    I think that summarizes what I suggested here Re^8: Perlmonks site has become far too slow (Reverse Proxies).

    Using nginx reverse proxies with rules to only pass thru logged in users (or yet uncached requests) and alternatively serving static content to anonymous clients (or blocking them if needed).

    The EE can flag updated content such that nginx would update it's cache automatically.¹

    Looks like an out-of-the box solution for me which can easily scale.

    Nginx would grow it's cache gradually and carry the bot load while keeping the logged in users operational.

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    see Wikisyntax for the Monastery

    ¹) That's the only change we would need at the backend which can be implemented and improved gradually.

Re^3: Still excessively slow
by Anonymous Monk on Jan 18, 2026 at 07:33 UTC
    > It boils down to avoiding passing bot requests to the EE by becoming even more unfriendly to anonymous users than Perlmonks is now.

    No need to ruin the perlmonks to save perlmonks! Anubis saved nitter and it can save perlmonks too! C'mon guys it's not that hard...