4 ms·
Redis is mostly single thread.
by ChrisDutrow 11y ago
Redis is mostly single thread.
- astrodust 11y agoThis is not really a great thing about Redis.
- ChrisDutrow 11y agoIt would be a more powerful tool if it was multi-threaded. I'm not an expert, but my impression that it was able to be more powerful in other ways (stability, features) because of the choice to make it mostly single threaded (given labor and complexity constraints). Is there an alternative RAM database that you like better that is multi-threaded?
- astrodust 11y agoAs much as Redis is an incredibly potent tool and the quality of craftsmanship on it is very high, there are some incredibly peculiar design decisions that have been made. Single-treading is one of those. There are times when having more than one thread to help process things would come in very handy, though I recognize that the cost of adding this can be very high. It's something that will have to be addressed eventually for a single Redis process to take advantage of newer hardware with very low ceilings on CPU power, but huge numbers of cores.