[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference amcucs::ms-sqlsvr

Title:Microsoft SQL Server Support
Notice:Please Registar, Note #11
Moderator:AMCUCS::BETTS
Created:Tue Aug 23 1994
Last Modified:Thu Jun 05 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:382
Total number of notes:1233

342.0. "1000 Vb clienst hitting SQlserver in 2 tier mode" by SIOG::KEYES (Digital Appliation Gen. DTN 827-2705) Sat Feb 22 1997 11:10

    
    Have to ask this though I think its impossible.
    
    We are been asked if anybody knows a customer who have..wait for it..
    1000 VB (one thousand) clients hitting a SQLserver database in 2 tier mode.
    
    (I know the amount of concurrent users would be a  factor..I believe it
    would be high)
    
    I think it such a scenario you would need a TP monitor to handle this.
    
    Any comments
    
    rgs
    
    mick
    
  Also posted in VB conference     
T.RTitleUserPersonal
Name
DateLines
342.1MPOS01::CERLINGim@miwitz.endSun Feb 23 1997 16:336
    I don't think that the fact that the clients are VB has any bearing on
    the issue.  That said, I have a customer that  had a 2100 serving about
    1000 clients.  They recently upgraded to a 4100.  This is a 2-tier
    environment.  Works fine.
    
    tgc
342.2NT?..SIOG::KEYESDigital Appliation Gen. DTN 827-2705Mon Feb 24 1997 04:5716
     Hi Tim,
    
    Agree about the VB point..(that is what they want to use). I would
    imagine the same would be true for Deplhi/powerbuilder etc.
    
    But 100's of concurrent users hitting a single SQLserver database in 2 
    tier mode.!
    
    Does your customer have many concurrent users ???..What database are
    they using. ( we are talking a total NT solution)
    
    Thanks in advance
    
    Mick
                  
    
342.3CSC32::HOEPNERA closed mouth gathers no feetMon Feb 24 1997 14:4611
    
    I have a customer doing around 10,000 in a 3 tier client-server 
    environment. 
    
    From the 2nd tier to the third (where the db resides) they are making 
    connections using RPC connecting to pre-exiting threads 
    (called to a NobelNet product called EZRPC) 
    so they don't have the overhead of discrete SQL Server logins.  
    
    Mary Jo 
     
342.4EPS::SLATERMarc, DTN 381-2445Mon Feb 24 1997 17:575
We've tested up to 1300 users banging on an Oracle database on WNT in
2-tiered client server mode (the application was PeopleSoft).  Don't see
why SQL Server would be any different.

MS
342.5CSC32::HOEPNERA closed mouth gathers no feetMon Feb 24 1997 19:387
    
    Wellllllll, SQL Server's concept of locking is considerably different
    than Oracle's.  I.E., a read only user can lock out a writer...
    
    Whoever writes the client application will need to be aware of 
    SQL's locking mechanism to handle this many users.
    
342.66k users in SQLServer works finePERFOM::MORGENSTEINAchilles loved PetroclusTue Feb 25 1997 09:3214

	The last TPC-C test using SQLServer connected 6000 users in a 
	3-tier model using:

		Tier 1 = web browser on desktop.  
		Tier 2 = MS Internet Server.  
		Tier 3 = SQLServer.


	There was no multiplexing of connections, so SQLServer had
	1 connection for every user.

	Ruth
342.7CSC32::HOEPNERA closed mouth gathers no feetTue Feb 25 1997 14:453
    
    Thanks for the update. 
    
342.8thanksSIOG::KEYESDigital Appliation Gen. DTN 827-2705Wed Feb 26 1997 04:5710
    
    Thanks for the information..Looks lkie 3 tier is our model (Intersting
    implmentation Ruth!).
    
    Plan will be to do an OLE implmenetation with scalable option to ACMSXP
    which is a straight forward step
    
    rgs
    
    Mick
342.9CSC32::HOEPNERA closed mouth gathers no feetWed Feb 26 1997 15:148
    
    Or before you get committed to three tier, you may want to investigate
    'Viper' (in beta from Microsoft).  New application tool which should 
    allow us to not have to use the three tier client-server approach 
    any more. 
    
    Mary Jo 
    
342.10Goto .0STKHLM::KNORNI'm still hereThu Feb 27 1997 04:0518
    
    'Viper' is a tp-monitor so we're back at square one again (note .0)
    :-).
    
    I would consider a 'viper' based application to e 3-tier application
    but that's another story.
    
    A more general question:
    
    How come SQL-server is caple of handling a huge number of clients.
    (In the RDB-world, each client will end up having it's own process
     on the server, ie 500 clients = 500 processes on the server :-( )
    How does the run time environment look in the SQLserver world, is each
    client given a seperate thread on the server or ... ?
    
    Curious,
    
    Stefan
342.11ViperSIOG::KEYESDigital Appliation Gen. DTN 827-2705Thu Feb 27 1997 05:2116
    
    Yes we are looking at Viper..In fact we have been working with it since
    Beta  (its out now). Next version of Dig application generator will
    generate the code automatically.  
    
    One thing...Viper forces a 3 tier approch (sofwtare tiers)
    
    For a Viper solution..you activate a server object through MTS (viper)..so
    you have to have a com object as server object.. Server part has to be
    seperated from client.
      
    rgs
    
    mick
    
    
342.12No extra processes, just threadsPERFOM::MORGENSTEINAchilles loved PetroclusThu Feb 27 1997 09:2519
    
>    How come SQL-server is caple of handling a huge number of clients.
>    (In the RDB-world, each client will end up having it's own process
>     on the server, ie 500 clients = 500 processes on the server :-( )
>    How does the run time environment look in the SQLserver world, is each
>    client given a seperate thread on the server or ... ?
    
Every user gets a thread inside SQLserver.  This takes up some memory, but not
nearly as much as a process would.   You have to cede some buffer cache and OS
memory to these user threads.  There's a hit of at least 40k/user just for the
static connection that you must subtract from the SQLServer memory, but then
you have to see what the dynamic hit will be from all the connections.


You do not generally need to configure extra procedure cache. SQLServer's
stored procedures are re-entrant, so you don't need separate for each of the
users.

Ruth
342.13more info needed...TAV02::ARIEArie Blum - SI DEC-IsraelWed Mar 19 1997 05:5223
 RE .1 :

 Hello,

 I've just seen the following reply in the SQL Server notes file.

 I'm trying to sell Alpha solution to a customer which doesn't believe 
 that SQLserver & NT can work properly in a large multi user C/S environment.

 Could you please tell me more about your experience :

   * Size of the database.
 
   * What type of application is it (Financial, Retail) ?

   * Are you talking about 1000 users concurrently ?

 Any information could help me and us as one company...

 best regards

  Arie Blum. 

342.14soime guessesMPOS01::naiad.mpo.dec.com::mpos01::cerlingI'm@witz.endFri Mar 21 1997 08:1918
re: .13

	I don't have all the details as this is the customer's application.  I
	did not have anything to do with the deveopment side.  That said, I
	will give some guesses.

   * Size of the database.
	10-15GB
 
   * What type of application is it (Financial, Retail) ?
	Banking - loan information/orgination/processing

   * Are you talking about 1000 users concurrently ?
	Yes, although it does come and go.  Offices are scattered across
	something like 15 states.

tgc

342.15info?SIOG::KEYESDigital Appliation Gen. DTN 827-2705Thu Mar 27 1997 18:3414
    
    re last.
    
    Sounds very interesting. is there anyone we could call or talk to
    to get more information about this...(ie specifically the development
    side). Such a 2 tier solution sould be of interest to alot of folk.
    ..with that amount of concurrent users.
    
    thanks in advance
    
    Mick 
    
    
    
342.16MPOS01::naiad.mpo.dec.com::mpos01::cerlingI'm@witz.endFri Mar 28 1997 09:2814
re: anyone to talk to

	I suppose I could ask if they are willing to talk with anyone.  I would
	like a little more information about what you are after, though.  (yes,
	I am trying to protect my customer a bit.)  I wouldn't be surprised
	to expect surprise from them that 'such a 2-tier solution should be
	of interest to alot of folk'.  After all, isn't that what people have
	been writing for years on other platforms?  Why should it be 
	considered unique because it is running on NT?

	Give me a call.  dtn 442.2187  outside 612.851.2187

tgc
342.17thanksSIOG::KEYESDigital Appliation Gen. DTN 827-2705Fri Mar 28 1997 17:3118
    
    Thanks..I will give you a call when back at office..Fully appreciate
    your concern re customer confidentiality etc etc.
    
    I'm not sure you could compare what folk have been doing for years
    in getting a large user base to work with applications...to running
    client server applications. In fact this is the core of my argument.
    If you look at VT system like decforms/acms/oracle RDB  (where most of
    the large applications we wrote/designed sit)...these were 3 tier
    by definition.  They needed the ACMS component for efficiency.
    
    Anyway will call..Thanks for the info
    
    rgs
    
    Mick