nomenclature info:
- machine - physical on virtual PC
- server - an application run on a machine to be accessed by clients
Hello,
we started monitoring delays in requests between our proxy server(NGINX) and our application server(Apache) - each on different virtual machine. With it arose the issue of synchronizing time between the two machines.
In particular we add a header on out proxy server with the current system time and this header is then processed by New Relic APM on the application machine. This in known in New Relic as "Request Queuing".
Our infrastructure provider inform me that the synchronization right now is done from the ESX servers. He also suggested to install a NTP server on the proxy server machine to get better results.
Right now we have these machines in a virtual local network:
- proxy machine (only one connected to outside world) - NGINX
- application machine - LA(M)P stack
- DB machine - with MySQL
- DB replica machine - DB machine back-up storage
- dev machine - GIT and CI+CD servers.
My question is: "Is hosting out own NTP server a good idea for this set up?" and if so, on which machine should it be hosted? Is the proxy machine the best place for it? Or it there some other possibility for synchronizing the clock?