Home  >  Article  >  Backend Development  >  Could you please tell me how the hot topic rankings on Weibo and Baidu Tieba are generated?

Could you please tell me how the hot topic rankings on Weibo and Baidu Tieba are generated?

WBOY
WBOYOriginal
2016-10-19 10:18:551173browse

Could you please tell me how the hot topic rankings on Weibo and Baidu Tieba are generated?

Weibo and Tieba are both high-concurrency websites built with PHP, one of the best in China. How did they come up with this hot topic ranking?
Currently I just want to use the Chinese word segmentation library to segment and collect statistics on the entire site content. However, such high-concurrency websites produce hundreds of millions of data every day. How can we solve the efficiency problem by using word segmentation? Or what other techniques did they use?

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn