Solved

What do you do when your website grows?

Posted on 2012-03-26
3
375 Views
Last Modified: 2012-03-30
Hello,

We have an application developed in asp.net. We sell this application as a white label to insurance companies.

We launched this application about a month ago, and we already have about 12,000 accounts. There are several web servers (IIS) for the different white labels, and a big database server that supports all white labels.

We need to have everything on one database for reporting purposes.

We now got a new white label that wants to bring about 500,000 users, so I freaked out. My question is this, we handle prety well the web servers by adding a new server when it is necessary, but what about the SQL Server?

The database has about 140 tables, one of the tables grows at a rate of 1,000+ records per day with only 12K users, and Im scared cause I dont know how will I handle this in the future. Someone told me there's a way to split the tables among several SQL Servers, but Changing the SQL scripts on about 400 pages freaks me out.

What are the most best solutions or scenarios to handle this? I have a lab/test environment where I can start testing the solutions.

Thanks!
0
Comment
Question by:pvg1975
3 Comments
 
LVL 13

Accepted Solution

by:
Greg Hejl earned 250 total points
ID: 37768894
0
 
LVL 29

Assisted Solution

by:Olaf Doschke
Olaf Doschke earned 250 total points
ID: 37768920
The one application I maintain with an SQL Server backend is not a website, and only has ~1000 users concurrent, but produces several 10 GB of transaction log a day, which is truncated, of course. The database itself does not grow that much.

1000+ records a day isn't much. But interpolating for 500,000 users you will expect 40,000 records a day in that table. That alone doesn't tell much, of course the size and typical transaction times matter. In the first place, monitor. SQL Server Profiler would help with that, or third party tools.

Methods of scaling are listed here:
http://www.scalesql.com/scaling-sql-server.aspx

Scaling out would not really be needed, but shows it can be done, as you can also add IIS webservers. In the first place, start with performance tuning, as you won't likely rewrite and adapt to a sharded database.

Bye, Olaf.
0
 

Author Closing Comment

by:pvg1975
ID: 37788469
Thanks guys
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now