Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Connectionpool Configurations

 
Reeta Champs
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

In connectionpool configuration, How to calculate the min, max connections in pool. Also if we give maxpool=30, does that means that at any point of time only 30 people can connect to the website?

How can thousands of users will access the website concurrently if the max pool size is only 30?

Thanks In advance
Reeta
 
Herman Schelti
Ranch Hand
Posts: 387
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi Reeta,

No, it does not mean that only 30 people can connect to your website
(but a lot more).

It means that you can have 30 connections at the same time to your database.

An example:
If your average SQL-query takes 0.5 seconds, you can do about 60 queries per second. If the average user does 1 SQL-query per 10 seconds, you can handle about 600 users at the same time.

Herman
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic