pitchfork 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pitchfork might be problematic. Click here for more details.
- checksums.yaml +7 -0
- data/.git-blame-ignore-revs +3 -0
- data/.gitattributes +5 -0
- data/.github/workflows/ci.yml +30 -0
- data/.gitignore +23 -0
- data/COPYING +674 -0
- data/Dockerfile +4 -0
- data/Gemfile +9 -0
- data/Gemfile.lock +30 -0
- data/LICENSE +67 -0
- data/README.md +123 -0
- data/Rakefile +72 -0
- data/docs/Application_Timeouts.md +74 -0
- data/docs/CONFIGURATION.md +388 -0
- data/docs/DESIGN.md +86 -0
- data/docs/FORK_SAFETY.md +80 -0
- data/docs/PHILOSOPHY.md +90 -0
- data/docs/REFORKING.md +113 -0
- data/docs/SIGNALS.md +38 -0
- data/docs/TUNING.md +106 -0
- data/examples/constant_caches.ru +43 -0
- data/examples/echo.ru +25 -0
- data/examples/hello.ru +5 -0
- data/examples/nginx.conf +156 -0
- data/examples/pitchfork.conf.minimal.rb +5 -0
- data/examples/pitchfork.conf.rb +77 -0
- data/examples/unicorn.socket +11 -0
- data/exe/pitchfork +116 -0
- data/ext/pitchfork_http/CFLAGS +13 -0
- data/ext/pitchfork_http/c_util.h +116 -0
- data/ext/pitchfork_http/child_subreaper.h +25 -0
- data/ext/pitchfork_http/common_field_optimization.h +130 -0
- data/ext/pitchfork_http/epollexclusive.h +124 -0
- data/ext/pitchfork_http/ext_help.h +38 -0
- data/ext/pitchfork_http/extconf.rb +14 -0
- data/ext/pitchfork_http/global_variables.h +97 -0
- data/ext/pitchfork_http/httpdate.c +79 -0
- data/ext/pitchfork_http/pitchfork_http.c +4318 -0
- data/ext/pitchfork_http/pitchfork_http.rl +1024 -0
- data/ext/pitchfork_http/pitchfork_http_common.rl +76 -0
- data/lib/pitchfork/app/old_rails/static.rb +59 -0
- data/lib/pitchfork/children.rb +124 -0
- data/lib/pitchfork/configurator.rb +314 -0
- data/lib/pitchfork/const.rb +23 -0
- data/lib/pitchfork/http_parser.rb +206 -0
- data/lib/pitchfork/http_response.rb +63 -0
- data/lib/pitchfork/http_server.rb +822 -0
- data/lib/pitchfork/launcher.rb +9 -0
- data/lib/pitchfork/mem_info.rb +36 -0
- data/lib/pitchfork/message.rb +130 -0
- data/lib/pitchfork/mold_selector.rb +29 -0
- data/lib/pitchfork/preread_input.rb +33 -0
- data/lib/pitchfork/refork_condition.rb +21 -0
- data/lib/pitchfork/select_waiter.rb +9 -0
- data/lib/pitchfork/socket_helper.rb +199 -0
- data/lib/pitchfork/stream_input.rb +152 -0
- data/lib/pitchfork/tee_input.rb +133 -0
- data/lib/pitchfork/tmpio.rb +35 -0
- data/lib/pitchfork/version.rb +8 -0
- data/lib/pitchfork/worker.rb +244 -0
- data/lib/pitchfork.rb +158 -0
- data/pitchfork.gemspec +30 -0
- metadata +137 -0
metadata
ADDED
@@ -0,0 +1,137 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: pitchfork
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Jean Boussier
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2022-10-05 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: raindrops
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0.7'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0.7'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rack
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '2.0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '2.0'
|
41
|
+
description: |-
|
42
|
+
`pitchfork` is a preforking HTTP server for Rack applications designed
|
43
|
+
to minimize memory usage by maximizing Copy-on-Write performance.
|
44
|
+
email:
|
45
|
+
- jean.boussier@gmail.com
|
46
|
+
executables:
|
47
|
+
- pitchfork
|
48
|
+
extensions:
|
49
|
+
- ext/pitchfork_http/extconf.rb
|
50
|
+
extra_rdoc_files: []
|
51
|
+
files:
|
52
|
+
- ".git-blame-ignore-revs"
|
53
|
+
- ".gitattributes"
|
54
|
+
- ".github/workflows/ci.yml"
|
55
|
+
- ".gitignore"
|
56
|
+
- COPYING
|
57
|
+
- Dockerfile
|
58
|
+
- Gemfile
|
59
|
+
- Gemfile.lock
|
60
|
+
- LICENSE
|
61
|
+
- README.md
|
62
|
+
- Rakefile
|
63
|
+
- docs/Application_Timeouts.md
|
64
|
+
- docs/CONFIGURATION.md
|
65
|
+
- docs/DESIGN.md
|
66
|
+
- docs/FORK_SAFETY.md
|
67
|
+
- docs/PHILOSOPHY.md
|
68
|
+
- docs/REFORKING.md
|
69
|
+
- docs/SIGNALS.md
|
70
|
+
- docs/TUNING.md
|
71
|
+
- examples/constant_caches.ru
|
72
|
+
- examples/echo.ru
|
73
|
+
- examples/hello.ru
|
74
|
+
- examples/nginx.conf
|
75
|
+
- examples/pitchfork.conf.minimal.rb
|
76
|
+
- examples/pitchfork.conf.rb
|
77
|
+
- examples/unicorn.socket
|
78
|
+
- exe/pitchfork
|
79
|
+
- ext/pitchfork_http/CFLAGS
|
80
|
+
- ext/pitchfork_http/c_util.h
|
81
|
+
- ext/pitchfork_http/child_subreaper.h
|
82
|
+
- ext/pitchfork_http/common_field_optimization.h
|
83
|
+
- ext/pitchfork_http/epollexclusive.h
|
84
|
+
- ext/pitchfork_http/ext_help.h
|
85
|
+
- ext/pitchfork_http/extconf.rb
|
86
|
+
- ext/pitchfork_http/global_variables.h
|
87
|
+
- ext/pitchfork_http/httpdate.c
|
88
|
+
- ext/pitchfork_http/pitchfork_http.c
|
89
|
+
- ext/pitchfork_http/pitchfork_http.rl
|
90
|
+
- ext/pitchfork_http/pitchfork_http_common.rl
|
91
|
+
- lib/pitchfork.rb
|
92
|
+
- lib/pitchfork/app/old_rails/static.rb
|
93
|
+
- lib/pitchfork/children.rb
|
94
|
+
- lib/pitchfork/configurator.rb
|
95
|
+
- lib/pitchfork/const.rb
|
96
|
+
- lib/pitchfork/http_parser.rb
|
97
|
+
- lib/pitchfork/http_response.rb
|
98
|
+
- lib/pitchfork/http_server.rb
|
99
|
+
- lib/pitchfork/launcher.rb
|
100
|
+
- lib/pitchfork/mem_info.rb
|
101
|
+
- lib/pitchfork/message.rb
|
102
|
+
- lib/pitchfork/mold_selector.rb
|
103
|
+
- lib/pitchfork/preread_input.rb
|
104
|
+
- lib/pitchfork/refork_condition.rb
|
105
|
+
- lib/pitchfork/select_waiter.rb
|
106
|
+
- lib/pitchfork/socket_helper.rb
|
107
|
+
- lib/pitchfork/stream_input.rb
|
108
|
+
- lib/pitchfork/tee_input.rb
|
109
|
+
- lib/pitchfork/tmpio.rb
|
110
|
+
- lib/pitchfork/version.rb
|
111
|
+
- lib/pitchfork/worker.rb
|
112
|
+
- pitchfork.gemspec
|
113
|
+
homepage: https://github.com/Shopify/pitchfork
|
114
|
+
licenses:
|
115
|
+
- GPL-2.0+
|
116
|
+
- Ruby
|
117
|
+
metadata: {}
|
118
|
+
post_install_message:
|
119
|
+
rdoc_options: []
|
120
|
+
require_paths:
|
121
|
+
- lib
|
122
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
123
|
+
requirements:
|
124
|
+
- - ">="
|
125
|
+
- !ruby/object:Gem::Version
|
126
|
+
version: 2.5.0
|
127
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ">="
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
requirements: []
|
133
|
+
rubygems_version: 3.3.7
|
134
|
+
signing_key:
|
135
|
+
specification_version: 4
|
136
|
+
summary: Rack HTTP server for fast clients and Unix
|
137
|
+
test_files: []
|