user/dev discussion of public-inbox itself
 help / color / mirror / code / Atom feed
From: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
To: Eric Wong <e@80x24.org>
Cc: meta@public-inbox.org
Subject: Re: [PATCH] listener: don't set listen backlog on inherited sockets
Date: Wed, 5 Mar 2025 11:54:28 -0500	[thread overview]
Message-ID: <20250305-flying-striped-asp-adcf19@lemur> (raw)
In-Reply-To: <20250305004536.M405691@dcvr>

On Wed, Mar 05, 2025 at 12:45:36AM +0000, Eric Wong wrote:
> Eric Wong <e@80x24.org> wrote:
> > I wonder if prioritizing certain User-Agents (e.g. curl, w3m,
> > anything with non-Anroid "Linux" in it) would be a quick fix in
> > haproxy||nginx.
> 
> This seems like a long overdue change to allow certain listen
> sockets to handle more traffic than others.

That's a neat trick, but not quite what I was looking for. It's not that we're
not able to handle the number of connections -- public-inbox-httpd is actually
really good at it. In fact, when I migrated things to EL9, I managed to mess
up my configuration and ran lore for a few months without -W8, and even then
everything mostly worked amazingly well. :)

However, we do generate a lot of traffic and unnecessary cpu churn just to
train someone's LLM. I don't care about the training part (well, I do, but I
can't do anything about it), but doing it over the web when they can just
clone the underlying repositories is the stupidest way to do it.

So, when musing about the gemini view, I was really just thinking of ways to
reduce the dumb AI bots while still giving unrestricted access to anyone else
with a gemini client.

That said, I will play with this change, as this will for sure let me
prioritize b4/curl traffic over anything that identifies itself as a browser.

Thanks!

-K


  reply	other threads:[~2025-03-05 16:54 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-04 19:44 Gemini protocol view? Konstantin Ryabitsev
2025-03-04 22:14 ` Eric Wong
2025-03-05  0:45   ` [PATCH] listener: don't set listen backlog on inherited sockets Eric Wong
2025-03-05 16:54     ` Konstantin Ryabitsev [this message]
2025-03-07 21:25   ` Gemini protocol view? Eric Wong
2025-03-11 19:26     ` Eric Wong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://public-inbox.org/README

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250305-flying-striped-asp-adcf19@lemur \
    --to=konstantin@linuxfoundation.org \
    --cc=e@80x24.org \
    --cc=meta@public-inbox.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/public-inbox.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).