Product Promotion
0x5a.live
for different kinds of informations and explorations.
GitHub - socketry/falcon: A high-performance web server for Ruby, supporting HTTP/1, HTTP/2 and TLS.
A high-performance web server for Ruby, supporting HTTP/1, HTTP/2 and TLS. - socketry/falcon
Visit SiteGitHub - socketry/falcon: A high-performance web server for Ruby, supporting HTTP/1, HTTP/2 and TLS.
A high-performance web server for Ruby, supporting HTTP/1, HTTP/2 and TLS. - socketry/falcon
Powered by 0x5a.live 💗
Falcon is a multi-process, multi-fiber rack-compatible HTTP server built on top of async, async-container and async-http. Each request is executed within a lightweight fiber and can block on up-stream requests without stalling the entire server process. Falcon supports HTTP/1 and HTTP/2 natively.
Motivation
Initially, when I developed async, I saw an opportunity to implement async-http: providing both client and server components. After experimenting with these ideas, I decided to build an actual web server for comparing and validating performance primarily out of interest. Falcon grew out of those experiments and permitted the ability to test existing real-world code on top of async.
Once I had something working, I saw an opportunity to simplify my development, testing and production environments, replacing production (Nginx+Passenger) and development (Puma) with Falcon. Not only does this simplify deployment, it helps minimize environment-specific bugs.
My long term vision for Falcon is to make a web application platform which trivializes server deployment. Ideally, a web application can fully describe all its components: HTTP servers, databases, periodic jobs, background jobs, remote management, etc. Currently, it is not uncommon for all these facets to be handled independently in platform specific ways. This can make it difficult to set up new instances as well as make changes to underlying infrastructure. I hope Falcon can address some of these issues in a platform agnostic way.
As web development is something I'm passionate about, having a server like Falcon is empowering.
Priority Business Support
Falcon can be an important part of your business or project, both improving performance and saving money. As such, priority business support is available to make every project a success. The support agreement will give you:
- Direct support and assistance via Slack and email.
- Advance notification of bugs and security issues.
- Priority consideration of feature requests and bug reports.
- Better software by funding development and testing.
Please visit Socketry.io to register and subscribe.
Usage
Please see the project documentation for more details.
-
Getting Started - This guide explains how to use Falcon for Ruby web application development.
-
Rails Integration - This guide explains how to host Rails applications with Falcon.
-
Deployment - This guide explains how to use Falcon in production environments.
-
Extended Features - This guide explains some of the extended features and functionality of Falcon.
-
Performance Tuning - This guide explains the performance characteristics of Falcon.
-
How It Works - This guide gives an overview of how Falcon handles an incoming web request.
Releases
Please see the project releases for all releases.
v0.47.8
- Fix Falcon Supervisor implementation: due to invalid code, it was unable to start.
Contributing
We welcome contributions to this project.
- Fork it.
- Create your feature branch (
git checkout -b my-new-feature
). - Commit your changes (
git commit -am 'Add some feature'
). - Push to the branch (
git push origin my-new-feature
). - Create new Pull Request.
Developer Certificate of Origin
In order to protect users of this project, we require all contributors to comply with the Developer Certificate of Origin. This ensures that all contributions are properly licensed and attributed.
Community Guidelines
This project is best served by a collaborative and respectful environment. Treat each other professionally, respect differing viewpoints, and engage constructively. Harassment, discrimination, or harmful behavior is not tolerated. Communicate clearly, listen actively, and support one another. If any issues arise, please inform the project maintainers.
Ruby Resources
are all listed below.
Made with ❤️
to provide different kinds of informations and resources.