• Resolved radorp2p

    (@radorp2p)


    I currently have a max TTL of a week. When I check Redis stats, used memory is around 20mb while max memory is 122mb (128mb). Based on this, should I decrease my TTL? How does it affect performance?

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Till Krüss

    (@tillkruess)

    Yeah, you can bump your TTL a bit, but your WP site might not have enough data to cache in it ??

    Thread Starter radorp2p

    (@radorp2p)

    Didn’t understand what you meant. Should I increase or decrease max TTL?

    Plugin Author Till Krüss

    (@tillkruess)

    You can increase it if you want and see what happens.

    Thread Starter radorp2p

    (@radorp2p)

    Thanks. Last question: If I lower my 604800 max TTL to 86400, would it improve or worsen page load time / performance?

    Plugin Author Till Krüss

    (@tillkruess)

    That depends on your traffic. Likely no difference. Play with it.

    Thread Starter radorp2p

    (@radorp2p)

    I have around 10k daily traffic. Should I use low or high max TTL? I could not really find any explanatory information on max TTL.

    Plugin Author Till Krüss

    (@tillkruess)

    You’ll have to find the ideal configuration yourself based on your Redis Server max memory.

    Thread Starter radorp2p

    (@radorp2p)

    You never give a clear answer lol

    Plugin Author Till Krüss

    (@tillkruess)

    MaxTTL is highly dependent on your setup, I can’t provide you with a clear answer.

    Thread Starter radorp2p

    (@radorp2p)

    It was like this: When my max TTL was 604800.

    # Memory
    used_memory:19640320
    used_memory_human:18.73M
    used_memory_rss:13844480
    used_memory_rss_human:13.20M
    used_memory_peak:30129928
    used_memory_peak_human:28.73M
    used_memory_peak_perc:65.19%
    used_memory_overhead:1732654
    used_memory_startup:796328
    used_memory_dataset:17907666
    used_memory_dataset_perc:95.03%
    allocator_allocated:19988296
    allocator_active:21180416
    allocator_resident:26193920
    total_system_memory:1029038080
    total_system_memory_human:981.37M
    used_memory_lua:41984
    used_memory_lua_human:41.00K
    used_memory_scripts:0
    used_memory_scripts_human:0B
    number_of_cached_scripts:0
    maxmemory:128000000
    maxmemory_human:122.07M
    maxmemory_policy:allkeys-lfu
    allocator_frag_ratio:1.06
    allocator_frag_bytes:1192120
    allocator_rss_ratio:1.24
    allocator_rss_bytes:5013504
    rss_overhead_ratio:0.53
    rss_overhead_bytes:-12349440
    mem_fragmentation_ratio:0.71
    mem_fragmentation_bytes:-5753840
    mem_not_counted_for_evict:0
    mem_replication_backlog:0
    mem_clients_slaves:0
    mem_clients_normal:49694
    mem_aof_buffer:0
    mem_allocator:jemalloc-5.2.1
    active_defrag_running:0
    lazyfree_pending_objects:0

    Thread Starter radorp2p

    (@radorp2p)

    There is also 2gb swap memory.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Should I decrease max TTL?’ is closed to new replies.