real-time communication

{{Short description|Protocols and communication hardware that give real-time guarantees}}

{{distinguish|Real-time computing|Real-time clock}}

Real-time communication (RTC) is a category of software protocols and communication hardware media that gives real-time guarantees, which is necessary to support real-time guarantees of real-time computing.{{cite tech report | first1 = Sharad | last1 = Sundaresan | first2 = Riccardo | last2 = Bettati | url = https://people.engr.tamu.edu/bettati/Papers/icdcs1997.myrinet/html/paper.html | title = Distributed Connection Management for Real-Time Communication over Wormhole-Routed Networks | date = 1997-07-11 | access-date = 2023-12-17 | website = people.engr.tamu.edu | archive-url = https://web.archive.org/web/20231217222446/https://people.engr.tamu.edu/bettati/Papers/icdcs1997.myrinet/html/paper.html | archive-date = 2023-12-17 | url-status = live | via = Texas A&M University | df = dmy-all}} Real-time communication protocols are dependent not only on the validity and integrity of data transferred but also the timeliness of the transfer. Real-time communication systems are generally understood as one of two types: Hard Real-Time (HRT) and Soft Real-Time (SRT).{{Cite journal | last1 = Doyle | first1 = Paula | date = May–June 2004 | title = Introduction to Real-Time Ethernet I | url = https://www.ccontrols.com/pdf/Extv5n3.pdf | journal = The Extension: A Technical Supplement to Control Network | volume = 5 | pages = 1–4 | publisher =Contemporary Control Systems, Inc | archive-url = https://web.archive.org/web/20230316114234/https://www.ccontrols.com/pdf/Extv5n3.pdf | archive-date = 2023-03-16 | url-status = dead | df = dmy-all }} The difference between a hard and soft real-time communication system is the consequences of incorrect operation. Safety-critical systems capable of causing catastrophic consequences upon a fault, such as aircraft fly-by-wire systems, are designated as hard real-time, whereas non-critical but ideally real-time systems, such as hotel reservation systems, are designated as soft real-time.{{Cite web |title=IE304: Real Time Ethernet, Part 1 |url=https://www.industrialethernetu.com/courses/ie304.html |access-date=2022-03-26 |website=www.industrialethernetu.com}} The designation of a real-time communication system as hard or soft has significant influence on its design.

Hard real-time systems

Hard real-time communication systems are frequently electromechanically linked to a physical mechanism, often one that interfaces directly with people or property, which often contributes to or defines the potential danger of a fault. Due to their safety-critical nature, the communication protocols defined in a hard real-time system generally must be deterministic.{{Cite journal |last=Livani |first=M.A |date=1998 |title=Scheduling Hard and Soft Real-Time Communication in the Controller Area Network |doi=10.1016/S1474-6670(17)44865-8 |journal=IFAC Proceedings Volumes |volume=31 |pages=13 }} Hard real-time communication systems are particularly common in the transportation, industrial, and medical sectors. Common applications include control systems, automotive controllers, medical devices, and critical safety systems such as airbag firing computers.

= Examples =

Dr Barry M Cook; Paul Walker.

[http://www.4links.co.uk/bibliography/Ethernet-SpaceWire-Software-Issues-Cook-Walker-4Links-IAC-2006-paper.pdf "Ethernet over SpaceWire - software issues"].

2007.

Soft real-time systems

{{distinguish|text=Secure Reliable Transport (SRT)}}

Unlike hard real-time communication systems, soft real-time communication systems generally do not have the capacity to cause catastrophic harm upon a fault, which allows for non-deterministic, less rigorous network infrastructure.{{Cite journal |last1=Saravanan |first1=R. |last2=Ramaraj |first2=N. |date=2009-01-31 |title=Providing Reliability in Replicated Middleware Applications |url=https://thescipub.com/abstract/jcssp.2009.11.22 |journal=Journal of Computer Science |language=en-US |volume=5 |issue=1 |pages=11–22 |doi=10.3844/jcssp.2009.11.22 |issn=1552-6607|doi-access=free }} This allows soft real-time communication systems to operate over consumer networks such as residential internet connections and cellular networks. A large amount of soft real-time systems are telecommunications products such as VoIP systems and certain video calling platforms such as Discord{{Cite web |title=How Discord Handles Two and Half Million Concurrent Voice Users using WebRTC |url=https://discord.com/blog/how-discord-handles-two-and-half-million-concurrent-voice-users-using-webrtc |access-date=2022-03-26 |website=discord.com}} and Google Meet.{{Cite web |date=2014-07-29 |title=How does Hangouts use WebRTC? webrtc-internals analysis |url=https://webrtchacks.com/hangout-analysis-philipp-hancke/ |access-date=2022-03-26 |website=webrtcHacks |language=en-US}} Data transmitted over a soft real-time communication system is not stored in a centralized server, and peers are connected directly to one another rather than through a server, although intermediary connecting nodes between peers are allowed when a direct link cannot be established.{{Cite web |title=What is Real-Time Communications (RTC)? |url=https://www.realtimecommunicationsworld.com/what-is-real-time-communications/ |access-date=2022-03-26 |website=www.realtimecommunicationsworld.com |language=en}}

= Examples =

  • WebRTC, an open-source real-time communication framework for mobile applications and web browsers, is the current most prominent implementation of real-time communication in the web-oriented telecommunications space.{{Cite journal |last=Bubley |first=Dean |date=June 2018 |title=Emerging RTC use-cases |url=https://www.callstats.io/hubfs/pdf/whitepapers/The%20Future%20of%20WebRTC%20whitepaper.pdf |journal=Disruptive Analysis}}{{dead link|date=March 2025|bot=medic}}{{cbignore|bot=medic}}

References