Redis Post Views

Redis Post Views Install Statistics

0
100%
Today: 0 Yesterday: 0 All-time: 1,105 downloads
Redis Post Views Icon

Try plugin: Redis Post Views

We'll create fresh WordPress site with Redis Post Views installed. You have 20 minutes to test the plugin after that site we'll be deleted.

Takes ~10 seconds to install.

About Redis Post Views

Highly optimized post views counter using Redis

0


0


0


0


0

updated: 6 years ago
since: 6 years ago
author: Razvan Stanga

Description

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.