falcon 0.18.2 → 0.18.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +28 -3
- data/lib/falcon/adapters/response.rb +2 -0
- data/lib/falcon/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cfb4c0b76645fd1a72008bb2b2f6de877e2f88b72c0dac6cede9ecf0d2cbfc0e
|
4
|
+
data.tar.gz: 3951067da18bfd9714981c5288df5e75f4dc79144250429752caa33f0d27e078
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5c5b4e9697a8f60ecff8ea962796c098458df3b9a41e19aee64b8121005d41dd6c2eea1b6db771df1509f3d234012fac89cce4c5e5605ed5733d7b1a972b0512
|
7
|
+
data.tar.gz: 5b1c8ae128dc47d7a4d4ca1b733436612bbf5aa85f4b249e54eeaf26e1a0cc0359dc62d7de240442601b9e1018f98a2a2b9ef65bf60bcb463ef1dc4b50d09002
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# ![Falcon](logo.svg)
|
2
2
|
|
3
|
-
Falcon is a multi-process, multi-fiber
|
3
|
+
Falcon is a multi-process, multi-fiber rack-compatible HTTP server built on top of [async], [async-io], [async-container] and [async-http]. Each request is run within a light weight fiber and can block on up-stream requests without stalling the entire server process. Supports HTTP/1 and HTTP/2 natively. [Paid business support](#business-support) is available.
|
4
4
|
|
5
5
|
[![Build Status](https://secure.travis-ci.org/socketry/falcon.svg)](http://travis-ci.org/socketry/falcon)
|
6
6
|
[![Code Climate](https://codeclimate.com/github/socketry/falcon.svg)](https://codeclimate.com/github/socketry/falcon)
|
@@ -11,6 +11,16 @@ Falcon is a multi-process, multi-fiber Rack HTTP server built on top of [async],
|
|
11
11
|
[async-container]: https://github.com/socketry/async-container
|
12
12
|
[async-http]: https://github.com/socketry/async-http
|
13
13
|
|
14
|
+
## Motivation
|
15
|
+
|
16
|
+
When I initially built [async], I saw an opportunity to build [async-http], which provides both client and server components. After toying with these ideas, I decided to build an actual web server, primarily out of interest to compare and validate performance. Falcon grew out of those experiments, and allowed me to test existing real-world code on top of [async].
|
17
|
+
|
18
|
+
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.
|
19
|
+
|
20
|
+
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 it's 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, which can make it difficult both 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.
|
21
|
+
|
22
|
+
As web development is something I'm passionate about, having a server like Falcon is empowering.
|
23
|
+
|
14
24
|
## Installation
|
15
25
|
|
16
26
|
Add this line to your application's Gemfile:
|
@@ -57,7 +67,7 @@ Falcon can restart very quickly and is ideal for use with guard. See [guard-falc
|
|
57
67
|
|
58
68
|
### Integration with Capybara
|
59
69
|
|
60
|
-
|
70
|
+
Falcon can run in the same process on a different thread, so it's great for use with Capybara (and shared ActiveRecord transactions). See [falcon-capybara] for more details.
|
61
71
|
|
62
72
|
[falcon-capybara]: https://github.com/socketry/falcon-capybara
|
63
73
|
|
@@ -88,11 +98,26 @@ Falcon uses a pre-fork model which loads the entire rack application before fork
|
|
88
98
|
If you use this software for business purposes, please consider purchasing Business Support. The agreement will give you:
|
89
99
|
|
90
100
|
- Better software through funded development and testing.
|
101
|
+
- Access to advanced features (outlined below).
|
91
102
|
- Advance notification of bugs and security issues.
|
92
103
|
- Priority consideration of feature requests and bug reports.
|
93
104
|
- Private support and assistance via direct email.
|
94
105
|
|
95
|
-
The price for business support is $
|
106
|
+
The price for business support is $600.00 USD / project / year. Please [contact us](mailto:context@oriontransfer.co.nz?subject=Falcon%20Business%20Support) for more details.
|
107
|
+
|
108
|
+
### "Stretch" Goals
|
109
|
+
|
110
|
+
I would like to invest more time in business specific features. For each paying project as outlined above, one vote is available to prioritize the below work.
|
111
|
+
|
112
|
+
- Add support for push promises and stream prioritization in [async-http].
|
113
|
+
- Add support for rolling restarts in [async-container].
|
114
|
+
- Add support for hybrid process/thread model in [async-container].
|
115
|
+
- Asynchronous Postgres and MySQL database adapters for ActiveRecord in [async-postgres] and [async-mysql].
|
116
|
+
|
117
|
+
[async-http]: https://github.com/socketry/async-http
|
118
|
+
[async-container]: https://github.com/socketry/async-container
|
119
|
+
[async-postgres]: https://github.com/socketry/async-postgres
|
120
|
+
[async-mysql]: https://github.com/socketry/async-mysql
|
96
121
|
|
97
122
|
## Contributing
|
98
123
|
|
data/lib/falcon/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: falcon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.18.
|
4
|
+
version: 0.18.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Williams
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-08-
|
11
|
+
date: 2018-08-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: async-io
|