Putting a two-layered recommendation system into production