• Resolved thyagonet88

    (@thyagonet88)


    Do you have support REDIS save update statistics in REDIS ? I’m using Google Analytics.
    My client like visual Statistic AdRotate. I’m client AdRotate Pro.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Arnan de Gans

    (@adegans)

    I’m not sure what you mean, but no AdRotate does not support redis. It just uses the same database stuff as WordPress does.
    If you have some conversion layer to have wpdb talk to redis that’ll probably work.

    Thread Starter thyagonet88

    (@thyagonet88)

    In WordPress, utilizing Redis for insert/update operations with a 1-minute TTL via a crontab job can enhance efficiency. Here’s a simplified overview of the process:

    1. Redis Configuration: Set up Redis as an in-memory cache for WordPress. This can be done using plugins like Redis Object Cache or by custom configuration.
    2. Insert/Update with TTL: When inserting or updating data in WordPress, store the data in Redis with a 1-minute TTL (Time To Live). This ensures the data is available temporarily for fast retrieval.
    3. Crontab Job: Create a scheduled crontab job that runs every 30 seconds. This job is responsible for fetching data from Redis that has not expired (still within the 1-minute TTL window).
    4. Data Retrieval: In the crontab job, retrieve relevant data from Redis. This data can be aggregated, processed, or prepared for insertion into MySQL.
    5. MySQL Insertion: Insert the processed data into the MySQL database. This can be done efficiently since the data is preprocessed and ready for insertion.
    6. Lightweight Statistics: By using Redis as an intermediate cache, you reduce the load on your MySQL database. Frequent, resource-intensive operations are offloaded to Redis, making your statistics system more lightweight and responsive.

    This approach leverages Redis for caching and offloading real-time data processing, resulting in a more efficient and responsive statistics system in WordPress.

    Plugin Author Arnan de Gans

    (@adegans)

    Right, well as I said, if you have a system that does that through wpdb that should work.
    AdRotate has no dedicated support for Redis, nor did I ever see a plugin that handles that on its own.

    Thread Starter thyagonet88

    (@thyagonet88)

    In this plugin insert/update:

    https://wordpress.org/support/topic/do-you-want-to-support-google-analytics-or-redis/

    Is WPDB a WordPress plugin or function? Thanks for the answers!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Support REDIS Cache’ is closed to new replies.