Wireless / Networking

  1. Home
  2. Computing & Technology
  3. Wireless / Networking
Nagle algorithm
<Back to Last Page>     <Full Glossary>

Definition: The Nagle algorithm, named after engineer John Nagle, was designed to reduce LAN and other network congestion from TCP applications. TCP implementations on UNIX began using the Nagle algorithm in the 1980s, and the algorithm remains a standard feature of TCP implementations today.

 Nagle Algorithm - Related Terms
• OSI
• LAN
• socket
• TCP/IP  
 

The Nagle algorithm works by aggregating data on the sending side of TCP applications. It accumulates sequences of small messages into larger TCP packets before data reaches the wire, thereby preventing the generation of unnecessarily large numbers of small packets. When the Nagle algorithm works as designed, TCP applications utilize network resources more efficiently.

Applications can enable or disable the Nagle algorithm with the TCP_NODELAY socket option. Windows, Linux, and Java systems all normally enable the Nagle algorithm by default. However, in some cases, the Nagle algorithm has a negative effect on application performance, so network application engineers may prefer to disable it.

Also Known As: nagling

Related Resources:

TCP and UDP Practice Test
Test your knowledge of the TCP and UDP protocols, including the Nagle algorithm.

TCP and UDP Protocols
TCP and UDP are standard transport protocols for the Web's Internet Protocol (IP) traffic.

<Back to Last Page>     <Full Glossary>

Explore Wireless / Networking

About.com Special Features

Build Your Own Website

Step-by-step advice on how to do everything from choosing a Web host to promoting your content. More >

Connect Your Home Computers

Easy ways to connect two computers for networking purposes. More >

Wireless / Networking

  1. Home
  2. Computing & Technology
  3. Wireless / Networking

©2009 About.com, a part of The New York Times Company.

All rights reserved.