My web app runs on AWS Ec2. I am throttling requests in my servlet doPost() based on various parameters following Protect yourself against Dos attacks answer.
How do I throttle requests before it gets to my servlet?
Maybe based on IP (or) based on tps at load balancer level.