home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.protocols.tcp-ip      TCP and IP network protocols.      14,669 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 12,750 of 14,669   
   Barry Margolin to Jorge   
   Re: What is the best method for streamin   
   04 Mar 09 14:47:11   
   
   45f070b0   
   From: barmar@alum.mit.edu   
      
   In article   
   <0f1ffd10-a215-4a7b-82b9-f83d55e666a7@x38g2000yqj.googlegroups.com>,   
    Jorge  wrote:   
      
   > Thank you all for your replies!   
   >   
   > To clarify, the chunks are small so that the recipient can receive   
   > them in "real time".   
   >  I am streaming financial market data. The recipient must receive the   
   > data in a timely fashion.   
      
   The recipient will receive it as soon as you send it and it makes it   
   across the network.  Using small chunks won't speed things up.  After   
   gzipping, just call write() on what you've got, and TCP should send it   
   all as quickly as possible.   
      
   > Is there a better protocol than TCP for this type of application?   
      
   It depends on how many of TCP's features you depend on, and how much   
   work you're willing to do to reproduce those features in your own   
   protocol.   
      
   --   
   Barry Margolin, barmar@alum.mit.edu   
   Arlington, MA   
   *** PLEASE don't copy me on replies, I'll read them in the group ***   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca