Search
Joe Pruitt - A Software Architect's take on Network Security
You are here: DevCentral > Weblogs

posted on Thursday, April 24, 2008 11:36 AM

abc

The letter for today in the Networking ABC's is the letter "N".  For "N", there are NATs, netmasks, and NNTP servers, but I opted for a word that's common to those who have dug into the implementations of TCP stacks, but may not be known to the rest of the human race.  This week's word is Nagle's Algorithm.  Without it, the web would be a much slower place.

"N" is for Nagle's Algorithm

tcp-connection-termination

Nagle's Algorithm

Pronounced Nay-gullz Al-guh-rith-uh-m

Nagle's algorithm, named after John Nagle, is a means of improving the efficiency of TCP/IP networks by reducing the number of packets that need to be sent over the network. 

Since TCP packets have a 40 byte header (for ipv4 networks), this results in a 41 byte packet for 1 byte of useful information.

Defined in RFC896, Nagle's algorithm works by coalescing a number of small outgoing messages and sending them all at once.

 


Posted In: BIG-IP, F5,

Feedback

9/19/2008 12:52 PM
Gravatar Here's an interesting Slashdot post by Mr. Nagle himself about the bad interaction between his algorithm and the delayed ACK extension, as well as a proposed fix: http://developers.slashdot.org/comments.pl?sid=174457&threshold=1&commentsort=0&mode=thread&cid=14515105
Kris Plunkett
2/27/2009 5:54 AM
Gravatar Hi!!!

I was reading about this article and about TCP Slow START. I'm getting an unusual error when try to use .net remoting trough out F5 Big IP.At first when the first request comes to F5 Balancer I get a Socket Exception somehing like that "An existing report was closed by remote host." But after a period of time, the application works fine.But when there is no traffic on the network I get the error. Why ? Could be this related to TCP Slow start and Network congestion.

Note : The server farm has 2 nodes.

Thanks
Atthicus

Let Me Know What You Think


Please use the form below if you have any comments, questions, or suggestions.

Title:
 
Name:
 
Email: (so we can show your gravatar)
Website:
Comment: Allowed tags: blockquote, a, strong, em, p, u, strike, super, sub, code
 
Please add 7 and 5 and type the answer here:

Blog Stats

Posts:379
Comments:1067
Stories:1
Trackbacks:301
  

Article Categories

  iRules
  

Image Galleries

  

Joe's bookshelf: read

The Lost Gate
4 of 5 stars
This one started slow but I got really got into it about 1/3 of the way through. If you are an Ender's Game fan, you'll probably like this one as well.

goodreads.com


82,243 Members in 102 Countries and Growing!

Join DevCentral Today!

About DevCentral

DevCentral has been a successful, thriving community for many years. We have always strived to bring you the best technical documentation, discussion forums, blogs, media and much more that we can.

So dive in, get familiar with DevCentral. We hope you like it, we hope it makes your job easier, and lets you get that much more power out of the community. To learn more, make sure to check out the Getting Started section. And if you have any problems, or think something could be easier to use, drop us a line to let us know.

Got It !

We've received your comment and transmitted it directly to DevCentral HQ.

Thanks for taking time to let us know what's on your mind. At DevCentral | Community Matters!

Get In Touch With Us

Have questions, suggestions or just want to get something off your chest?

Use our handy form below to Direct Connect with DevCentral Mission Control.

Send Us Feedback       or