Advertisement

08.26.2004 at 06:10AM PDT, ID: 21108186
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

9.0

Connection Pooling Solutions

Asked by SiJP in Visual Basic Programming, Delphi Database

I've a few questions regarding connection pooling.

I currently have an SQL Server 2000 backend (using five databases), and a VB exe frontend.  I'm looking to distribute the application to small usergroups of between 5-15 people, using MSDE in place of the full blown SQL server (for obvious cost reasons).

MSDE has a concurrency manager that limits the number of user connections (e.g. SPID's over 50) to 5, before performance starts degrading.

I've (sort of) come across connection pooling; really there is not a huge amount of information on the 'net to research this topic, but what I have discovered is that multiple users can use the 'same' connection to access data from source.

In my scanario, I'm looking to implement restrictions on the connection, so that a user will have to wait for the connection to become available before executing his/her request.

For example Joe says "Can I have all records from Employees", Mike says "Can I have all records from Sales" and Dame Wantalot Mountsarehuge III says "I want all records from Orders".

Because all three requests need to use the one connection, if the requests were submitted in the order as per the above, Joe would use the connection first, have his results returned, Mike would use the connection second, and the Dame would have to sit and want, till Mike had finished.

I'm thinking of doing the following to achieve this:

 - set up a module in my project that opens and shuts one connection to my SQL sever at a time (well, one connection for each database)
 - set up all functions that use ado connections to request one from the above module.. if it's in use, wait until it's available.


1) Does connection pooling acheive what I want to do, as in the scenario above?
2) Am I even thinking along the right sort of lines?
3) What methodology would you suggest to acheive my aim?
3) Am I trying to reinvent the wheel?
4) Does my hair really look bad when dipped in peroxide?


I look forward to your comments / discussions..Start Free Trial
[+][-]08.26.2004 at 06:45AM PDT, ID: 11902545

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.26.2004 at 07:02AM PDT, ID: 11902756

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.26.2004 at 04:53PM PDT, ID: 11908612

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Visual Basic Programming, Delphi Database
Sign Up Now!
Solution Provided By: dancebert
Participating Experts: 2
Solution Grade: A
 
 
[+][-]08.27.2004 at 01:06AM PDT, ID: 11910609

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32