Solved

What do you do when your website grows?

Posted on 2012-03-26
3
378 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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Internet Protocol Security question 3 71
Error handling in asp.net site 5 25
TSQL - How to declare table name 26 30
sql how to count case when 4 16
Short answer to this question: there is no effective WiFi manager in iOS devices as seen in Windows WiFi or Macbook OSx WiFi management, but this article will try and provide some amicable solutions to better suite your needs.
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
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…

776 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