Are multi-core machines a waste of money for hosting Redis? #13206
Replies: 4 comments 1 reply
-
On Redis Cloud (which is built on top of Redis Enterprise) each Redis shard in a Redis Enterprise cluster works as if it were a standalone Redis instance. Each machine can hosts multiple Redis instances. The type of machines used is computed based on the number of shards which, in turn, is based on the required throughput and size. |
Beta Was this translation helpful? Give feedback.
-
Redis Cloud has a different architecture than source-available Redis. We are running additional processes including cluster manager and proxy. We allocate extra cores and extra memory. Many other considerations are taken into account (e.g., Redis Cloud Essentials is a multi-tenant environment; the different types of machines available on different clouds). Our resource allocation algorithm is quite complex. |
Beta Was this translation helpful? Give feedback.
-
Thanks, however if we have a solution just running Redis 5.x-7 and an architecture with one master and 1-2 replica nodes on separate machines, extra cores would not be necessary right? |
Beta Was this translation helpful? Give feedback.
-
At least one extra core (for the OS and other services) is recommended, but you won't benefit from many cores when running just a single instance of source-available Redis on that machine. |
Beta Was this translation helpful? Give feedback.
-
Our organization uses Elasticache to manage our Redis instances. We typically setup a master node with 1-2 backup nodes running Redis. One thing I noticed while looking at AWS' pricing here is that you can buy some really souped up machines to run Redis.
Some of the more expensive instances hold 90 cores of CPU! But what is the point? Redis' single threaded model seems to suggest that 89 of these cores would be sitting idle. Really the available RAM and its performance (and possibly SSD for setups that put staler data on disk for retrieval later) seem to be the only relevant metrics.
Whether I need to support hundreds of RPS or millions, does the selection of these expensive machines matter or are people just wasting their money?
Beta Was this translation helpful? Give feedback.
All reactions