473,395 Members | 1,622 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,395 software developers and data experts.

Can you have 50 simultaneous web users with a MSDE, ASP.NET/ADO.NET backend...?

Since an ASP.NET/ADO.NET website is run on the server by a single "asp_net
worker process", therefore doesn't that mean that even 50 simultaneous human
users of the website would appear to the database backend as a single user.
Therefore, wouldn't switching our Access (actually Jet 4.0 OLEDB) database
backend on our ASP.NET/ADO.NET website to an MSDE backend be an advantageous
change to make while NOT limiting the number of simultaneous web users in
any way?
Nov 19 '05 #1
12 2285
You got it...

Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

"Dan V." <da**@yah.com> wrote in message news:uX**************@TK2MSFTNGP15.phx.gbl...
Since an ASP.NET/ADO.NET website is run on the server by a single "asp_net
worker process", therefore doesn't that mean that even 50 simultaneous human
users of the website would appear to the database backend as a single user.
Therefore, wouldn't switching our Access (actually Jet 4.0 OLEDB) database
backend on our ASP.NET/ADO.NET website to an MSDE backend be an advantageous
change to make while NOT limiting the number of simultaneous web users in
any way?

Nov 19 '05 #2
Dan V. wrote:
Since an ASP.NET/ADO.NET website is run on the server by a single
"asp_net worker process", therefore doesn't that mean that even 50
simultaneous human users of the website would appear to the database
backend as a single user.
No. Multiple connections will be made. Yes, they will be made by the same
user, but that does not decrease the number of connections made. Each
connection contains its own session.
Therefore, wouldn't switching our Access
(actually Jet 4.0 OLEDB) database backend on our ASP.NET/ADO.NET
website to an MSDE backend be an advantageous change to make while
NOT limiting the number of simultaneous web users in any way?


I don't follow you. In your first statement, you seem to be arguing (albeit
based on a flawed premise) in favor of retaining your Access backend ...
Bob Barrows
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
Nov 19 '05 #3
I understood his post as requesting confirmation for his impression
that replacing his Access database with an MSDE database would
increase his his website's capacity to serve customers, since MSDE
doesn't choke on 50 simultaneous connections while Access might.

I agree with that.

Whether it's 50 simultaneous users each requesting a connection,
or one user requesting 50 connections is immaterial to the end result :

At some point, Access will choke while MSDE will continue to chug along.


Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

"Bob Barrows [MVP]" <re******@NOyahoo.SPAMcom> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
Dan V. wrote:
Since an ASP.NET/ADO.NET website is run on the server by a single
"asp_net worker process", therefore doesn't that mean that even 50
simultaneous human users of the website would appear to the database
backend as a single user.


No. Multiple connections will be made. Yes, they will be made by the same
user, but that does not decrease the number of connections made. Each
connection contains its own session.
Therefore, wouldn't switching our Access
(actually Jet 4.0 OLEDB) database backend on our ASP.NET/ADO.NET
website to an MSDE backend be an advantageous change to make while
NOT limiting the number of simultaneous web users in any way?


I don't follow you. In your first statement, you seem to be arguing (albeit
based on a flawed premise) in favor of retaining your Access backend ...
Bob Barrows
--
Microsoft MVP -- ASP/ASP.NET

Nov 19 '05 #4
I am saying we would switch to MSDE if it was faster - I thought it was
clear... :)
Therefore, wouldn't switching our Access
(actually Jet 4.0 OLEDB) database backend on our ASP.NET/ADO.NET
website to an MSDE backend be an advantageous change to make while
NOT limiting the number of simultaneous web users in any way?


"Bob Barrows [MVP]" <re******@NOyahoo.SPAMcom> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl... Dan V. wrote:
Since an ASP.NET/ADO.NET website is run on the server by a single
"asp_net worker process", therefore doesn't that mean that even 50
simultaneous human users of the website would appear to the database
backend as a single user.
No. Multiple connections will be made. Yes, they will be made by the same
user, but that does not decrease the number of connections made. Each
connection contains its own session.
Therefore, wouldn't switching our Access
(actually Jet 4.0 OLEDB) database backend on our ASP.NET/ADO.NET
website to an MSDE backend be an advantageous change to make while
NOT limiting the number of simultaneous web users in any way?


I don't follow you. In your first statement, you seem to be arguing

(albeit based on a flawed premise) in favor of retaining your Access backend ...
Bob Barrows
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.

Nov 19 '05 #5
Juan T. Llibre wrote:
I understood his post as requesting confirmation for his impression
that replacing his Access database with an MSDE database would
increase his his website's capacity to serve customers, since MSDE
doesn't choke on 50 simultaneous connections while Access might.

I agree with that.

Same here - while I have read about an application where careful coding and
connection-handling allowed Access to adequately handle 200 users, MSDE
would probably have done the job better.
Whether it's 50 simultaneous users each requesting a connection,
or one user requesting 50 connections is immaterial to the end result
:

At some point, Access will choke while MSDE will continue to chug
along.


Again, careful connection-handling might allow Access to chug along as well
as MSDE. Don't forget about the thread-governor in MSDE ...

Bob Barrows

--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
Nov 19 '05 #6
I know, but the first sentence muddied the waters ...

I agree that MSDE should be used. Again, while it is possible to manage your
connections so that Access will perform well under this user load, MSDE will
be more forgiving if you get sloppy ... with Access, one connection left
open too long will bring things to a screeching halt. You have to do things
exactly right to make Access work well in these copnditions, as well as
making the proper sacrifices (virgin calves only) ... ;-)

Bob

Dan V. wrote:
I am saying we would switch to MSDE if it was faster - I thought it
was clear... :)
Therefore, wouldn't switching our Access
(actually Jet 4.0 OLEDB) database backend on our ASP.NET/ADO.NET
website to an MSDE backend be an advantageous change to make while
NOT limiting the number of simultaneous web users in any way?


--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
Nov 19 '05 #7
On Wed, 13 Jul 2005 08:22:40 -0400, "Dan V." <da**@yah.com> wrote:

¤ Since an ASP.NET/ADO.NET website is run on the server by a single "asp_net
¤ worker process", therefore doesn't that mean that even 50 simultaneous human
¤ users of the website would appear to the database backend as a single user.
¤ Therefore, wouldn't switching our Access (actually Jet 4.0 OLEDB) database
¤ backend on our ASP.NET/ADO.NET website to an MSDE backend be an advantageous
¤ change to make while NOT limiting the number of simultaneous web users in
¤ any way?
¤

As Bob mentioned in one of his posts you may want to keep in mind the that MSDE has a Workload
Governor that will throttle connections when there are more than eight concurrent operations. This
could perceptibly affect performance when using MSDE.
Paul
~~~~
Microsoft MVP (Visual Basic)
Nov 19 '05 #8
Like all versions of SQL Server 2000, SQL Server 2000 Personal Edition
and MSDE 2000 allow 32,767 connections to an instance of the database
engine.

There is no limit for the number of connections that can be executing operations
at the same time. The only effect of the workload governor is that it starts slowing
down the database engine when more than eight operations are actively running
at the same time.

Once it has been activated, the workload governor limits performance by stalling
a user connection for a few milliseconds each time the connection requests a logical
read or write on any of the pages in the data files of a database.
(The governor does not affect log files.)

The database engine waits before every data page reference as long as there
are more than eight active concurrent operations. When the number of active
operations is eight or lower, the database engine does not wait before scheduling
any reads or writes.

50 simultaneous users does *not* equal 50 simultaneous connections.

Users do *not* request database operations at all times they are connected.

Some time is spent reading the results, too, which downlevels
the number of connections being accessed simultaneously.

A few milliseconds delay for an MSDE read/write operation is negligible,
and *no* read/write operation will be denied.

In any case, performance will be better for an MSDE database
than for an Access database when users are approximately 50.


Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

"Paul Clement" <Us***********************@swspectrum.com> wrote in message
news:3l********************************@4ax.com...
On Wed, 13 Jul 2005 08:22:40 -0400, "Dan V." <da**@yah.com> wrote:

¤ Since an ASP.NET/ADO.NET website is run on the server by a single "asp_net
¤ worker process", therefore doesn't that mean that even 50 simultaneous human
¤ users of the website would appear to the database backend as a single user.
¤ Therefore, wouldn't switching our Access (actually Jet 4.0 OLEDB) database
¤ backend on our ASP.NET/ADO.NET website to an MSDE backend be an advantageous
¤ change to make while NOT limiting the number of simultaneous web users in
¤ any way?
¤

As Bob mentioned in one of his posts you may want to keep in mind the that MSDE has a
Workload
Governor that will throttle connections when there are more than eight concurrent
operations. This
could perceptibly affect performance when using MSDE.
Paul
~~~~
Microsoft MVP (Visual Basic)


Nov 19 '05 #9
Hi Dan:

In addition to the other good advice, I'll point out the moving to
MSDE now will put you in an easier position to move to SQL 2005
Express when it ships. There is no workload governor in 2005 and the
feature set compared to Access is even greater.

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Wed, 13 Jul 2005 08:22:40 -0400, "Dan V." <da**@yah.com> wrote:
Since an ASP.NET/ADO.NET website is run on the server by a single "asp_net
worker process", therefore doesn't that mean that even 50 simultaneous human
users of the website would appear to the database backend as a single user.
Therefore, wouldn't switching our Access (actually Jet 4.0 OLEDB) database
backend on our ASP.NET/ADO.NET website to an MSDE backend be an advantageous
change to make while NOT limiting the number of simultaneous web users in
any way?


Nov 19 '05 #10
Thanks for this excellent informative post.

"Juan T. Llibre" <no***********@nowhere.com> wrote in message
news:eN**************@TK2MSFTNGP10.phx.gbl...
Like all versions of SQL Server 2000, SQL Server 2000 Personal Edition
and MSDE 2000 allow 32,767 connections to an instance of the database
engine.

There is no limit for the number of connections that can be executing operations at the same time. The only effect of the workload governor is that it starts slowing down the database engine when more than eight operations are actively running at the same time.

Once it has been activated, the workload governor limits performance by stalling a user connection for a few milliseconds each time the connection requests a logical read or write on any of the pages in the data files of a database.
(The governor does not affect log files.)

The database engine waits before every data page reference as long as there are more than eight active concurrent operations. When the number of active operations is eight or lower, the database engine does not wait before scheduling any reads or writes.

50 simultaneous users does *not* equal 50 simultaneous connections.

Users do *not* request database operations at all times they are connected.
Some time is spent reading the results, too, which downlevels
the number of connections being accessed simultaneously.

A few milliseconds delay for an MSDE read/write operation is negligible,
and *no* read/write operation will be denied.

In any case, performance will be better for an MSDE database
than for an Access database when users are approximately 50.


Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

"Paul Clement" <Us***********************@swspectrum.com> wrote in message
news:3l********************************@4ax.com...
On Wed, 13 Jul 2005 08:22:40 -0400, "Dan V." <da**@yah.com> wrote:

¤ Since an ASP.NET/ADO.NET website is run on the server by a single "asp_net ¤ worker process", therefore doesn't that mean that even 50 simultaneous human ¤ users of the website would appear to the database backend as a single user. ¤ Therefore, wouldn't switching our Access (actually Jet 4.0 OLEDB) database ¤ backend on our ASP.NET/ADO.NET website to an MSDE backend be an advantageous ¤ change to make while NOT limiting the number of simultaneous web users in ¤ any way?
¤

As Bob mentioned in one of his posts you may want to keep in mind the that MSDE has a Workload
Governor that will throttle connections when there are more than eight concurrent operations. This
could perceptibly affect performance when using MSDE.
Paul
~~~~
Microsoft MVP (Visual Basic)


Nov 19 '05 #11
Good point, Scott !
Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

"Scott Allen" <sc***@nospam.odetocode.com> wrote in message
news:g0********************************@4ax.com...
Hi Dan:

In addition to the other good advice, I'll point out the moving to
MSDE now will put you in an easier position to move to SQL 2005
Express when it ships. There is no workload governor in 2005 and the
feature set compared to Access is even greater.

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Wed, 13 Jul 2005 08:22:40 -0400, "Dan V." <da**@yah.com> wrote:
Since an ASP.NET/ADO.NET website is run on the server by a single "asp_net
worker process", therefore doesn't that mean that even 50 simultaneous human
users of the website would appear to the database backend as a single user.
Therefore, wouldn't switching our Access (actually Jet 4.0 OLEDB) database
backend on our ASP.NET/ADO.NET website to an MSDE backend be an advantageous
change to make while NOT limiting the number of simultaneous web users in
any way?

Nov 19 '05 #12
That's another clincher!
Now I'm curious as to the increased feature set...:) I'll find out
eventually.

"Scott Allen" <sc***@nospam.odetocode.com> wrote in message
news:g0********************************@4ax.com...
Hi Dan:

In addition to the other good advice, I'll point out the moving to
MSDE now will put you in an easier position to move to SQL 2005
Express when it ships. There is no workload governor in 2005 and the
feature set compared to Access is even greater.

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Wed, 13 Jul 2005 08:22:40 -0400, "Dan V." <da**@yah.com> wrote:
Since an ASP.NET/ADO.NET website is run on the server by a single "asp_networker process", therefore doesn't that mean that even 50 simultaneous humanusers of the website would appear to the database backend as a single user.Therefore, wouldn't switching our Access (actually Jet 4.0 OLEDB) databasebackend on our ASP.NET/ADO.NET website to an MSDE backend be an advantageouschange to make while NOT limiting the number of simultaneous web users in
any way?

Nov 19 '05 #13

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

Similar topics

4
by: Tim Morrison | last post by:
SQL Server 2000 - MSDE 2000 Is there a way to get the number of current users logged into a SQL 2000 Server (also MSDE)? Cant be distinct users as most users are logged into the database using the...
3
by: *no spam* | last post by:
I want to move my Access 2K database into MSDE. The Access Upsizing Wizard crashes (a known bug wi A2K), so I'm using the following suggested method: Access --> New --> Project (Existing...
1
by: Mitch Olson | last post by:
Hi our company is just about to embark on developing a PIM-type application and would like to use .NET (VB6 is our distant option 2). The question we are currently investigating is whether the...
5
by: Robin Tucker | last post by:
I'm looking for a simple way of telling (inside a stored procedure) if I'm currently using MSDE or a full SQL server. Ideally, there is some pre-defined environment variable that won't cause me...
8
by: Stephen Corey | last post by:
I'm writing an app that basically just appends text to a text file on a Win2K Server. They fill out a form, click a button, and 1 line is appended to the file. Multiple people will run this app at...
4
by: Anthony P. Mancini | last post by:
Does anyone know how to make the MSDE do SQL authentication ? It appears to authenticate using Windows at all times. Thanks, Anthony
1
by: Mark | last post by:
What's the best way to simulate 30 simultaneous web users without: 1. Asking our 30 favorite friends to participate 2. Opening 30 different browsers manually on my desktop. Thanks in advance....
1
by: Simon | last post by:
Is there HTTP connection limit of 2 simultaneous connections in webservices? For example what hapens if you use webservices form ASP.NET web application? Presumably ASP.NET is webservices client to...
1
by: accyboy1981 | last post by:
Hi, I currently looking into creating a website that is database driven in asp.net 2.0 and using C#. In creating this website there could be a maximum of 350 simulataneous accessing the...
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: 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...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
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,...
0
jinu1996
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...
0
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...

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.