I have seen several references to people running Redis on Azure, but no implementation or any sort of 'howto' on it. Has anyone seen such an example?
相关问题
- running headless chrome in an microsoft azure web
- Docker task in Azure devops won't accept "$(pw
- Register MicroServices in Azure Active Directory (
- Getting Redis Master address from Sentinel C#
- Removing VHD's from Azure Resource Manager aft
In the service definition file add the following config
You can refer to the redis server from your web role using the following
Hope that helps.
There is MS Open Tech: Redis on Windows project. Redis on Windows is available on GitHub (https://github.com/MSOpenTech/redis) however still not labelled as ready for production yet.
Another post is an example of application using Redis:"SignalR with Redis Running on a Windows Azure Virtual Machine"
You now also have the option of running Redis in Windows Azure on Linux virtual machines (thus using the "official" build).
FYI, the above-mentioned Redis on Windows project from MS Open Tech now has an Azure installer available, which makes it easy to get Redis up and running on a PaaS worker role. Here's a detailed tutorial: http://ossonazure.interoperabilitybridges.com/articles/how-to-deploy-redis-to-windows-azure-using-the-command-line-tool (Full disclosure: I'm on the MS Open Tech team.)