Postgres Migration
Update, October 18: Production is switching to PostgreSQL today. The beta site has run on Postgres since September 21. In testing, the production conversion took about 10 minutes of database work; we expect the website and management interface to be down for an hour or two in all. DNS and NTP service aren’t affected.
While the site is down, the management interface shows a maintenance page. Public pages show a cached copy where there is one, so what you see there may be a few hours old. The monitors pause too, so server scores won’t change until we’re back, and the API at api.ntppool.dev is unavailable.
Follow along on status.ntppool.org and the announcements forum.
After more than 20 years on MySQL, the NTP Pool is moving its primary database1 to PostgreSQL. The beta site switches over first, this weekend.
Postgres has been the default open source database for years now. It works better with the Go tools the newer code is built on, and it’s easier to run on our Kubernetes clusters.
The conversion leaned heavily on LLMs and AI coding agents. Most of the work was in the website, which has by far the most legacy code and the most varied ways of talking to the database. Other parts, like the monitoring code, needed much less work.
NTP Pool News