This project is read-only.

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 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.
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

New posts copied from one web server to another are not visible in the blog

On post... The resource cannot be found.

Mirror Sites & Caching
Apr 28, 2009 at 5:58 AM
Thanks for the quick reply.