{"id":13835611,"url":"https://github.com/socketry/falcon","last_synced_at":"2026-04-09T05:01:08.727Z","repository":{"id":39251515,"uuid":"94398103","full_name":"socketry/falcon","owner":"socketry","description":"A high-performance web server for Ruby, supporting HTTP/1, HTTP/2 and TLS.","archived":false,"fork":false,"pushed_at":"2026-03-19T06:19:27.000Z","size":5354,"stargazers_count":2978,"open_issues_count":29,"forks_count":98,"subscribers_count":47,"default_branch":"main","last_synced_at":"2026-04-07T18:18:55.819Z","etag":null,"topics":["async","async-http","asynchronous","concurrent","falcon","http-server","ruby","server"],"latest_commit_sha":null,"homepage":"https://socketry.github.io/falcon/","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/socketry.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":".github/funding.yml","license":"license.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"custom":"https://github.com/socketry/community/#funding","github":"ioquatix"}},"created_at":"2017-06-15T03:59:49.000Z","updated_at":"2026-04-07T14:00:53.000Z","dependencies_parsed_at":"2024-02-29T09:45:25.267Z","dependency_job_id":"4231154f-d6db-4713-8629-26f5fc2ebc1e","html_url":"https://github.com/socketry/falcon","commit_stats":{"total_commits":784,"total_committers":25,"mean_commits":31.36,"dds":0.0535714285714286,"last_synced_commit":"7c7c3c1fbfe1b3d57c2290570d9a10f5c30081fb"},"previous_names":[],"tags_count":163,"template":false,"template_full_name":null,"purl":"pkg:github/socketry/falcon","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/socketry%2Ffalcon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/socketry%2Ffalcon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/socketry%2Ffalcon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/socketry%2Ffalcon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/socketry","download_url":"https://codeload.github.com/socketry/falcon/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/socketry%2Ffalcon/sbom","scorecard":{"id":835645,"data":{"date":"2025-08-11","repo":{"name":"github.com/socketry/falcon","commit":"6cc4e91e13fca97c229cf7890856675bb3bba6d0"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":5.9,"checks":[{"name":"Maintained","score":10,"reason":"16 commit(s) and 11 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":0,"reason":"Found 1/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":10,"reason":"GitHub workflow tokens follow principle of least privilege","details":["Info: topLevel 'contents' permission set to 'read': .github/workflows/documentation-coverage.yaml:6","Info: topLevel 'contents' permission set to 'read': .github/workflows/documentation.yaml:10","Info: topLevel 'contents' permission set to 'read': .github/workflows/rubocop.yaml:6","Info: topLevel 'contents' permission set to 'read': .github/workflows/test-coverage.yaml:6","Info: topLevel 'contents' permission set to 'read': .github/workflows/test-external.yaml:6","Info: topLevel 'contents' permission set to 'read': .github/workflows/test.yaml:6","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/documentation-coverage.yaml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/socketry/falcon/documentation-coverage.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/documentation-coverage.yaml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/socketry/falcon/documentation-coverage.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/documentation.yaml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/socketry/falcon/documentation.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/documentation.yaml:30: update your workflow using https://app.stepsecurity.io/secureworkflow/socketry/falcon/documentation.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/documentation.yaml:43: update your workflow using https://app.stepsecurity.io/secureworkflow/socketry/falcon/documentation.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/documentation.yaml:58: update your workflow using https://app.stepsecurity.io/secureworkflow/socketry/falcon/documentation.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/rubocop.yaml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/socketry/falcon/rubocop.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/rubocop.yaml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/socketry/falcon/rubocop.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-coverage.yaml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/socketry/falcon/test-coverage.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/test-coverage.yaml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/socketry/falcon/test-coverage.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-coverage.yaml:37: update your workflow using https://app.stepsecurity.io/secureworkflow/socketry/falcon/test-coverage.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-coverage.yaml:49: update your workflow using https://app.stepsecurity.io/secureworkflow/socketry/falcon/test-coverage.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/test-coverage.yaml:50: update your workflow using https://app.stepsecurity.io/secureworkflow/socketry/falcon/test-coverage.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-coverage.yaml:55: update your workflow using https://app.stepsecurity.io/secureworkflow/socketry/falcon/test-coverage.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-external.yaml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/socketry/falcon/test-external.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/test-external.yaml:29: update your workflow using https://app.stepsecurity.io/secureworkflow/socketry/falcon/test-external.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yaml:53: update your workflow using https://app.stepsecurity.io/secureworkflow/socketry/falcon/test.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/test.yaml:54: update your workflow using https://app.stepsecurity.io/secureworkflow/socketry/falcon/test.yaml/main?enable=pin","Info:   0 out of  11 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   7 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: license.md:0","Info: FSF or OSI recognized license: MIT License: license.md:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: github.com/socketry/.github/security.md:1","Info: Found linked content: github.com/socketry/.github/security.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: github.com/socketry/.github/security.md:1","Info: Found text in security policy: github.com/socketry/.github/security.md:1"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 1 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-23T18:58:08.314Z","repository_id":39251515,"created_at":"2025-08-23T18:58:08.314Z","updated_at":"2025-08-23T18:58:08.314Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31586410,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"online","status_checked_at":"2026-04-09T02:00:06.848Z","response_time":112,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["async","async-http","asynchronous","concurrent","falcon","http-server","ruby","server"],"created_at":"2024-08-04T14:01:06.344Z","updated_at":"2026-04-09T05:01:08.717Z","avatar_url":"https://github.com/socketry.png","language":"Ruby","readme":"# ![Falcon](assets/logo.webp)\n\nFalcon is a multi-process, multi-fiber rack-compatible HTTP server built on top of [async](https://github.com/socketry/async), [async-container](https://github.com/socketry/async-container) and [async-http](https://github.com/socketry/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.\n\n[![Development Status](https://github.com/socketry/falcon/workflows/Test/badge.svg)](https://github.com/socketry/falcon/actions?workflow=Test)\n\n## Motivation\n\nInitially, when I developed [async](https://github.com/socketry/async), I saw an opportunity to implement [async-http](https://github.com/socketry/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](https://github.com/socketry/async).\n\nOnce 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.\n\nMy 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.\n\nAs web development is something I'm passionate about, having a server like Falcon is empowering.\n\n## Priority Business Support\n\nFalcon 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:\n\n  - Direct support and assistance via Slack and email.\n  - Advance notification of bugs and security issues.\n  - Priority consideration of feature requests and bug reports.\n  - Better software by funding development and testing.\n\nPlease visit [Socketry.io](https://socketry.io) to register and subscribe.\n\n## Usage\n\nPlease see the [project documentation](https://socketry.github.io/falcon/) for more details.\n\n  - [Getting Started](https://socketry.github.io/falcon/guides/getting-started/index) - This guide gives an overview of how to use Falcon for running Ruby web applications.\n\n  - [Rails Integration](https://socketry.github.io/falcon/guides/rails-integration/index) - This guide explains how to host Rails applications with Falcon.\n\n  - [Deployment](https://socketry.github.io/falcon/guides/deployment/index) - This guide explains how to deploy applications using the Falcon web server. It covers the recommended deployment methods, configuration options, and examples for different environments, including systemd and kubernetes.\n\n  - [Performance Tuning](https://socketry.github.io/falcon/guides/performance-tuning/index) - This guide explains the performance characteristics of Falcon.\n\n  - [WebSockets](https://socketry.github.io/falcon/guides/websockets/index) - This guide explains how to use WebSockets with Falcon.\n\n  - [Interim Responses](https://socketry.github.io/falcon/guides/interim-responses/index) - This guide explains how to use interim responses in Falcon to send early hints to the client.\n\n  - [How It Works](https://socketry.github.io/falcon/guides/how-it-works/index) - This guide gives an overview of how Falcon handles an incoming web request.\n\n## Releases\n\nPlease see the [project releases](https://socketry.github.io/falcon/releases/index) for all releases.\n\n### v0.55.3\n\n  - Decrement `requests_active` in `Falcon::Server#call` when `super` or `Falcon::Body::RequestFinished.wrap` raises, so utilization metrics are not leaked on error paths.\n\n### v0.55.2\n\n  - Remove unnecessary require for `async/service/supervisor/supervised`.\n\n### v0.55.1\n\n  - `requests_active` is decremented after the response body is closed, including `rack.response_finished` callbacks.\n\n### v0.55.0\n\n  - **Breaking**: Drop dependency on `async-container-supervisor`, you should migrate to `async-service-supervisor` instead.\n  - **Breaking**: Remove support for legacy environments, including `Falcon::Configuration`, now using `Async::Service::Configuration` directly.\n  - **Breaking**: `bake falcon:supervisor:restart` removed – superceeded by `async:service:supervisor:restart`.\n  - Add support for `async-utilization` metrics.\n\n### v0.54.1\n\n  - Fix handling of old style supervisors from `Async::Container::Supervisor`.\n\n### v0.54.0\n\n  - Introduce `Falcon::CompositeServer` for hosting multiple server instances in a single worker.\n\n### v0.52.4\n\n  - Relax dependency on `async-container-supervisor` to allow `~\u003e 0.6`.\n\n### v0.52.0\n\n  - Modernized codebase and dropped support for Ruby v3.1.\n  - Improved Rails integration documentation.\n  - Added extra logging of `RUBY_DESCRIPTION`.\n  - Minor documentation improvements.\n  - Agent context is now available, via the [`agent-context` gem](https://github.com/ioquatix/agent-context).\n\n### v0.51.0\n\n  - Introduce \u003ccode class=\"language-ruby\"\u003eFalcon::Environment::Server\\#make\\_server\u003c/code\u003e which gives you full control over the server creation process.\n  - [Introduce `Async::Container::Supervisor`.](https://socketry.github.io/falcon/releases/index#introduce-async::container::supervisor.)\n\n### v0.50.0\n\n  - Add \u003ccode class=\"language-ruby\"\u003eFalcon::Environment::Server\\#endpoint\\_options\u003c/code\u003e to allow configuration of the endpoint options more easily.\n\n## Contributing\n\nWe welcome contributions to this project.\n\n1.  Fork it.\n2.  Create your feature branch (`git checkout -b my-new-feature`).\n3.  Commit your changes (`git commit -am 'Add some feature'`).\n4.  Push to the branch (`git push origin my-new-feature`).\n5.  Create new Pull Request.\n\n### Developer Certificate of Origin\n\nIn order to protect users of this project, we require all contributors to comply with the [Developer Certificate of Origin](https://developercertificate.org/). This ensures that all contributions are properly licensed and attributed.\n\n### Community Guidelines\n\nThis 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.\n","funding_links":["https://github.com/socketry/community/#funding","https://github.com/sponsors/ioquatix"],"categories":["Ruby","Web Servers"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsocketry%2Ffalcon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsocketry%2Ffalcon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsocketry%2Ffalcon/lists"}