System Design: Rate Limiting and Traffic Shaping