Hallo,
was würdet ihr empfehlen. Habe einen stark frequentierten Server mit überwiegend dynamischen Inhalten.
Würdet ihr empfehlen Persistente Mysql Verbindungen mit php zu benutzen oder doch lieber bei jedem request eine neue verbindung?!
Hat jemand erfahrungen damit ?!
Im Vorraus schon vielen Dank (... und frohe weihnachten)
Grüße
Kevin
php: persistente Datenbankverbindungen
Re: php: persistente Datenbankverbindungen
PayPal.Me/JoeUser ● FreeBSD Remote Installation
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Re: php: persistente Datenbankverbindungen
Vielen Dank für Deine Antwort, allerdings habe ich die seite hab ich schonmal gelesen.
Da steht es ja nur so allgemein drin. Aber was ist am besten, wenn der Server unter hoher Last steht?! persistente oder non-peristente Verbindungen?!
Da steht es ja nur so allgemein drin. Aber was ist am besten, wenn der Server unter hoher Last steht?! persistente oder non-peristente Verbindungen?!
Re: php: persistente Datenbankverbindungen
Nur wenn die Scripte wirklich sauber (gemäss Manual) geschrieben sind, kann man persistente Verbindungen nutzen. "Standardscripte" sind im Regelfall nicht sauber geschrieben...
PayPal.Me/JoeUser ● FreeBSD Remote Installation
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
