Improve startup time by caching lists #938
Replies: 2 comments 10 replies
-
At least for my current Redis implementation this would add more complexity without a real benefit. The blocklists are stored as string lists in Redis and can therefore be queried with SISMEMBER which results in a boolean result. The cached response on the client side is really small and key access can be optimized through the server since there is a repetitive access to a few keys. If we switch to url level we generate a lot more keys with lesser access and these have to contain information where they are included. I think this would decrease performance. 🤔 |
Beta Was this translation helpful? Give feedback.
-
I'm currently investigating going in the opposite direction. Client group cache:
|
Beta Was this translation helpful? Give feedback.
-
As mentioned in this thread, I'm creating a discussion about caching for individual lists (this will also apply to host files since my refactor is unifying how we load both of those).
Here's the relevant parts of that thread:
@ThinkChaos:
@0xERR0R:
@ThinkChaos:
Beta Was this translation helpful? Give feedback.
All reactions