Click here to Skip to main content
15,889,808 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Runtime Error Pin
www.Developerof.NET22-Feb-08 2:05
www.Developerof.NET22-Feb-08 2:05 
GeneralRe: Runtime Error Pin
Paddy Boyd22-Feb-08 5:55
Paddy Boyd22-Feb-08 5:55 
GeneralRe: Runtime Error Pin
pavya_Cool24-Feb-08 20:08
pavya_Cool24-Feb-08 20:08 
GeneralProblem in setting focus Pin
Dev Motiramani22-Feb-08 1:14
Dev Motiramani22-Feb-08 1:14 
GeneralAsp.net help. Pin
MrSalman21-Feb-08 23:42
MrSalman21-Feb-08 23:42 
GeneralRe: Asp.net help. Pin
Christian Graus21-Feb-08 23:44
protectorChristian Graus21-Feb-08 23:44 
GeneralFor a site with millions of users what architecture should be best in asp.net Pin
Rizwan Bashir21-Feb-08 23:26
Rizwan Bashir21-Feb-08 23:26 
GeneralRe: For a site with millions of users what architecture should be best in asp.net Pin
Guffa22-Feb-08 0:57
Guffa22-Feb-08 0:57 
Our company runs a web site with fairly high load. At high tide it goes up to about 400 requests per second.

We have two load balanced web servers, and one database server. The web servers doesn't work very hard, though. At top load they reach 4% CPU usage...

It's a three tired application, but the business layer is part of the application running on the web servers, so there is no physical separation between the presentation layer and the business layer.

Rizwan Bashir wrote:
on each user login or each query system will open a new connection with SQL server which would kill SQL server.


There is hardly any risk for that. The database connections are pooled in .NET, so most of the time you will recycle an already open connection instead of establishing a completely new connection.

If you just try to minimise the time that you use the connection (open late, close early), each page will use a connection only a few milliseconds, so the server can produce a whole lot of pages per second with only a few connections in the pool.

However, to reduce database load you can use caching in the web application. We cache search results (lists of item id:s) and items (cars), so some pages are created without the need to call the database at all.

Despite everything, the person most likely to be fooling you next is yourself.

GeneralRe: For a site with millions of users what architecture should be best in asp.net Pin
Rizwan Bashir22-Feb-08 4:11
Rizwan Bashir22-Feb-08 4:11 
Generalwant to run a script on page load Pin
sanjubaba21-Feb-08 22:37
sanjubaba21-Feb-08 22:37 
GeneralRe: want to run a script on page load Pin
Mark J. Miller22-Feb-08 5:29
Mark J. Miller22-Feb-08 5:29 
QuestionHow To Authenticate Clients to printing From Server Using ASP.NET C#? specially 4 navaneeth Pin
ashish bhakhar21-Feb-08 22:28
ashish bhakhar21-Feb-08 22:28 
AnswerRe: How To Authenticate Clients to printing From Server Using ASP.NET C#? specially 4 navaneeth Pin
J4amieC21-Feb-08 22:43
J4amieC21-Feb-08 22:43 
AnswerRe: How To Authenticate Clients to printing From Server Using ASP.NET C#? specially 4 navaneeth Pin
ashish bhakhar21-Feb-08 22:52
ashish bhakhar21-Feb-08 22:52 
GeneralRe: How To Authenticate Clients to printing From Server Using ASP.NET C#? specially 4 navaneeth Pin
Colin Angus Mackay22-Feb-08 0:20
Colin Angus Mackay22-Feb-08 0:20 
GeneralRe: How To Authenticate Clients to printing From Server Using ASP.NET C#? specially 4 navaneeth Pin
ashish bhakhar22-Feb-08 0:21
ashish bhakhar22-Feb-08 0:21 
Generalwindows service is not showing in services Pin
Satish - Developer21-Feb-08 22:14
Satish - Developer21-Feb-08 22:14 
GeneralRe: windows service is not showing in services Pin
N a v a n e e t h21-Feb-08 22:26
N a v a n e e t h21-Feb-08 22:26 
GeneralRe: windows service is not showing in services Pin
Satish - Developer21-Feb-08 23:11
Satish - Developer21-Feb-08 23:11 
GeneralRe: windows service is not showing in services Pin
Rahul Joshi22-Feb-08 2:14
Rahul Joshi22-Feb-08 2:14 
QuestionHow To Authenticate Clients to Printing From Server Using ASP.NET C# Pin
ashish bhakhar21-Feb-08 21:37
ashish bhakhar21-Feb-08 21:37 
GeneralRe: How To Authenticate Clients to Printing From Server Using ASP.NET C# Pin
N a v a n e e t h21-Feb-08 21:48
N a v a n e e t h21-Feb-08 21:48 
GeneralRe: How To Authenticate Clients to Printing From Server Using ASP.NET C# Pin
ashish bhakhar21-Feb-08 22:11
ashish bhakhar21-Feb-08 22:11 
GeneralRe: How To Authenticate Clients to Printing From Server Using ASP.NET C# Pin
N a v a n e e t h21-Feb-08 22:25
N a v a n e e t h21-Feb-08 22:25 
GeneralRe: How To Authenticate Clients to Printing From Server Using ASP.NET C# Pin
ashish bhakhar21-Feb-08 22:59
ashish bhakhar21-Feb-08 22:59 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.