Is it faster to update redis keys on a server that has no connections vs updating data that’s being accessed all the time?

  Kiến thức lập trình

Maybe someone can reword my question, but I’m trying to understand how redis works. Is it faster to rebuild a cache that’s not being accessed often versus a cache key that’s being directly accessed by thousands of users all the time?

Because I’m wondering if we should setup a replica so the main redis server isn’t being impacted while we’re rebuilding said caches and allowing the replica read only access. As rebuilding caches feels slow at times even for minor data that’s being accessed. I’m wondering if that’s normal with high connections or if that’s a configuration issue where it shouldn’t take long for a key to be updated that’s being accessed by thousands of connections often.

Theme wordpress giá rẻ Theme wordpress giá rẻ Thiết kế website

LEAVE A COMMENT