How to reduce the costs of the Redis cache

Eelco 55 Reputation points

I am using Redis as message broker between my Django app and the Celery taskmananger. I use this relatively light, but this service is the highest item on my invoice. It's more expensive than the postgress database and the App Service, which are, in my opinion, more heavily used.

  1. I wonder why this is, I am using it, but only now and then. The load isn't that high, just sending some messages between background task and the frontend.
  2. Is there a way to reduce the costs? Changing settings or use another product?
Azure Cost Management
Azure Cost Management
A Microsoft offering that enables tracking of cloud usage and expenditures for Azure and other cloud providers.
1,589 questions
0 comments No comments
{count} votes

Accepted answer
  1. Pramod Valavala 19,356 Reputation points Microsoft Employee

    @Eelco The pricing for Azure Cache for Redis is based on the SKU you are using and how long it is running. There is no consumption-based pricing.

    If you believe you are spending more than what you are using, you could explore downgrading to a lower SKU while still ensuring all features that you need are available.

    Unfortunately, there is no way to downgrade an existing instance. You will have to create a new one and migrate to it instead.

    Another alternative I believe you can consider is switching the backend/broker to Postgres and Azure Service Bus (which has a consumption-based pricing) instead, removing Redis from the equation altogether.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful