godevops.net

GoDevOps

Menu

Skip to content
  • Home
  • Whoami

Month: June 2015

Adding random delay for specific HTTP Requests with HAProxy + Lua

Posted on 24. June 201514. August 2016 by Bjoern 4 Comments

Lately, i wanted to delay specific http requests and i wanted to have a random delay for every of these requests (for example in a range from 1000ms to 2000ms). One possible use case was to absorb and slow down traffic bursts that came from bots/crawlers/spiders or abusers (bad behavior clients in general). I’ve classified […]

Recent Posts

  • Enable TLSv1 in HAProxy on Ubuntu 20.04
  • Prefiltering log events with rsyslog to greatly reduce fail2ban CPU load
  • HAProxy High Availability using RHI, Quagga and OSPF
  • Testing new HAProxy versions with some sort of A/B Testing
  • Adding random delay for specific HTTP Requests with HAProxy + Lua

Recent Comments

  • HAProxy – Slowing down abuse with user friendly rate controls | Billus – Tech Blog on Adding random delay for specific HTTP Requests with HAProxy + Lua
  • Thomas Mangin on HAProxy High Availability using RHI, Quagga and OSPF
  • Bjoern on Adding random delay for specific HTTP Requests with HAProxy + Lua
  • Bjoern on Adding random delay for specific HTTP Requests with HAProxy + Lua
  • venkat on Adding random delay for specific HTTP Requests with HAProxy + Lua

Archives

  • June 2020
  • November 2016
  • August 2016
  • September 2015
  • June 2015
  • April 2015

Categories

  • HAProxy
  • Networking

Tags

anycast bird cisco cpu load cpu usage ecmp exabgp fail2ban gobgp haproxy keepalived logging monit multihoming ospf performance quagga redundancy RHI route health injection rsyslog service healthcheck syslog tuning vrrp zero downtime maintenance
  • Home
  • Whoami