How does a single thread run on multiple cores?

1.39K views

REDIS is single threaded. So what does it mean when I deploy it to machines with 2 or more cores? How does the single thread utilize these multiple cores?

In: Engineering

3 Answers

Anonymous 0 Comments

It doesn’t. That’s the point – each thread only runs on a single CPU core. If REDIS doesn’t support multiple threads or multiple processes, it will only use 1 core.

Other things can use the other core though. The OS itself, scheduled jobs, remote access, logging, whatever else can use the other core without impacting REDIS.

You are viewing 1 out of 3 answers, click here to view all answers.