14
5
Fork
You've already forked techstack-support
0

Haproxy: Better rate limiting #4

Open
opened 2023年02月17日 16:50:34 +01:00 by fnetX · 0 comments
Owner
Copy link

Currently, there is some basic rate limiting on some HTTP backends in our HAproxy config.

There is also an open PR at Codeberg-Infrastructure/scripted-configuration#19 which shouldn't get stale and might be a good starting point, but no one in the team has yet picked up the ideas and investigate how this could be done.

Certain backends (e.g. Codeberg Pages) forward the encrypted TCP traffic into a container, so HTTP-based rate limiting is not an option.

It would be great if someone could pick up the task and help us investigate the traffic and provide patches to our rate limiting config, which reduces automated crawler traffic to a bare minimum, especially on heavy operations like generating code archives (while browsing issues etc should be mostly okay).

Currently, there is some basic rate limiting on some HTTP backends in our HAproxy config. There is also an open PR at https://codeberg.org/Codeberg-Infrastructure/scripted-configuration/pulls/19 which shouldn't get stale and might be a good starting point, but no one in the team has yet picked up the ideas and investigate how this could be done. Certain backends (e.g. Codeberg Pages) forward the encrypted TCP traffic into a container, so HTTP-based rate limiting is not an option. It would be great if someone could pick up the task and help us investigate the traffic and provide patches to our rate limiting config, which reduces automated crawler traffic to a bare minimum, especially on heavy operations like generating code archives (while browsing issues etc should be mostly okay).
Sign in to join this conversation.
No Branch/Tag specified
main
No results found.
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Codeberg-Infrastructure/techstack-support#4
Reference in a new issue
Codeberg-Infrastructure/techstack-support
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?