This is on an Azure load balanced web site. Should I use the machinename token?
Another change would be using IDirectoryFactory instead of useTempStorage. Should I use IDirectoryFactory? Or just leave it out. This would be the one I use right:
Hey Kevin,
Afraid I don't use Umbraco on Azure but looking through the docs on Azure Web Apps it recommends removing the machinename token and also this is now the defacto way of shipping the config since Umbraco 7.5.7.
As for the second point, it seems IDirectoryFactory is now the new way of handling Examine storage is a more flexible way. Looking at the Examine repo it seems SyncTempEnvDirectoryFactory is the way to handle things.
Happy upgrading! Remember you can always use the Releases Compare Tool to see what changes have occurred between version.
Should I use machinename token in load balanced environment?
I'm upgrading from 7.5.6 to 7.5.12 and noticed that there were a few changes made to Examine.
One being the removal of the machinename token
Is now
This is on an Azure load balanced web site. Should I use the machinename token?
Another change would be using IDirectoryFactory instead of useTempStorage. Should I use IDirectoryFactory? Or just leave it out. This would be the one I use right:
Hey Kevin,
Afraid I don't use Umbraco on Azure but looking through the docs on Azure Web Apps it recommends removing the machinename token and also this is now the defacto way of shipping the config since Umbraco 7.5.7.
As for the second point, it seems IDirectoryFactory is now the new way of handling Examine storage is a more flexible way. Looking at the Examine repo it seems
SyncTempEnvDirectoryFactory
is the way to handle things.Happy upgrading! Remember you can always use the Releases Compare Tool to see what changes have occurred between version.
Thanks,
Jamie
Hi Jamie, thanks for the information.
The issue is that we're load balanced so we also have auto-scaling
So referring to this
https://our.umbraco.org/Documentation/Getting-Started/Setup/Server-Setup/load-balancing/flexible
It says to use the machinename token, but this article also seems outdated.
Yep, I'm fairly sure that article is outdated now. The steps outlined above seem to be the updated way to achieve the same goals.
is working on a reply...