Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
-
Economics & Finance
Connection-Oriented Services
A connection-oriented service is one that establishes a dedicated connection between the communicating entities before data communication commences. It is modeled after the telephone system. To use a connection-oriented service, the user first establishes a connection, uses it, and then releases it. In connection-oriented services, the data streams/packets are delivered to the receiver in the same order in which they have been sent by the sender.
Types of Connection-Oriented Services
Connection-oriented services may be implemented in either of the following ways:
-
Circuit-switched connection − In circuit switching, a dedicated physical path or circuit is established between the communicating nodes and then data stream is transferred.
-
Virtual circuit-switched connection − Here, the data stream is transferred over a packet switched network, in such a way that it seems to the user that there is a dedicated path from the sender to the receiver. A virtual path is established here. However, other connections may also be using this path.
Service Categories
Connection-oriented services may be categorized into the following types:
-
Reliable Message Stream − e.g., sequence of pages
-
Reliable Byte Stream − e.g., file download
-
Unreliable Connection − e.g., VoIP (Voice over Internet Protocol)
Advantages of Connection-Oriented Services
-
Reliability − This is mostly a reliable connection with error detection and correction.
-
Reduced congestion − Congestions are less frequent due to flow control mechanisms.
-
Ordered delivery − Sequencing of data packets is guaranteed.
-
Duplicate prevention − Problems related to duplicate data packets are alleviated.
-
Long connections − Suitable for applications requiring sustained data transfer.
Disadvantages of Connection-Oriented Services
-
Resource overhead − Resource allocation is needed before communication. This often leads to under-utilized network resources.
-
Connection delay − The lesser speed of connection due to the time taken for establishing and releasing the connection.
-
Single path dependency − In the case of router failures or network congestions, there are no alternative ways to continue communication.
Comparison
| Aspect | Connection-Oriented | Connectionless |
|---|---|---|
| Setup Required | Yes (3-phase: establish, transfer, release) | No (direct data transfer) |
| Reliability | High (guaranteed delivery and order) | Low (best effort) |
| Overhead | High (connection state maintenance) | Low (no connection state) |
| Example Protocols | TCP, X.25 | UDP, IP |
Conclusion
Connection-oriented services provide reliable, ordered data delivery through a three-phase process of connection establishment, data transfer, and connection release. While they offer guaranteed delivery and flow control, they require more resources and setup time compared to connectionless alternatives.
