[Protocol-dev] Re: [Helix-server-dev] CR: send queue

[Protocol-dev] Re: [Helix-server-dev] CR: send queue

Damon Lanphear damonlan at real.com
Tue Oct 12 16:27:15 PDT 2004


OK


On Oct 11, 2004, at 3:51 PM, Tom Marshall wrote:

> The attached implements the send queue (formerly the write buffer).  
> Please
> see SOD for design explanation.
>
> This has been built and tested on Linux and Solaris 8.  I'm currently 
> unable
> to login to a Win32 server machine.  I don't expect this will cause any
> Win32 problems but it would be a good idea if someone could apply this 
> and
> do a build just to make sure I didn't do anything that makes cl.exe 
> unhappy.
>
> All streaming protocols have been tested on the server and found to be
> functional: RTSP (TCP and UDP), HTTP (cloaking v1, admin GET, admin 
> POST),
> and MMS (TCP and UDP).
>
> The queue was tested by simulating blocking in two ways:
>
> 1. For UDP delivery, simulate EAGAIN result 10% of the time using 
> rand().
>    Datagrams are successfully transmitted on retry.
>
> 2. For TCP delivery, set blocking flag but don't enable the WRITE 
> event for
>    all s/g writes.  Send queue eventually fills and socket user gets a
>    wouldblock result.
>
> The aggregation code was tested to be functional but none of the 
> transports
> have been modified to use it yet.
>
> -- 
> A candidate is a person who gets money from the rich and votes from 
> the poor
> to protect them from each other.
>         -- Unknown
> <sendqueue.tar.gz>_______________________________________________
> Helix-server-dev mailing list
> Helix-server-dev at helixcommunity.org
> http://lists.helixcommunity.org/mailman/listinfo/helix-server-dev




More information about the Protocol-dev mailing list
 

Site Map   |   Terms of Use   |   Privacy Policy   |   Contact Us

Copyright © 1995-2007 RealNetworks, Inc. All rights reserved. RealNetworks and Helix are trademarks of RealNetworks.
All other trademarks or registered trademarks are the property of their respective holders.