DDoS Protection for Ecommerce and APIs: Edge and Origin