VK news recommendation system daily select interesting publication n disjoint category user each publication belong exactly category for category batch algorithm select a_i publicationsthe late AB test suggest user read recommend publication actively category different number publication daily recommendation the target algorithm find single interesting publication ith category t_i second what minimum total time necessary add publication result batch algorithm execution category different number publication you can not remove publication recommend batch algorithm