In this post I propose that the software development community should work on developing and then standardising security-related libraries that focus on what the developer is trying to achieve.
It is not possible to fully mitigate the risk of a denial of service attack affecting your service, but there are some practical steps that will help you be prepared to respond, in the event your service is subjected to an attack.