Multiple database performance issues only matter if you are using
expiration with a lot of keys. Generally, Redis will expire keys that
should be expired when they are accessed, and it will occasionally
randomly probe the keys. If it finds a lot of keys that should be
expired, it spends time expiring them. Otherwise, it just gets rid of
the handful of keys that should be expired. For each database with
keys with expiration times, Redis will perform the random probing.
That's where the performance concern comes in.
Now, if you are looking to improve random read performance, using
databases won't help you. Redis will still only use a single thread
for reading from all databases in the same process.
Regards,
- Josiah
> --
> You received this message because you are subscribed to the Google Groups
> "Redis DB" group.
> To view this discussion on the web visit
>
https://groups.google.com/d/msg/redis-db/-/GB0ZixdKNj0J.
> To post to this group, send email to
redi...@googlegroups.com.
> To unsubscribe from this group, send email to
>
redis-db+u...@googlegroups.com.
> For more options, visit this group at
>
http://groups.google.com/group/redis-db?hl=en.