Adaptive algorithms for efficient content management in social network services