ArticleslgStudy

science

Datagram

Datagram is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Datagram rather than just read about it. In short: A datagram is a basic transfer unit associated with a packet-switched network. Datagrams are typically structured in header and payload sections.

Key takeaways

  • Datagram belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Datagram to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Datagram from memory before moving on to harder problems.

Reference excerpt

A datagram is a basic transfer unit associated with a packet-switched network. Datagrams are typically structured in header and payload sections. Datagrams provide a connectionless communication service across a packet-switched network. The delivery, arrival time, and order of arrival of datagrams need not be guaranteed by the network.

History

In the early 1970s, the term datagram was created by combining the words data and telegram by the CCITT rapporteur on packet switching, Halvor Bothner-By. While the word was new, the concept already had a long history. In 1964, Paul Baran described, in a RAND Corporation report, a hypothetical military network having to resist a nuclear attack. Small standardized message blocks, bearing source and destination addresses, were stored and forwarded in computer nodes of a highly redundant meshed computer network. Baran wrote: "The network user who has called up a virtual connection to an end station and has transmitted messages ... might also view the system as a black box providing an apparent circuit connection". The concept of what is now called a virtual circuit appears in the design, although no network was built. In 1967, Donald Davies published an article in which he introduced the packet and packet switching. His proposed core network was similar to the one proposed by Paul Baran, though developed independently. He assumed that "all users of the network will provide themselves with some kind of error control". His target was a "common-carrier communication network". To support remote access to computer services by user terminals, which at that time were transmitted character by character, he included, at the network periphery, interface computers that convert character flows into packet flows and vice versa. Davies wrote: "we were really rather against the virtual circuit, because we believed that a communication network should only concern itself with packets, and that any protocols involved in assembling these packets should be done end-to-end, between the customers themselves." In 1970, Lawrence Roberts and Barry D. Wessler published an article about ARPANET, the first multi-node packet-switching network. An accompanying paper described its switching nodes (the IMPs) and its packet formats. The network core performed datagram switching as in Baran's and Davies' model, but the service offered to hosts by the network was connection oriented. A reliable message transfer service was thus offered to user computers, greatly simplifying the network design. This made the ARPANET what would come to be called a virtual circuit network. Roberts presented the idea of packet switching to communication professionals and faced anger and hostility. Before ARPANET was operating, they argued that the router buffers would quickly run out. After ARPANET was operating, they argued packet switching would never be economic without government subsidy. Baran faced the same rejection and thus failed to convince the military to construct a packet-switching network. In 1973, Louis Pouzin presented his design for CYCLADES, the first large-scale network implementing the pure Davies datagram model. The CYCLADES team was thus the first to address the complex problem of providing user applications a reliable virtual circuit service while using the end-to-end principle in a network service known to possibly produce non-negligible datagram losses and reordering. Although Pouzin's concern "in a first stage is not to make breakthrough [sic] in packet switching technology, but to build a reliable communications tool for Cyclades", two members of his team, Hubert Zimmerman and Gérard Le Lann, made significant contributions to the design of the Internet's TCP that were acknowledged by Vint Cerf, its main designer. In 1981, the Defense Advanced Research Projects Agency (DARPA) issued the first specification of the Internet Protocol (IP). It introduced a major evolution of the datagram concept: fragmentation. With fragmentation, some parts of the global network may use large packet sizes (typically local area networks to minimize processing overhead), while some others may impose smaller packet sizes (typically wide area networks to minimize response time). Network nodes may fragment a datagram into several smaller packets. In 1999, the Internet Engineering Task Force (IETF) sanctioned the use of the already largely deployed network address translation (NAT) whereby each public address can be shared by multiple private devices. With it, the forthcoming IPv4 address exhaustion was delayed, leaving enough time to introduce IPv6, the new generation of Internet Protocol supporting longer addresses. The initial principle of full end-to-end network transparency to datagrams was relaxed for this: NAT nodes had to manage per-connection states, making them in part connection oriented. In 2015, the IETF upgraded the recommendation of its informational 1998 RFC 2309 that datagram switching nodes perform active queue management to a stronger and more detailed best current practice recommendation through the publication of RFC 7567. While the initial datagram queueing model was simple to implement and needed no more tuning than queue lengths, support of more sophisticated and parametrized mechanisms was found necessary "to improve and preserve Internet performance" (RED, ECN, etc.). Further research on the subject was also called for, with a list of identified items.

Definition The term datagram is defined as follows:

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Datagram

Start with the simplest possible case. Write down what Datagram claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Datagram before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Datagram ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Datagram

In research
Datagram appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Datagram in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Datagram is common in secondary-school and first-year university syllabi. It links to neighbouring topics Packets (information technology), Units of information, so understanding it makes those chapters shorter.
In everyday life
Look for Datagram outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Datagram” →

How to study Datagram in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Datagram means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Datagram out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Datagram in simple terms?

A datagram is a basic transfer unit associated with a packet-switched network. Datagrams are typically structured in header and payload sections.

Why does Datagram matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Datagram?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Datagram.

Tags

  • Packets (information technology)
  • Units of information

Keep exploring