Load Balancing
What does the support for load balanced environments provide in the Professional edition of SF4? I imagine it synchronizes the APP_DATA folders across all web servers. What else does it do?
Hello Eric,
Thank you for contacting us.
The Load Balancing support does not yet sync the files in the App_Data directory. What it actually does is synchronizing the cache state between the servers in the load balance. Otherwise you may get some content items appearing randomly depends on which server processes the request.
We have plans to improve this feature - we will add synchronization of App_data and much better cache handling.
I was thinking uploaded content went to the app_data folder, but now I see it in the database.
Hi Eric,
1. We have logged bugs about working under load balanced environment. The file storage like App_Data/Configurations should be manually copied if you use more than one file storage or the server should be restarted to updated all changes. I agree that this is not convenient and we are working on fixing the issues as much as we can for the time that we have now. We will do our best to sort our most of the issues for the official release.
2. For caching we use Telerik.Microsoft.Practices.EnterpriseLibrary.Caching. The actual implementation of the caching and invalidating the cache is still not completed. There is a CacheManager class under elerik.Microsoft.Practices.EnterpriseLibrary.Caching which expose public methods for working with caching. When we add a new Cache item to the chache if there is item that already exists with the same key we remove this item and add the new one as a result the cache dependency is invalidated and your load balanced instances should be updated with the new data.
Regards,
Ivan Dimitrov
the Telerik Dev team