面向十亿级定时任务的个性化执行时间优化系统
Personalized Execution Time Optimization for Billion-Scale Scheduled Jobs
一套每日服务数十亿用户的已部署系统,将 learning-to-rank 与“最佳时间策略”结合用于定时批处理任务的执行时间选择,并经历从高峰时段启发式规则、pointwise ML 活跃模式预测、全局固定权重线性信号组合到上下文集成学习器的四阶段演进。系统还发现跨用例的相互蚕食效应并引入协调机制加以缓解,生产实验显示执行效率与下游产品影响均有可测提升。
arXiv:2203.06158v4 Announce Type: replace Abstract: Scheduled batch jobs are widely used on asynchronous computing platforms to execute enterprise applications such as promotional notifications and candidate pre-computation for recommender systems. Delivering or updating information at the right time is important for user experience and execution impact, yet providing a versatile, personalized execution time optimization solution across diverse product scenarios while maintaining reasonable infrastructure costs remains challenging. In this paper, we present a deployed system that serves billions of users daily, combining learning-to-rank with a "best time policy" for execution time selection. We describe the four-stage evolution of our approach: from heuristic peak-hour rules, to pointwise ML-based activity pattern predictions, to a linear signal assembler with globally fixed weights, and finally to a contextual ensemble learner that produces per-user adaptive fusion weights via a neural policy network trained with listwise learning-to-rank objectives. We further report the discovery of cross-use-case cannibalization effects and introduce a coordination system to mitigate the problem. Our production experiments demonstrate measurable improvements in both execution efficiency and downstream product impact. We share deployment lessons including failure analyses and design decisions accumulated over four years of operating this system at scale. To our knowledge, this represents the first ML-based multi-tenant execution time optimization system deployed across different product domains at industrial scale.
来源:arXiv (AI + Vision + Imaging) · arxiv.org