1gatling now supports some anti denial of service code.
2
3You can set a limit of how often each IP can request files from gatling
4per minute.  gatling will then keep book about which IPs had how many
5requests in the last minute, and if someone exceeds that limit, they
6will only be allowed back in if they did not request anything for a
7whole minute.
8
9If someone gets caught at DOSsing you, their connection will be
10tarpitted.  If gatling is run in no-timeout mode, the connection is
11dropped immediately instead.  The idea behind the tarpit is to stop
12accidental flooding (if we drop the connection, we might make an
13accidental flood worse due to immediate retry).  On the down side the
14tarpit allows others to consume resources on our box.  So it is still a
15denial of service on our resources if someone opens a lot of connections
16against us, because the state for the connections wastes our memory.
17