Use Redis on Azure for caching
Redis is a suppoer fast NoSQL data store, it can be used to cache our very high loaded data. This article will show in detail how to setup and configure Redis Cache on Azure and its usage.
1. Configure and setup Redis Cache on Azure
After having an account on Azure, we can add a cloud service (for details, please go through this instruction). Finally, choose a package as below:
By default, it requires connection via SSL channel. To adjust these settings including port numbers, SSL or non-SSL, take a look on below screen:
When this step is done, it's ready to be used, so move to the second step.
2. Use Redis Cache on Azure
Let's take a look on below screen, few steps are done in this order 1. Setup a connection options 2. Do connect to the endpoint 3. Get from cache by a key 4. If the key is not exists, try to set it to a value
When having an error like this, please check the port number again if it is blocked on your network