Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • Pinging in to say that I had the exact same error in my production site , but im not noticing any issue regarding functionalities

    Thread Starter romancc

    (@romancc)

    It is located in a different server, so that might be the issue?

    Okay looking at some sources I should be looking at microseconds lol, I will have to check this out

    Its a different server and its over cloudlfare so that might be the bottleneck

    • This reply was modified 1 year, 1 month ago by romancc.
    • This reply was modified 1 year, 1 month ago by romancc.
    Thread Starter romancc

    (@romancc)

    I did a small latency script and set the redis port to my open port instead of using socat, and its still extremely slow.

    Redis PING response: PONG
    Round-trip time: 112.8 ms

    Checked the latency in the script while doing all the loadup which was laggy as hell and it was still in the 100ms. Its weird. Right now I dont have much more to say, will investigate a bit more but yeah running out of ideas. Its not critical for my site but would have been nice for it to work. I might give valkey a try

    Thread Starter romancc

    (@romancc)

    redis-cli --latency
    min: 0, max: 1, avg: 0.18 (1819 samples)^C
    Thread Starter romancc

    (@romancc)

    And this is me with only redis cache active, first I did open quite some products , then waited a bit, and opened them again

    View post on imgur.com

    Thread Starter romancc

    (@romancc)

    This is me basically flushing the cache and opening a ton of products (500) This is with breeze cache enabled + redis cache enabled. This means that seems that breeze takes over after the first load, and then they load fast.

    View post on imgur.com

    With just breeze enabled (after flushing cache of breeze too) , the site loads a lot faster even tho it has to generate the cache again.

    With breeze disabled, and redis object cache enabled after a cleanup of all cache, and attempting the same flow of opening a lot of products, the site barely works, I see some very light CPU usage on my server at that point, the ram doesnt grow, and upon reloading the same pages, its still extremely slow

    There is a small spike tho in this case

    View post on imgur.com

    Thread Starter romancc

    (@romancc)

    For some more info this is my redis config


    1) "maxmemory"
    2) "2147483648"

    1) "maxmemory-policy"
    2) "allkeys-lru"

    1) "save"
    2) ""

    1) "appendonly"
    2) "no"

    Which pretty much allocates 2gb of ram, evicts least recently keys, no snapshots, and no aof persistance.

    Seems like an okish setup for a woocommerce store.

    Thread Starter romancc

    (@romancc)

    Sure

    redis-cli --pass 'xxxx' SLOWLOG GET 30
    (empty array)

    redis-cli --pass 'xxxxxxx' INFO commandstats
    # Commandstats
    cmdstat_flushdb:calls=12,usec=12238,usec_per_call=1019.83
    cmdstat_config:calls=2,usec=47,usec_per_call=23.50
    cmdstat_zadd:calls=652,usec=17966,usec_per_call=27.56
    cmdstat_mget:calls=6403,usec=92145,usec_per_call=14.39
    cmdstat_info:calls=801,usec=99619,usec_per_call=124.37
    cmdstat_zrangebyscore:calls=22,usec=2055,usec_per_call=93.41
    cmdstat_del:calls=461,usec=3041,usec_per_call=6.60
    cmdstat_get:calls=137067,usec=1672923,usec_per_call=12.21
    cmdstat_zremrangebyscore:calls=4,usec=425,usec_per_call=106.25
    cmdstat_set:calls=13211,usec=105796,usec_per_call=8.01
    cmdstat_auth:calls=866,usec=12492,usec_per_call=14.42
    cmdstat_monitor:calls=3,usec=5,usec_per_call=1.67
    cmdstat_dbsize:calls=2,usec=5,usec_per_call=2.50
    cmdstat_flushall:calls=3,usec=2749,usec_per_call=916.33
    cmdstat_command:calls=2,usec=1950,usec_per_call=975.00
    cmdstat_slowlog:calls=1,usec=6,usec_per_call=6.00
    cmdstat_ttl:calls=4,usec=49,usec_per_call=12.25
    cmdstat_zcount:calls=15,usec=240,usec_per_call=16.00
    cmdstat_select:calls=721,usec=2327,usec_per_call=3.23
    cmdstat_setex:calls=2354,usec=28324,usec_per_call=12.03
    cmdstat_scan:calls=39,usec=698,usec_per_call=17.90
    cmdstat_ping:calls=685,usec=990,usec_per_call=1.45

    redis-cli --pass 'xxxx' INFO stats
    # Stats
    total_connections_received:874
    total_commands_processed:163497
    instantaneous_ops_per_sec:0
    total_net_input_bytes:191714687
    total_net_output_bytes:1273827618
    instantaneous_input_kbps:0.00
    instantaneous_output_kbps:0.00
    rejected_connections:0
    sync_full:0
    sync_partial_ok:0
    sync_partial_err:0
    expired_keys:218
    expired_stale_perc:0.00
    expired_time_cap_reached_count:0
    expire_cycle_cpu_milliseconds:2185
    evicted_keys:0
    keyspace_hits:57733
    keyspace_misses:105535
    pubsub_channels:0
    pubsub_patterns:0
    latest_fork_usec:0
    migrate_cached_sockets:0
    slave_expires_tracked_keys:0
    active_defrag_hits:0
    active_defrag_misses:0
    active_defrag_key_hits:0
    active_defrag_key_misses:0
    tracking_total_keys:0
    tracking_total_items:0
    tracking_total_prefixes:0
    unexpected_error_replies:0
    total_reads_processed:178329
    total_writes_processed:164258
    io_threaded_reads_processed:0
    io_threaded_writes_processed:0

    Seems that its not hitting anything there but its weird, because with MONITOR this is for example me navigating to a blog, and its logged live

    1743188693.448676 [0 127.0.0.1:35474] "SELECT" "0"
    1743188693.480580 [0 127.0.0.1:35474] "PING"
    1743188693.511927 [0 127.0.0.1:35474] "INFO"
    1743188693.546815 [0 127.0.0.1:35474] "GET" "wp:default:is_blog_installed"
    1743188693.598313 [0 127.0.0.1:35474] "GET" "wp:options:alloptions"
    1743188693.804184 [0 127.0.0.1:35474] "GET" "wp:site-options:1-notoptions"

Viewing 8 replies - 1 through 8 (of 8 total)