-
-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Swap Puma in favour of Falcon as the default web server #951
Comments
@ioquatix if there's anything you'd like to add here, please go ahead :) ... I'm convinced, just gotta get the rest of the core team on board! |
I love this energy! I'll try to write up some coherent thoughts over the next few days, but it definitely sounds compelling. I wonder if we can research any other details specifically with regard to the Falcon+Roda combo…whatever defaults we go with in the future should prioritize production-grade routes being handled in hybrid or even 100% SSR projects, and also Sequel DB usage. |
I agree with everything discussed here so far. In addition, as long as you are Rack compatible, the server you choose can be left as a decision to the user. Of course, Falcon provides some advantages, but they shouldn't prevent puma being used either IMHO. |
just here to also chime in Websocket + SSE support also make live_reload in dev even better. I would love to see Bridgetown lead the way on Falcon support. Its a fantastic web server. |
Yep that's absolutely where I want to be ... just wanna have a good setup out of the box for Falcon and then the user is free to swap in whatever they want ... we could even have a flag for |
Using falcon by default definitely opens the door to more advanced capabilities including SSE, WebSockets, etc. |
Here's my pitch to swap our default web server. I know we're still only getting v2 out the door, but this is one I'd like to do for v3 ... so a longer term thing.
Why we should
Potential pitfalls
Integration issues
I honestly don't think there should be any. The live reload code is the only holdup at the moment and that's easy enough to sort out if we swap to puma. There's a couple of more pieces we need to sort out for Rack compliance, but it's not too relevant I don't think. It should be a straight swap for the most part.
Alongside Falcon, we can also introduce our opinionated deployment tool which I'm currently working on. I've been working with Caddy for SSL termination and a reverse proxy, but bringing all that under the same roof under Falcon would just simplify the setup so much. And it'd all be Ruby!
The text was updated successfully, but these errors were encountered: