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 13,002 of 14,669   
   Barry Margolin to Jorgen Grahn   
   Re: Using TCP flow control to drop data?   
   17 Aug 09 01:30:37   
   
   From: barmar@alum.mit.edu   
      
   In article ,   
    Jorgen Grahn  wrote:   
      
   > - A partial log line doesn't get finished until the next time   
   >   the client tries to log something -- maybe hours later.   
   >   
   > - If the server is naively written to read a complete line, it may   
   >   be blocked for hours waiting for such a remainder. On the other   
   >   hand, such a server would block forever anyway, if the client host   
   >   disappeared from the network in the middle of a log line.   
      
   It seems to me that the only reason for adding the complexity you   
   described is because you tend to log messages faster than the server can   
   read them.  If that's the case, the above concerns should be moot.   
      
   And if it's not, why are you bothering with this complex design?   
      
   --   
   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