can redis make effective use of multicore servers?
We're running it on a large EC2 instances with 4 cores and a lot of RAM.
I've read here that redis basically access the data in its core in a sequential
fashion. So is there a rule of thumb, e.g. one core per redis instance?
Or is redis running multiple worker threads depending on the # of cores?
In nginx you can tell the system how many cores you have and it will launch the
workers accordingly..
Christian
You run one instance of redis per core.
> --
> You received this message because you are subscribed to the Google Groups "Redis DB" group.
> 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.
>
>
--
Best Regards,
Konstantin Merenkov
If you have 4 cores (and 1 NIC), using 2 cores for redis yields optimal performance.
- Josiah
thanks for all the answers, I'll size accordingly :-)
Christian