Click here to Skip to main content
15,867,568 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have been asked this question on my recent interview for .Net architect role. I have no clue on this. I tried to search in the internet but did not find any satisfying solution. Let me try to explain the scenario in detail.

Consider travel website like yatra.com or MakeMyTrip, millions of people hitting it on daily basis. What if loads of database has increased a lot and performance is down. We can set up multiple database instances in multiple servers but how it can be switch at run-time considering the load on the one database to the other database. How people handles such type of situations in big web applications with millions of users.

Another question is kind of same, If the load on IIS server is more, then how we can redirect the request from one IIS server to another IIS server (Note: considering we have created multiple virtual directories on IIS server in the multiple servers ).

If you guys know some good articles on this or any book, kindly share the same to me. Thanks in advance.

What I have tried:

I tried to search in the internet but did not find any satisfying solution. Let me try to explain the scenario in detail.
Posted
Updated 13-Dec-16 20:36pm
v2
Comments
ArjunSingh_as 14-Dec-16 2:19am    
Read About Loadmaster,Application Request Routing (ARR) and Web Application Proxy (WAP), It will help you to understand Load Balancing.

1 solution

For IIS
C#
Read About Loadmaster,Application Request Routing (ARR) and Web Application Proxy (WAP), It will help you to understand Load Balancing.

Related to Database switching
C#
You need to create Multiple instance of SQl server for that database and configure those instance to Applications instances which is hosted on different servers/IIS .
And Most important Use replication between Database instance to sync realtime data
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900