Skip to content

Replace Thruster/Puma web server with Falcon#6089

Merged
TheOneFromNorway merged 3 commits intonextfrom
replace_thruster_puma_with_falcon
Mar 10, 2026
Merged

Replace Thruster/Puma web server with Falcon#6089
TheOneFromNorway merged 3 commits intonextfrom
replace_thruster_puma_with_falcon

Conversation

@TheOneFromNorway
Copy link
Copy Markdown
Contributor

Replaces Puma (with Thruster proxy) with Falcon, a high-performance Ruby web server built on the Async framework with native HTTP/2 and fiber-based concurrency, eliminating the need for a separate proxy.

Configuration is driven by environment variables:

  • PORT: listen port (default 4000)
  • WEB_CONCURRENCY: worker count (default 2)
  • HTTP_VERSION: http1 (default) or http2
  • HTTP_PROTOCOL: http (default) or https (self-signed via localhost gem)

JIRA Ticket: MAV-3446

@TheOneFromNorway TheOneFromNorway requested a review from a team as a code owner February 24, 2026 14:55
@TheOneFromNorway TheOneFromNorway force-pushed the replace_thruster_puma_with_falcon branch 3 times, most recently from fe0cd68 to 6f58ebb Compare February 24, 2026 15:39
@thomasleese thomasleese temporarily deployed to mavis-replace-thruster--ogoxhs February 24, 2026 15:43 Inactive
@TheOneFromNorway TheOneFromNorway modified the milestone: v7.2.0 Feb 25, 2026
@TheOneFromNorway TheOneFromNorway force-pushed the replace_thruster_puma_with_falcon branch from 6f58ebb to dcaefc1 Compare February 25, 2026 11:40
@thomasleese thomasleese temporarily deployed to mavis-replace-thruster--xjjvdq February 25, 2026 11:43 Inactive
@TheOneFromNorway TheOneFromNorway force-pushed the replace_thruster_puma_with_falcon branch from dcaefc1 to d179e28 Compare February 25, 2026 11:45
@thomasleese thomasleese temporarily deployed to mavis-replace-thruster--mretdt February 25, 2026 11:48 Inactive
Comment thread spec/spec_helper.rb
Comment thread falcon.rb Outdated
Comment thread Dockerfile Outdated
Copy link
Copy Markdown
Contributor

@thomasleese thomasleese left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just changing my earlier review to request changes so it's easier to find in filters - feel free to dismiss and re-review when ready.

@thomasleese thomasleese added the infrastructure Related to infrastructure changes label Mar 3, 2026
@TheOneFromNorway TheOneFromNorway force-pushed the replace_thruster_puma_with_falcon branch from d179e28 to 4f6993f Compare March 5, 2026 11:22
@TheOneFromNorway TheOneFromNorway force-pushed the replace_thruster_puma_with_falcon branch 2 times, most recently from 3da518f to 3c85f74 Compare March 5, 2026 16:35
@TheOneFromNorway TheOneFromNorway force-pushed the replace_thruster_puma_with_falcon branch from 3c85f74 to cad725c Compare March 5, 2026 16:47
Replaces Puma (with Thruster proxy) with Falcon, a high-performance
Ruby web server built on the Async framework with native HTTP/2 and
fiber-based concurrency, eliminating the need for a separate proxy.

Configuration is driven by environment variables:
- PORT: listen port (default 4000)
- WEB_CONCURRENCY: worker count (default 2)
- HTTP_VERSION: http1 (default) or http2
- HTTP_PROTOCOL: http (default) or https (self-signed via localhost gem)
Move Console.logger.off! to top level of spec_helper so it suppresses
all console-adapter-rails log output (which replaces Rails.logger),
not just Falcon server logs within the Capybara server block.
- Add localhost as explicit requirement
- Use bake command explicitly
@TheOneFromNorway TheOneFromNorway force-pushed the replace_thruster_puma_with_falcon branch from cad725c to 2234981 Compare March 9, 2026 09:52
@TheOneFromNorway TheOneFromNorway modified the milestones: v7.2.0, v7.3.0 Mar 9, 2026
@TheOneFromNorway TheOneFromNorway merged commit 4f7cae1 into next Mar 10, 2026
13 of 14 checks passed
@TheOneFromNorway TheOneFromNorway deleted the replace_thruster_puma_with_falcon branch March 10, 2026 12:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

infrastructure Related to infrastructure changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants