Stefan, Here is another case.
Developer Joe wants to write some project management app and ask the infrastructure deparatment to provied a database. Now instead of providing access to the mysql database we create a dbslayer instance, limit it to 2 connections and provide this to the developer. The app can now be deployed to 20 servers but we are sure that it will consume max 2 connections of the db server and not more. On Wed, Oct 14, 2009 at 8:00 AM, Stefan de Konink <[email protected]> wrote: > > > Op 14 okt 2009 om 07:45 heeft Atif Ghaffar <[email protected]> het > volgende geschreven:\ > > > > On Wed, Oct 14, 2009 at 12:07 AM, Stefan de Konink < <[email protected]> > [email protected]> wrote: > >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA512 >> >> ...and what performs better? >> >> I am sure that your version performs better :-) > Thats not the point. > > > It is the point ;) because if I want pooling is implemented in a blink, but > if it is slower, why bother ;) > > > The only reason to bother is if the login time has a significant overhead, > what exists for some databases. MonetDB for example. > > > For this specific case (Connection limiting) it does not work for me but > was a good experiment. > > > So you would like to have a version that serializes requests or creates a > connection when no free connection is available? > > > Stefan > > > best regards > > >> Stefan >> -----BEGIN PGP SIGNATURE----- >> Version: GnuPG v2.0.11 (GNU/Linux) >> Comment: Using GnuPG with Mozilla - <http://enigmail.mozdev.org> >> http://enigmail.mozdev.org >> >> iEYEAREKAAYFAkrU+gQACgkQYH1+F2Rqwn2a5QCfSS3rSGTOrosmT7CANLX3/265 >> sLMAnilKinWxfsj4fVkWbkRDVB3HcQSS >> =zR3M >> -----END PGP SIGNATURE----- >> > > > > -- > best regards > Atif Ghaffar > > -- best regards Atif Ghaffar
_______________________________________________ Cherokee mailing list [email protected] http://lists.octality.com/listinfo/cherokee
