Prerequisite – Protocols in Application Layer
Network Time Protocol (NTP) is a protocol that helps the computers clock times to be synchronized in a network. This protocol is an application protocol that is responsible for the synchronization of hosts on a TCP/IP network. NTP was developed by David Mills in 1981 at the University of Delaware. This is required in a communication mechanism so that a seamless connection is present between the computers.
Features of NTP :
Some features of NTP are –
- NTP servers have access to highly precise atomic clocks and GPU clocks
- It uses Coordinated Universal Time (UTC) to synchronize CPU clock time.
- Avoids even having a fraction of vulnerabilities in information exchange communication.
- Provides consistent timekeeping for file servers
Working of NTP :
NTP is a protocol that works over the application layer, it uses a hierarchical system of time resources and provides synchronization within the stratum servers. First, at the topmost level, there is highly accurate time resources’ ex. atomic or GPS clocks. These clock resources are called stratum 0 servers, and they are linked to the below NTP server called Stratum 2 or 3 and so on. These servers then provide the accurate date and time so that communicating hosts are synced to each other.
Architecture of Network Time Protocol :
Applications of NTP :
- Used in a production system where the live sound is recorded.
- Used in the development of Broadcasting infrastructures.
Advantages of NTP :
- It provides internet synchronization between the devices.
- It provides enhanced security within the premises.
- It is used in the authentication systems like Kerberos.
- It provides network acceleration which helps in troubleshooting problems.
- Used in file systems that are difficult in network synchronization.
Disadvantages of NTP :
- When the servers are down the sync time is affected across a running communication.
- Servers are prone to error due to various time zones and conflict may occur.
- Minimal reduction of time accuracy.
- When NTP packets are increased synchronization is conflicted.
- Manipulation can be done in synchronization.
Attention reader! Don’t stop learning now. Get hold of all the important CS Theory concepts for SDE interviews with the CS Theory Course at a student-friendly price and become industry ready.