plugin-icon

Redis Post Views

作者:Razvan Stanga·
Highly optimized post views counter using Redis
版本
1.7
活跃安装
10
最后更新
Jul 27, 2018
Redis Post Views

Imagine a high traffic website that needs post views as an algorithm to display posts on the homepage. This website also uses Varnish Caching. So we need an AJAX based post views counter. Now imagine a minimum 5000 concurrent users browsing the website, so we can’t use the default “AJAX in Plugins” as live updates on the backend using update_post_meta will be very painful for the backend.

So what can we do ?

What if all these post views counts will be done in memory using Redis ? Then we run a cornjob using WP-CLI to sync the post views count in Redis to the WordPress database.

Redis Post Views was born.

免费使用Business套餐
通过安装,您同意 WordPress.com 服务条款第三方插件条款
目前已测试版本
WordPress 4.9.28
这个插件是可用的下载,适用于您的站点。