FS#65991 - [GitLab] Switch from Unicorn to Puma as Web Server

Attached to Project: Community Packages
Opened by Tobias (dNhax) - Friday, 27 March 2020, 08:33 GMT
Last edited by Anatol Pomozov (anatolik) - Sunday, 24 May 2020, 19:50 GMT
Task Type Feature Request
Category Packages
Status Closed
Assigned To Anatol Pomozov (anatolik)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

The Puma Web Server is currently in opt-in mode for GitLab (see [1] and [2]). With 13.0 (expected in May) it will become default.

Please consider switching soon, as the benefits of Puma (lower memory consumption and better response times, see [3]) are very welcomed.

[1] https://about.gitlab.com/releases/2020/03/22/gitlab-12-9-released/#reduced-memory-consumption-of-gitlab-with-puma
[2] https://gitlab.com/groups/gitlab-org/-/epics/954
[3] https://github.com/jrochkind/fake_work_app

This task depends upon

Closed by  Anatol Pomozov (anatolik)
Sunday, 24 May 2020, 19:50 GMT
Reason for closing:  Implemented
Additional comments about closing:  13.0.0
Comment by Anatol Pomozov (anatolik) - Friday, 27 March 2020, 16:06 GMT
gitlab-puma_worker_killer-0.1.1.gitlab.1 and gitlab-puma_worker_killer-0.1.1.gitlab.1 gems are already packaged as a part of gitlab package 12.9. You can switch to puma in your app config file. What do you really expect from a maintainer here?
Comment by Tobias (dNhax) - Friday, 27 March 2020, 17:24 GMT
Indeed, I didn't see gitlab-puma inside the bundle list (I looked just for puma).

Maybe you could provide a service unit and a configuration file (like unicorn.rb inside /etc/webapps/gitlab/).
Comment by Jakub Klinkovský (lahwaacz) - Saturday, 02 May 2020, 12:54 GMT
As long as the other units (like gitlab-gitaly.service) hardcode a dependency on gitlab-unicorn.service, I don't think there is an easy way to switch to puma...
Comment by Anatol Pomozov (anatolik) - Saturday, 23 May 2020, 05:24 GMT
Arch package version 13.0.0 switches to Puma as the default server. Please pull it from [community-testing] and give it a try. Let me know if you see any issues.
Comment by Jakub Klinkovský (lahwaacz) - Saturday, 23 May 2020, 07:47 GMT
It seems to work for me without any issue. Thanks!
Comment by Tobias (dNhax) - Sunday, 24 May 2020, 09:09 GMT
Looks good to me too.

Loading...