Figure 3.6 lists popular Internet applications and the transport protocols that they
use. As we expect, e-mail, remote terminal access, the Web, and file transfer run over
TCP—all these applications need the reliable data transfer service of TCP. Nevertheless, many important applications run over UDP rather than TCP. UDP is used for RIP
routing table updates (see Section 4.6.1). Since RIP updates are sent periodically (typically every five minutes), lost updates will be replaced by more recent updates, thus
making the lost, out-of-date update useless. UDP is also used to carry network management (SNMP; see Chapter 9) data. UDP is preferred to TCP in this case, since network
management applications must often run when the network is in a stressed state—precisely when reliable, congestion-controlled data transfer is difficult to achieve. Also,
as we mentioned earlier, DNS runs over UDP, thereby avoiding TCP’s connection-establishment delays.
As shown in Figure 3.6, both UDP and TCP are used today with multimedia
applications, such as Internet phone, real-time video conferencing, and streaming of
stored audio and video. We’ll take a close look at these applications in Chapter 7. We
just mention now that all of these applications can tolerate a small amount of packet
loss, so that reliable data transfer is not absolutely critical for the application’s success. Furthermore, real-time applications, like Internet phone and video conferencing, react very poorly to TCP’s congestion control. For these reasons, developers of
multimedia applications may choose to run their applications over UDP instead of
TCP. However, TCP is increasingly being used for streaming media transport. For
example, [Sripanidkulchai 2004] found that nearly 75% of on-demand and live
streaming used TCP. When packet loss rates are low, and with some organizations
รูปที่ 3.6 แสดงความนิยมการใช้งานอินเทอร์เน็ตและการขนส่งโปรโตคอลที่พวกเขา
ใช้ . ตามที่เราคาดหวัง อีเมล การเข้าถึงระยะไกล terminal , เว็บ , และการถ่ายโอนไฟล์ไป
TCP การใช้งานทั้งหมดเหล่านี้ต้องการความน่าเชื่อถือการถ่ายโอนข้อมูลบริการของ TCP อย่างไรก็ตาม การใช้งานที่สำคัญมากมายวิ่งผ่าน UDP มากกว่า TCP UDP ใช้ฉีก
เส้นทางการปรับปรุงตาราง ( ดูที่ส่วนต่ำ )ตั้งแต่ตัดอัพเดทส่งเป็นระยะ ๆ ( โดยปกติทุกห้านาที ) , ปรับปรุงเสีย จะถูกแทนที่โดยการปรับปรุงล่าสุด จึงทำให้สูญเสีย
จากวันที่ปรับปรุงไร้ประโยชน์ UDP ยังเคยแบกการจัดการเครือข่าย SNMP ; ดูบทที่ 9 ) ข้อมูล ต้องการ TCP UDP ในคดีนี้ เนื่องจากเครือข่าย
โปรแกรมการจัดการมักจะทำงานเมื่อเครือข่ายอยู่ในสถานะติดขัดเมื่อเครียดได้อย่างน่าเชื่อถือ ควบคุมการถ่ายโอนข้อมูลเป็นเรื่องยากที่จะบรรลุ นอกจากนี้
เมื่อเรากล่าวถึงก่อนหน้านี้ , DNS วิ่งผ่าน UDP , TCP การเชื่อมต่อการจัดตั้งเพื่อหลีกเลี่ยงความล่าช้า .
ดังแสดงในรูปที่ 3.6 ทั้ง UDP และ TCP จะใช้วันนี้กับการใช้งานมัลติมีเดีย
เช่นโทรศัพท์อินเทอร์เน็ตการประชุมทางวิดีโอเรียลไทม์และสตรีมมิ่งของ
จัดเก็บเสียงและวิดีโอ เราจะใช้เวลามองใกล้ที่โปรแกรมเหล่านี้ในบทที่ 7 เรา
พูดถึงตอนนี้ทั้งหมดของโปรแกรมเหล่านี้สามารถทนต่อจำนวนเล็ก ๆของแพ็คเก็ต
ขาดทุน ดังนั้นการถ่ายโอนข้อมูลที่น่าเชื่อถือเป็นสำคัญอย่างยิ่งสำหรับความสำเร็จของโปรแกรม การใช้งานแบบเรียลไทม์ นอกจากนี้ เช่นอินเตอร์เน็ต โทรศัพท์ และการประชุมทางวิดีโอ ,ตอบสนองอย่างดีเพื่อการควบคุมความแออัดทีซีพี ) ด้วยเหตุผลเหล่านี้ , นักพัฒนาของ
การใช้งานมัลติมีเดียอาจเลือกที่จะเรียกใช้โปรแกรมประยุกต์ของพวกเขามากกว่า UDP แทน
TCP อย่างไรก็ตาม , TCP เป็นมากขึ้นจะถูกใช้สำหรับการสตรีมมิ่งสื่อการขนส่ง สำหรับ
ตัวอย่าง [ วัฒน์ 2004 ] พบว่าเกือบ 75% ของความต้องการและไลฟ์สตรีม
ใช้ TCP เมื่ออัตราการสูญเสียแพ็คเก็ตจะน้อย และบางองค์กร
การแปล กรุณารอสักครู่..
