跳到内容

Redis Post Views

v1.7

Razvan Stanga · 2018年7月27日 上架

Highly optimized post views counter using Redis

正在使用
10+
评分
暂无
累计下载
1,969
最近更新
2018年7月27日
需要 WordPress 4.5+已测试到 4.9.36PHP 5.2.4+

贡献者

截图

Statistics admin panel
Statistics admin panel
Posts queue admin panel
Posts queue admin panel
Configuration info admin panel
Configuration info admin panel

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.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums