BlogEngine.NET deployment in web farm with loadbalancer

Topics: ASP.NET 2.0
Apr 28, 2009 at 4:35 AM
I downloaded the code, customized it and deployed it in two different servers. The servers use loadbalancer which randomly picks up a server based on the load.

The problem is with the asp.net cache. When i add new post, it only appears on the server it is being updated from. I tried solving this issue by setting up a different ASP.NET State Server.

This also didn't solve the problem. One server's cache is update and the other doesnt update. I don't know if I am missing something here or the BLOGENGINE was designed to run on single server only.

If anyone has answers, please reply back.
Coordinator
Apr 28, 2009 at 4:46 AM
As you've found out, BE wasn't designed with a web farm environment in mind.  Here's some recent discussions:

BE.NET on a Webfarm
http://blogengine.codeplex.com/Thread/View.aspx?ThreadId=43734

New posts copied from one web server to another are not visible in the blog
http://blogengine.codeplex.com/Thread/View.aspx?ThreadId=44544

On post... The resource cannot be found.
http://blogengine.codeplex.com/Thread/View.aspx?ThreadId=50352

Mirror Sites & Caching
http://blogengine.codeplex.com/WorkItem/View.aspx?WorkItemId=9538
Apr 28, 2009 at 5:58 AM
Thanks for the quick reply.