bug-myserver
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-myserver] task #9307: Propose to improve GNU MyServer Throughpu


From: Giuseppe Scrivano
Subject: Re: [bug-myserver] task #9307: Propose to improve GNU MyServer Throughput and Reliability
Date: Sun, 12 Apr 2009 00:03:29 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux)

Hi Alexandru,

Alexandru IANCU <address@hidden> writes:

> yes, a TCP connection is a subset of a SCTP stream. 
> SCTP stream transports also notifications about different events like
> negotiation of streams number SCTP association will have, so between a
> SCTP stream and a protocol I see a data filter.
>
> I'm looking also at the code and I would change some parts that are not
> related with SCTP associations: Protocol class derived from Filter and
> Connection derived from FiltersChain.

Actually `Connection' maps a layer 7 protocol as HTTP or FTP, how a
protocols chain can work?

I was thinking to model the problem in another way: now a connection is
scheduled and made available to a thread when there is new data, and
presumably a new request, on its socket.  This works well with TCP but
using SCTP what should be scheduled is not the socket itself but a
stream inside the socket, in other words the same connection can be
scheduled on different threads at the same time, what will be different
is not the connection but its stream.
Some things must be abstracted in the current code to make it working
well both on SCTP and TCP but it was on account :)

Happy Easter Day!
Giuseppe




reply via email to

[Prev in Thread] Current Thread [Next in Thread]