[Red5] Leaving Database Connection Open
Mike
mike at pointandclicksites.com
Sun Sep 9 08:24:34 PDT 2007
Anze,
Thanks for the input.
I'll have to check that out as I am not familiar with it.
-Mike
Anze Cesar wrote:
> It might be wise to use the already built in db pool. Now, you should
> know, I'm not very experienced with red5, but I've worked with tomcat
> quite a lot lately, and as I understand it, red5 is built around this
> container. Also, if you use standalone red5, your container of choice
> most certainly supports this technology. I have no good resource
> available to point you to, so you should explore a little. Here's a
> starting point http://commons.apache.org/dbcp/ :)
>
> On 9/8/07, *Mike* <mike at pointandclicksites.com
> <mailto:mike at pointandclicksites.com>> wrote:
>
> I'm creating a Red5 application that talks to MySQL via JDBC.
>
> Once I establish a connection to the database, is there every any
> reason
> to close it?
> Should I just establish a connection on appStart() and leave the
> connection open for the duration of my application?
>
> As clients connect and interact with my application, I will of
> course be
> doing a lot of SELECT, INSERT, UPDATE, etc.
>
> Any input is welcome on this topic.
> -Mike
>
>
>
> _______________________________________________
> Red5 mailing list
> Red5 at osflash.org <mailto:Red5 at osflash.org>
> http://osflash.org/mailman/listinfo/red5_osflash.org
>
>
>
>
> --
> lp,
> Anže
> ------------------------------------------------------------------------
>
> _______________________________________________
> Red5 mailing list
> Red5 at osflash.org
> http://osflash.org/mailman/listinfo/red5_osflash.org
>
More information about the Red5
mailing list