Skip to Content
ハイパフォーマンス ブラウザネットワーキング ―ネットワークアプリケーションのためのパフォーマンス最適化
book

ハイパフォーマンス ブラウザネットワーキング ―ネットワークアプリケーションのためのパフォーマンス最適化

by Ilya Grigorik, 和田 祐一郎/株式会社プログラミングシステム社
May 2014
Beginner to intermediate
380 pages
5h 26m
Japanese
O'Reilly Japan, Inc.
Content preview from ハイパフォーマンス ブラウザネットワーキング ―ネットワークアプリケーションのためのパフォーマンス最適化

3章UDPの構成要素

User Datagram Protocol(UDP)は、1980年にインターネットプロトコルスイートの中核としてJon Postelにより追加されました。TCP/IPの登場よりずいぶん後でしたが、その当時、TCPとIPは別個のRFCに分割されようとしていました。このタイミングは重要でした。なぜならば、この後の説明にあるように、UDPの主な特徴とその魅力は、その機能に存在するのではなく、あえて機能を除外したというところに存在するからです。UDPは別名ヌルプロトコルと呼ばれており、その仕様を記述しているRFC 768は確かにナプキンに収まるほど少量です。

データグラム(datagram)
自己完結し、独立した存在としてのデータであり、送信元と宛先のノード間や、そのネットワークにおける過去の通信内容に依存することなく、ノード間のルーティングを行うための十分な情報を持っているもの。

「データグラム」と「パケット」という言葉は同義語として扱われることがありますが、実はそれぞれ特別な意味合いを持っています。「パケット」はフォーマットされたデータブロック全般に対して使われ、「データグラム」はパケットの中でも信頼性の低いサービスによって配信されるものを指します。配信される保証はなく、失敗の通知もありません。そのため、UDPの「User」という単語をより実態に即した「Unreliable」という単語で置き換えた「Unreliable Datagram Protocol」という言葉を見ることもあります。そしてこれがUDPパケットが一般に、そしてより正確には、データグラムと呼ばれる理由でもあります。

おそらく最もよく知られたUDPの用途であり、すべてのブラウザとインターネットアプリケーションが依存するものがDNS(Domain ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

ユニコーン企業のひみつ ―Spotifyで学んだソフトウェアづくりと働き方

ユニコーン企業のひみつ ―Spotifyで学んだソフトウェアづくりと働き方

Jonathan Rasmusson, 島田 浩二, 角谷 信太郎
進化的アーキテクチャ ―絶え間ない変化を支える

進化的アーキテクチャ ―絶え間ない変化を支える

Neal Ford, Rebecca Parsons, Patrick Kua, 島田 浩二

Publisher Resources

ISBN: 9784873116761Other