What is the best practice for querying, inserting and deleting from a SQL
2000 database from high traffic ASP.NET web forms? Is it to have the
SqlConnection & SqlCommand object initialized and stored globally in the
Application object, or is it to dynamically create and destroy them with
every visit to the web forms? I am seeing a serious problem with
performance when I got to over 1000 users consecutively. I estimate a usage
of over 10,000.
If I am to store the SqlConnection and Command objects in the global
Application object, how will I deal with threading, or is IIS single
threaded?
How do sites like Google perform their queries? They must be in the million
hit range.
My next question is will transactions help to improve performance? And if
so, where can I find completed samples?
I know I have a lot of question and I thank you for your help in advance.
Sincerely,
- Rashad Rivera 1 1020
you were't real specific with the issues you were having but you need to
read this first http://msdn.microsoft.com/library/de...andbuilder.asp
bill has been a longtime vet on this issues so his recommendations are
pretty accurate
--
Regards,
Alvin Bruney
[ASP.NET MVP http://mvp.support.microsoft.com/default.aspx]
Got tidbits? Get it here... http://tinyurl.com/27cok
"Rashad Rivera" <rashadrivera.I _HATE_SPAM@SPAM _REALLY_SUCKS.h otmail.com>
wrote in message news:u8******** ******@tk2msftn gp13.phx.gbl... What is the best practice for querying, inserting and deleting from a SQL 2000 database from high traffic ASP.NET web forms? Is it to have the SqlConnection & SqlCommand object initialized and stored globally in the Application object, or is it to dynamically create and destroy them with every visit to the web forms? I am seeing a serious problem with performance when I got to over 1000 users consecutively. I estimate a usage of over 10,000. If I am to store the SqlConnection and Command objects in the global Application object, how will I deal with threading, or is IIS single threaded? How do sites like Google perform their queries? They must be in the million hit range. My next question is will transactions help to improve performance? And if so, where can I find completed samples? I know I have a lot of question and I thank you for your help in advance. Sincerely, - Rashad Rivera
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: john doe |
last post by:
A quick question, about so-called 'best practices', I'm interested in
which of A/B of the two examples people would choose, and why.
public enum MyEnum
{
Option1 = 0,
Option2 = 1,
Option3 = 2,
Option4 = 3
|
by: jarit |
last post by:
Hi,
Found these coding guidelines for C#, HTML, Javascript, Java, HTML,
PL/SQL, T-SQL, VB and VBScript.
Well written and free to download.
www.demachina.com/products/swat
Jeroen
|
by: srishanu |
last post by:
I want to do something, but i dont know how clear i'm going to explain
it. Please help me with this matter. Following is what i want to b
done.
i'm doing a web site which has several items (which suppos to b links)
listed one after one.
When u click on each item, there is a description to b appeared over
the page. What i want is, this description page (or rather a box)
should appear over the excisting details of the page, and also i...
|
by: jhooper71 |
last post by:
It's been recommended to me to use a webservice and XML for the data
manipulation layer for web applications in .NET 1.1. I was thinking I
could use the web service to extend the database interface to a Smart
Phone/Treo solution eventually.
I would like to create our apps in the most current development
environment but, do I abandon the webservice-->Dataset--> XML
-->Http-->XML --> dataset -->gridview methodology? Is there a better...
|
by: PMA |
last post by:
Hi all,
I am porting a web application from IE 6.0 to FireFox 1.5. I have
solved almost all compatibility issues (quite a lot but not too bad)
except two of them :
1) Clipboard access thru' JavaScript (programmatical copy and
paste actions)
2) Monitoring and driving Insert/Overwrite mode on input fields
| |
by: puzzlecracker |
last post by:
It'd be interesting to compare the learning practices of c++
practitioners. I'll start with mine
The C++ Programming Language
C++ Primer
Effective C++
More Effective C++
Effective STL
The C++ Standard Library : A Tutorial and Reference (most of it)
Exceptional C++
|
by: Anthony Biondo Jr |
last post by:
Hi Everyone:
We are looking to start writing some web services and I was wondering what
the standard practices for securing web services out there. I was thinking
that we could create a business partner id and password and authenticate
against a sql database. Can anyone tell me what they are using out there.
The services would be public internet, so WinNT Authentication won't work in
the situation.
thanks,
|
by: John Nagle |
last post by:
I have XML replies in a DOM which contain entity escapes,
like "&". What's the proper way to replace them with
the ordinary characters? Preferably something that will work in
most browsers?
I know about ".innerText", but that's not portable; some
browsers convert escapes when reading from innerText and some
don't.
John Nagle
|
by: Subhendu |
last post by:
I am Subhendu...I m an consultant ... We have an argent requirements
with One of our client for Chief Architect(Sr Director) Position.
Post :Chief Architect(Sr Director)
Reporting to: CTO
Years Of Experience : 16yrs+ in C++/Java
Location : Bangalore@India
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |