问题
We use some Azure specific features (mostly blob storage) in our applications. With blob storage, we figured out how to run it without requiring the sluggish Azure Emulator.
We're experimenting with the Azure Caching Preview now. It does some pretty cool things and could help address some performance concerns I have with a few of our features, but I haven't gotten it to work without it running either in the emulator or in an Azure production environment.
So, is there any known way to get it working on its own? Having to run our app in the emulator to get anything done is kind of a deal breaker, especially for some of our developers on machines without solid state drives.
回答1:
As of now, Azure Cache cannot be run locally without the devfabric emulator. Although the devfabric emulator adds to load time it helps evaluate the caching service in a manner that is uniform to the cloud and helps avoid surprises. The caching service uses a number of Azure environment features for parity on cloud and on-prem for testing.
If you are hitting issues with respect to Azure cache on devfabric times, could you tell me the extra load time added ? Use the dev config store for a faster load time, once your app loads up it shouldnt take up much extra time.Also considering removing logging etc.
回答2:
Azure AppFabric Cache is an implementation of Windows AppFabric Cache so if you want to run a Cache without the emulator you could try installing that on a server on premise. There are some differences, but as you're using the Cache Preview and not the Shared Cache, this should be too much of a problem.
来源:https://stackoverflow.com/questions/13005495/possible-to-run-azure-caching-preview-without-emulator