Solved

What do you do when your website grows?

Posted on 2012-03-26
3
382 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Database Availability Group Distribution 9 47
store vs query adhoc - no show rows 4 36
SQL query 45 37
when sa SQL Login becomes locked 6 32
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

739 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