Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Aiheen aloitti: Andrew - lokakuu 08, 2004, 12:58:24 IP

Otsikko: Persistent Connection - should I use it?
Kirjoitti: Andrew - lokakuu 08, 2004, 12:58:24 IP
Does anyone want to write a quick paragraph explaining the persistent connection option?  What are the advantages / disadvantages?  I couldn't find any old posts about this.

In my case, I have a dedicated server and (right now) about 2,500 posts per day.  My forum seems to be running well, but would it be even better with a persistent connection?  Or does this use more system resources?
Otsikko: Re: Persistent Connection - should I use it?
Kirjoitti: A.M.A - lokakuu 08, 2004, 01:18:06 IP
This might explain it :
http://www.phpbuilder.com/manual/features.persistent-connections.php
Otsikko: Re: Persistent Connection - should I use it?
Kirjoitti: [Unknown] - lokakuu 08, 2004, 04:01:06 IP
I would suggest trying it for a few days.  Generally, you want to use it on dedicated servers.

-[Unknown]
Otsikko: Re: Persistent Connection - should I use it?
Kirjoitti: bluevoodu - helmikuu 04, 2005, 06:55:04 IP
I know this may be a dumb question... but is there any other risks with using persistent connections?

I am on a dedicated server and want to try it out.  I highly doubt it will improve performance much as we are a smaller board / site for now.

but now that I got everything working good, I want to do as little as possible in case of errors..etc.

†B†V†
Otsikko: Re: Persistent Connection - should I use it?
Kirjoitti: [Unknown] - helmikuu 04, 2005, 09:15:16 IP
It shouldn't be risky, no...

-[Unknown]
Otsikko: Re: Persistent Connection - should I use it?
Kirjoitti: Ben_S - helmikuu 04, 2005, 09:25:27 IP
Assuming you have MySQL tweaked and have a sensible value for wait_timeout, it should reduce the load a bit.
Otsikko: Re: Persistent Connection - should I use it?
Kirjoitti: bluevoodu - helmikuu 04, 2005, 09:50:42 IP
thank you for your help.

what is considered a sensible time?
I would have to look up what we have it set at.

thanks,
†B†V†