# Assignment 8. Distributed systems
## Mustafin Timur
## Questions
### What is a stratum in terms of NTP?
It shows the distance (in amount of machines) to the time's source. If it 0 it means the host directly connected to the source and if it's 15 then it the greatest acceptable NTP to allow synchronization
### Q2

* remote — peers from config
* refid — remote's synchonization node
* st — stratum (see Q1)
* t — types of sync available
* when — delay from the last response (s)
* poll — polling interval for source (s)
* reach — success/failure to reach source(bool)
* delay — roundtrip time (ms)
* offset — time difference between host and remote server (ms)
* jitter — time difference between two samples (ms)
### Q3
impossible to detect if events happened at the same time
## Output
Process a [7, 6, 1]
Process b [2, 8, 1]
Process c [2, 8, 4]
## Code
[Snippet](https://gitlab.com/snippets/1907527)