Làm phần mềm: ngày phát hành
25 từ dân làm phần mềm dùng mỗi ngày, từ commit, nhánh tới máy chủ và triển khai.
Release day
On release day our team always follows the same steps. All our source code lives in one repository. Each developer works on a separate branch, and every change is saved as a commit with a short message. Before lunch the team lead reviews the changes and we merge them into the main branch. That becomes the new version of the product.
Next we deploy it to the server. I open a terminal and type a single command, and a script does the rest: it installs the new packages, runs the update on the database and clears the cache so that users do not see old pages. Before any upgrade we take a full backup, just in case.
Last month something went wrong. Right after the release, the app started to crash for some users. A slow query was locking the database, and the new interface was not compatible with older phones. We also had to configure the firewall again, because the new server could not reach the network of our payment partner. Even the office router caused trouble: its bandwidth was too low, so the backup took hours.
It took us six hours to fix everything. Since then, we never release on a Friday.
