You are building a URL shortening service that creates short links and redirects users to the original destination. The product also wants to detect abusive links, predict suspicious traffic, and optimize redirect handling using machine learning.
How would you design a URL shortening service?
ML retrieval and ranking for abuse detectionLow-latency model serving alongside a highly available redirect pathFeature freshness, drift, and delayed feedback loopsFallbacks when models or feature systems fail