They take the request and then filter to an ideal ip address... eg several nodes all have the same dns running the site in several different instances.
So I have issues where admin is done on one node, but then the in memory xml is only updated on that node not other nodes.
However, files are replicated across the nodes... so my question is as the app_data/umbraco.config will be identical across all nodes, does the system have a fall back to check to see if that file has been changed in order to update the in memory version of it? Or is the in memory version only reloaded in reponse to the publish event handler and other events that might cause a change.
If it isn't also polling to see if the physical file has been updated, can someone point me in the right direction so I can modify the source to do this for our purposes.
This is my exact same question. I am running umbraco on the rackspace cloud, and as far as I've been told, all files get replicated automatically. Media files every 30 minutes-ish unless you rebuild your app to force a replication.
Did you find a solution to automatically update the in-memory xml across the cluser of servers? Even if I turn off all the caching options in the umbracosettings config file, my site still doesn't load the new content from the database automatically. Seems like the xml still lives in memory automaticall, and doesn't update its content unless the cms on that server makes it update, or if the application is restarted on that server.
Can anyone tell me if there is an umbraco api call that i can execute to cause the internal xml structure to reload? I'm thinking about writing my own module that will watch the umbraco.config file in the data folder and have the internal structure update when that file is changed.
Seems to work as the node that the site is running hits itself when calling http://[DOMAIN]/ rather than calling another node.... not sure of this 100% but it's better than nothing, and seems to be working for us.
ps for some reason disabling the xml cache also dramatically improved the performance of the admin are on the cloud ( moving a document could intermittently take >2mins and timed out with the xmlcache in place)
Rackspace Cloud sites, clustered hosting and issues in memory umbraco.config xml out of sync...
As far as it's been explained to me the clustering for cloud sites with rackspace doens't work to the loadbalancing model in http://our.umbraco.org/wiki/install-and-setup/installing-umbraco-for-load-balanced-environments
They take the request and then filter to an ideal ip address... eg several nodes all have the same dns running the site in several different instances.
So I have issues where admin is done on one node, but then the in memory xml is only updated on that node not other nodes.
However, files are replicated across the nodes... so my question is as the app_data/umbraco.config will be identical across all nodes, does the system have a fall back to check to see if that file has been changed in order to update the in memory version of it? Or is the in memory version only reloaded in reponse to the publish event handler and other events that might cause a change.
If it isn't also polling to see if the physical file has been updated, can someone point me in the right direction so I can modify the source to do this for our purposes.
This is my exact same question. I am running umbraco on the rackspace cloud, and as far as I've been told, all files get replicated automatically. Media files every 30 minutes-ish unless you rebuild your app to force a replication.
Did you find a solution to automatically update the in-memory xml across the cluser of servers? Even if I turn off all the caching options in the umbracosettings config file, my site still doesn't load the new content from the database automatically. Seems like the xml still lives in memory automaticall, and doesn't update its content unless the cms on that server makes it update, or if the application is restarted on that server.
Can anyone tell me if there is an umbraco api call that i can execute to cause the internal xml structure to reload? I'm thinking about writing my own module that will watch the umbraco.config file in the data folder and have the internal structure update when that file is changed.
In the end I resorted to a scheduled task to rebuild the local cache every 15mins.
in umbracosettings.config
<scheduledTasks>
<!-- add tasks that should be called with an interval (seconds) -->
<task log="true" alias="test60" interval="60" url="http://[DOMAIN]/umbraco/rebuildcache.aspx"/>-->
</scheduledTasks>
with rebuildcache just doing
umbraco.library.RefreshContent();
Seems to work as the node that the site is running hits itself when calling http://[DOMAIN]/ rather than calling another node.... not sure of this 100% but it's better than nothing, and seems to be working for us.
ps for some reason disabling the xml cache also dramatically improved the performance of the admin are on the cloud ( moving a document could intermittently take >2mins and timed out with the xmlcache in place)
is working on a reply...