← Back to team overview

maria-discuss team mailing list archive

Re: doubt with thread pool

 

On Tue, Nov 10, 2015 at 6:47 PM, Roberto Spadim <roberto@xxxxxxxxxxxxx>
wrote:

> i'm with a doubt
> if i have a thread pool with 1000 threads and a max_connections with 100
> connections
> can i have more than 100 clients connected (1000 threads for example)? dos
> thread pool size limit the max connections, or max connections limite the
> thread pol size?
>
>

max_connections is the ultimate limit on number of total connections. it
does not make sense to have thread pool size larger as the max. number of
connections. thread pool size is something that limits number of
concurrently running ( executing on CPU rather than waiting) commands. It
does not make sense to have it larger than max. connections.

> --
> Roberto Spadim
>
> _______________________________________________
> Mailing list: https://launchpad.net/~maria-discuss
> Post to     : maria-discuss@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~maria-discuss
> More help   : https://help.launchpad.net/ListHelp
>
>

On Tue, Nov 10, 2015 at 6:47 PM, Roberto Spadim <roberto@xxxxxxxxxxxxx>
wrote:

> i'm with a doubt
> if i have a thread pool with 1000 threads and a max_connections with 100
> connections
> can i have more than 100 clients connected (1000 threads for example)? dos
> thread pool size limit the max connections, or max connections limite the
> thread pol size?
>
> --
> Roberto Spadim
>
> _______________________________________________
> Mailing list: https://launchpad.net/~maria-discuss
> Post to     : maria-discuss@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~maria-discuss
> More help   : https://help.launchpad.net/ListHelp
>
>

Follow ups

References