Boosting Server Security: A Comprehensive Guide to Rate Limiting