473,386 Members | 1,694 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

My Web Application Support 1 Million concurrent user??

This is design level discussion about web applications. How I design
application that support 1 million concurrent requests??

Jul 30 '07 #1
6 4093
* goraya wrote, On 30-7-2007 15:23:
This is design level discussion about web applications. How I design
application that support 1 million concurrent requests??
Lot's of load balancing, caching and a fat pipe.

But the rest depends on what's behind your webservers. Will you need
database access, external systems, legacy systems? What's the nature of
the data you're accessing, highly dynamic or mostly static or a mix?
Will the site do personalization? Will the contents change based on the
current user? Does it need to be secured?

There are so many factors that come into play, that we need more
information. 1 million concurrent requests is quite enormous. Is that
really the target number? Because if that's true, you'll be looking at
more than 20 million concurrent users at least. What is it you're trying
to do?

Jesse
Jul 30 '07 #2
On Jul 30, 6:45 pm, Jesse Houwing <jesse.houw...@nospam-sogeti.nl>
wrote:
* goraya wrote, On 30-7-2007 15:23:
This is design level discussion about web applications. How I design
application that support 1 million concurrent requests??

Lot's of load balancing, caching and a fat pipe.

But the rest depends on what's behind your webservers. Will you need
database access, external systems, legacy systems? What's the nature of
the data you're accessing, highly dynamic or mostly static or a mix?
Will the site do personalization? Will the contents change based on the
current user? Does it need to be secured?

There are so many factors that come into play, that we need more
information. 1 million concurrent requests is quite enormous. Is that
really the target number? Because if that's true, you'll be looking at
more than 20 million concurrent users at least. What is it you're trying
to do?

Jesse
Thanks for ur reply.
I have a discussion with someone and he was asking me how to have a
web application that facilitate these number of people. I told him
that u should do with load balancing at ur servers. He insisted that
there are other design method that can increase the performance and
help out to facilitate large number of user. I just posted this
discussion here to get more information about this.
If u reffer some some good soure from where I get more information
over web application design, scalability ect.
Its nice to hear from u.
regards

Jul 30 '07 #3
* goraya wrote, On 30-7-2007 18:31:
On Jul 30, 6:45 pm, Jesse Houwing <jesse.houw...@nospam-sogeti.nl>
wrote:
>* goraya wrote, On 30-7-2007 15:23:
>>This is design level discussion about web applications. How I design
application that support 1 million concurrent requests??
Lot's of load balancing, caching and a fat pipe.

But the rest depends on what's behind your webservers. Will you need
database access, external systems, legacy systems? What's the nature of
the data you're accessing, highly dynamic or mostly static or a mix?
Will the site do personalization? Will the contents change based on the
current user? Does it need to be secured?

There are so many factors that come into play, that we need more
information. 1 million concurrent requests is quite enormous. Is that
really the target number? Because if that's true, you'll be looking at
more than 20 million concurrent users at least. What is it you're trying
to do?

Jesse

Thanks for ur reply.
I have a discussion with someone and he was asking me how to have a
web application that facilitate these number of people. I told him
that u should do with load balancing at ur servers. He insisted that
there are other design method that can increase the performance and
help out to facilitate large number of user. I just posted this
discussion here to get more information about this.
If u reffer some some good soure from where I get more information
over web application design, scalability ect.
Its nice to hear from u.
regards
As I said before, there are many things which will have influence on the
scalability of a web application. If you're just serving static content
you're all set with a couple of big raid equipped servers with loads of
memory to cache requests.

But when you're adding dynamic content you'll soon find out that there's
much more than just that. SQL Server can be scales out on it's own. You
can split up the contents into different databases, run in clusters etc

If you need access to legacy systems it's sometimes faster to create a
snapshot of the contents of that system in a modern databases and stream
the changes in as they come.

External services can use both caching and queuing where applicable.

You can find a lot of information in a number of white papers published
by Microsoft and their customers. Many of the companies running these
enormous websites also give presentations on Developer Conferences on a
regular basis. I've been to a presentation of the architecture of
MySpace. They've implemented their own caching strategy in between their
front end webservers that cut and paste parts of pages together to a
complete page from these caches. The caches get fed by another cluster
of webservices which render each part (comment blocks, profiles, forum
topics). The data comes from a number of different databases. One
cluster for profiles, one cluster for comments and each of these
clusters is split up into different smaller clusters based on the id
ranges of each of their main content. So there's a cluster serving
client profiles for client id 1-999999, one cluster serving 1000000 to
1999999 etc.

So your friend is correct to assume there are lot's of ways. But usually
they all come down to clustering, load balancing and skillful design of
the overall application.

One of the key things I've learned from the MySpace presentation is that
they create a new design every couple of years (sometimes even faster).
And when that one stops performing, they look at what they've learned,
redesign, reimplement, deploy and start the cycle again.

Jesse
Jul 30 '07 #4
On Jul 30, 11:52 pm, Jesse Houwing <jesse.houw...@nospam-sogeti.nl>
wrote:
* goraya wrote, On 30-7-2007 18:31:
On Jul 30, 6:45 pm, Jesse Houwing <jesse.houw...@nospam-sogeti.nl>
wrote:
* goraya wrote, On 30-7-2007 15:23:
>This is design level discussion about web applications. How I design
application that support 1 million concurrent requests??
Lot's of load balancing, caching and a fat pipe.
But the rest depends on what's behind your webservers. Will you need
database access, external systems, legacy systems? What's the nature of
the data you're accessing, highly dynamic or mostly static or a mix?
Will the site do personalization? Will the contents change based on the
current user? Does it need to be secured?
There are so many factors that come into play, that we need more
information. 1 million concurrent requests is quite enormous. Is that
really the target number? Because if that's true, you'll be looking at
more than 20 million concurrent users at least. What is it you're trying
to do?
Jesse
Thanks for ur reply.
I have a discussion with someone and he was asking me how to have a
web application that facilitate these number of people. I told him
that u should do with load balancing at ur servers. He insisted that
there are other design method that can increase the performance and
help out to facilitate large number of user. I just posted this
discussion here to get more information about this.
If u reffer some some good soure from where I get more information
over web application design, scalability ect.
Its nice to hear from u.
regards

As I said before, there are many things which will have influence on the
scalability of a web application. If you're just serving static content
you're all set with a couple of big raid equipped servers with loads of
memory to cache requests.

But when you're adding dynamic content you'll soon find out that there's
much more than just that. SQL Server can be scales out on it's own. You
can split up the contents into different databases, run in clusters etc

If you need access to legacy systems it's sometimes faster to create a
snapshot of the contents of that system in a modern databases and stream
the changes in as they come.

External services can use both caching and queuing where applicable.

You can find a lot of information in a number of white papers published
by Microsoft and their customers. Many of the companies running these
enormous websites also give presentations on Developer Conferences on a
regular basis. I've been to a presentation of the architecture of
MySpace. They've implemented their own caching strategy in between their
front end webservers that cut and paste parts of pages together to a
complete page from these caches. The caches get fed by another cluster
of webservices which render each part (comment blocks, profiles, forum
topics). The data comes from a number of different databases. One
cluster for profiles, one cluster for comments and each of these
clusters is split up into different smaller clusters based on the id
ranges of each of their main content. So there's a cluster serving
client profiles for client id 1-999999, one cluster serving 1000000 to
1999999 etc.

So your friend is correct to assume there are lot's of ways. But usually
they all come down to clustering, load balancing and skillful design of
the overall application.

One of the key things I've learned from the MySpace presentation is that
they create a new design every couple of years (sometimes even faster).
And when that one stops performing, they look at what they've learned,
redesign, reimplement, deploy and start the cycle again.

Jesse
Hi
Thank you for reply. As u said in your reply "but usually they all
come down to clustering, load balancing and skillful design of the
overall application".
What are the elements of skillful design?? This may a silly question
for u but I m quite new to design, especially for the designing of
large scale web application with dynamic contents.
Regards

Jul 31 '07 #5
* goraya wrote, On 31-7-2007 10:22:
On Jul 30, 11:52 pm, Jesse Houwing <jesse.houw...@nospam-sogeti.nl>
wrote:
>* goraya wrote, On 30-7-2007 18:31:
>>On Jul 30, 6:45 pm, Jesse Houwing <jesse.houw...@nospam-sogeti.nl>
wrote:
* goraya wrote, On 30-7-2007 15:23:
This is design level discussion about web applications. How I design
application that support 1 million concurrent requests??
Lot's of load balancing, caching and a fat pipe.
But the rest depends on what's behind your webservers. Will you need
database access, external systems, legacy systems? What's the nature of
the data you're accessing, highly dynamic or mostly static or a mix?
Will the site do personalization? Will the contents change based on the
current user? Does it need to be secured?
There are so many factors that come into play, that we need more
information. 1 million concurrent requests is quite enormous. Is that
really the target number? Because if that's true, you'll be looking at
more than 20 million concurrent users at least. What is it you're trying
to do?
Jesse
Thanks for ur reply.
I have a discussion with someone and he was asking me how to have a
web application that facilitate these number of people. I told him
that u should do with load balancing at ur servers. He insisted that
there are other design method that can increase the performance and
help out to facilitate large number of user. I just posted this
discussion here to get more information about this.
If u reffer some some good soure from where I get more information
over web application design, scalability ect.
Its nice to hear from u.
regards
As I said before, there are many things which will have influence on the
scalability of a web application. If you're just serving static content
you're all set with a couple of big raid equipped servers with loads of
memory to cache requests.

But when you're adding dynamic content you'll soon find out that there's
much more than just that. SQL Server can be scales out on it's own. You
can split up the contents into different databases, run in clusters etc

If you need access to legacy systems it's sometimes faster to create a
snapshot of the contents of that system in a modern databases and stream
the changes in as they come.

External services can use both caching and queuing where applicable.

You can find a lot of information in a number of white papers published
by Microsoft and their customers. Many of the companies running these
enormous websites also give presentations on Developer Conferences on a
regular basis. I've been to a presentation of the architecture of
MySpace. They've implemented their own caching strategy in between their
front end webservers that cut and paste parts of pages together to a
complete page from these caches. The caches get fed by another cluster
of webservices which render each part (comment blocks, profiles, forum
topics). The data comes from a number of different databases. One
cluster for profiles, one cluster for comments and each of these
clusters is split up into different smaller clusters based on the id
ranges of each of their main content. So there's a cluster serving
client profiles for client id 1-999999, one cluster serving 1000000 to
1999999 etc.

So your friend is correct to assume there are lot's of ways. But usually
they all come down to clustering, load balancing and skillful design of
the overall application.

One of the key things I've learned from the MySpace presentation is that
they create a new design every couple of years (sometimes even faster).
And when that one stops performing, they look at what they've learned,
redesign, reimplement, deploy and start the cycle again.

Jesse

Hi
Thank you for reply. As u said in your reply "but usually they all
come down to clustering, load balancing and skillful design of the
overall application".
What are the elements of skillful design?? This may a silly question
for u but I m quite new to design, especially for the designing of
large scale web application with dynamic contents.
Regards
Well skillful design means that you try and solve all the bottlenecks
you can find, don't overdesign, because that's hard to refactor when
your app needs to be changed due to new information. Make the app
layered so you can cluster & load balance on each layer. Try to cache as
much as possible, make sure you design your pages, usercontrols etc to
allow for that.

And that's only the start. For more information go through the
Whitepapers on the Microsoft websites. You're bound to find more
information on how they fixed the problems they had. And how they weiged
one solution over the other.

Jesse
Jul 31 '07 #6
Thank You Jesse and Bob.

Jul 31 '07 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Mike Meyer | last post by:
The recent thread on threads caused me to reread the formal definition of SCOOP, and I noticed something I hadn't really impressed me the first time around: it's using staticly checkable rules to...
2
by: kat0 | last post by:
Hi. I Have to do a muliple database application (think in a simple form that add, remove, and modify some table/s). But The problem is that the Database destination depends, can be per example SQL...
1
by: Mariusz Wojsyk | last post by:
Greetings. I use Configuration Application Block of Enterprise Library to store some user application settings like window size, position, etc.. Is there a way to set the FileName property of...
4
by: pjdouillard | last post by:
Hello all, Here is the context of my problem: We have an ASP.NET 1.1 application that has its own application pool setup and that runs under the identity of a NT Domain service account (this...
3
by: sandhya rani | last post by:
Hai all the members, 1) I would like to know what is an application support in unix(shell scripting) and Database and what are the functionalities of application...
2
by: nicecy | last post by:
I had a problem concurrent user limit in mysql database. How do i increase the number for concurrent user?
2
by: mktselvan | last post by:
Hi, Existing running oracle application 11i (11.5.8) Database version is 8.1.7.4 There is any command / way to know the number of concurrent users for this application. ...
0
by: sahillihas8487 | last post by:
hi ,, on windows server 2003 i have configured apache 2.2.11 , php 5.1,mysql 5.0 (WAMP) to run a single website. Now i want to increase the no. of concurrent user connection to 150-200.But for...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.