Re: question about 3sec timeouts with tcp

From: H. Willstrand
Date: Tue Apr 01 2008 - 18:09:26 EST


On Tue, Apr 1, 2008 at 11:30 PM, Bernd Eckenfels <ecki@xxxxxxxxxxxx> wrote:
> In article <47F29777.6020400@xxxxxxxx> you wrote:
> > I'm not sure what do you mean by "mass produce" connections, but even
> > with only 200 connections/sec to the mysql-server the delay occured.
>
> Just an unrelated question: why dont you use a connection pool in this
> scenario. With Oracle for example that would totally break down, a typical
> connect takes 80-130ms with Oracle on *ix.
>
> I can imagine that the TCP Handshake and slowstart delay would also speed up
> your Web Application (and put less stress on your network stack :)
>
> Gruss
> Bernd
>
Yes, you are right, a connection pool will do the job.
Still, the issue remains... In other cases a connection pool might not
work. Consider a linux based network switch, IDS or similar.

//HW

>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-net" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
--
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html