Clustering and custom applications

Posted by Ahmed ilyas on Programmers See other posts from Programmers or by Ahmed ilyas
Published on 2012-11-21T22:21:40Z Indexed on 2012/11/21 23:11 UTC
Read the original article Hit count: 275

Filed under:
|
|

I was not entirely sure what tags to put but hope this is ok. This is just a general question in regards to clustering and applications:

so lets say we have a clustered environment setup. We cluster SQL Server (I dont know exactly how its done but lets just say its been done for the sake of argument). Now if a website or application is trying to access that database for read/write (say an ASP.NET app or a C# Winforms app) and during that time SQL goes down - it takes a couple of minutes for the clustering failover to take affect to switch to another node. What happens during this time?

I think it will time out/unable to connect. BUT is there a way for it to place the request in some pipeline so when the cluster node is back up/switched over it will continue as normal?

as you can see, I know nothing much about clustering!

what about your own custom .NET apps? Would there be a special way to develop them? I know that you can say create a simple Hello world app, and cluster that but they wouldnt be something you could see interms of the UI or anything, so they would effectively need to be developed as a Windows Service perhaps or even as a standard Console app which runs and not wait for user input but you wouldnt see any output from it (unless you redirect output to somewhere else)

What im getting at here is... for those who have experience or developed a cluster application in .NET, how did you do it and what are the things to be aware of?

For example we have the cloud service - fundamentally its built on clustering - if there is an outage, another node takes place and service is resumed as normal but we dont really see much of that downtime.

© Programmers or respective owner

Related posts about c#

Related posts about .NET