Фото: Алексей Майшев / РИА Новости
Forgejo stores issues, pull requests, users, permissions, webhooks, branch protection rules, and CI status in Postgres already, and git repositories are the one thing left on the filesystem, forcing every deployment to coordinate backups between them, and the two systems scale and fail in different ways. The codebase already shows the strain: Forgejo mirrors branch metadata from git into its own database tables (models/git/branch.go) so it can query branches without shelling out to git every time.
,这一点在一键获取谷歌浏览器下载中也有详细论述
CPU - AMD Ryzen 7 PRO 7840U; 8 cores and 16 threads, base clock speed of 3.3 GHz with a maximum boost of 5.1 GHz
(3)50ms 后,sleep 结束,JVM 把虚拟线程重新挂到某个空闲的载体线程上,继续执行后面的 getOrderFromDb(),然后又遇到 sleep,再次卸载……