Skip to content

Commit

Permalink
fiber async falcon
Browse files Browse the repository at this point in the history
  • Loading branch information
michelson committed Feb 24, 2024
1 parent 1901b85 commit b50b50e
Show file tree
Hide file tree
Showing 3 changed files with 72 additions and 6 deletions.
3 changes: 2 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ gem "haml"
gem "jsbundling-rails"
gem "kredis", "~> 1.3"
gem "propshaft"
gem "puma", "~> 6.0"
# gem "puma", "~> 6.0"
gem "falcon"
gem "rails_heroicon"
gem "sassc"
gem "tailwindcss-rails"
Expand Down
73 changes: 68 additions & 5 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,28 @@ GEM
anyway_config (2.5.4)
ruby-next-core (>= 0.14.0)
ast (2.4.2)
async (2.8.2)
console (~> 1.10)
fiber-annotation
io-event (~> 1.1)
timers (~> 4.1)
async-container (0.16.13)
async
async-io
async-http (0.63.0)
async (>= 1.25)
async-io (>= 1.28)
async-pool (>= 0.2)
protocol-http (~> 0.26.0)
protocol-http1 (~> 0.18.0)
protocol-http2 (~> 0.16.0)
traces (>= 0.10.0)
async-http-cache (0.4.3)
async-http (~> 0.56)
async-io (1.41.0)
async
async-pool (0.4.0)
async (>= 1.25)
aws-eventstream (1.2.0)
aws-partitions (1.849.0)
aws-record (2.13.0)
Expand Down Expand Up @@ -225,6 +247,7 @@ GEM
browser (2.7.1)
bugsnag (6.26.0)
concurrent-ruby (~> 1.0)
build-environment (1.13.0)
builder (3.2.4)
capybara (3.39.2)
addressable
Expand All @@ -242,6 +265,10 @@ GEM
coderay (1.1.3)
concurrent-ruby (1.2.2)
connection_pool (2.4.1)
console (1.23.4)
fiber-annotation
fiber-local
json
crack (0.4.5)
rexml
crass (1.0.6)
Expand Down Expand Up @@ -295,6 +322,19 @@ GEM
factory_bot_rails (6.2.0)
factory_bot (~> 6.2.0)
railties (>= 5.0.0)
falcon (0.43.0)
async
async-container (~> 0.16.0)
async-http (~> 0.57)
async-http-cache (~> 0.4.0)
async-io (~> 1.22)
build-environment (~> 1.13)
bundler
localhost (~> 1.1)
openssl (~> 3.0)
process-metrics (~> 0.2.0)
protocol-rack (~> 0.1)
samovar (~> 2.1)
faraday (1.10.3)
faraday-em_http (~> 1.0)
faraday-em_synchrony (~> 1.0)
Expand Down Expand Up @@ -325,6 +365,8 @@ GEM
ffi-compiler (1.0.1)
ffi (>= 1.0.0)
rake
fiber-annotation (0.2.0)
fiber-local (1.0.0)
friendly_id (5.5.1)
activerecord (>= 4.0.0)
gapic-common (0.20.0)
Expand Down Expand Up @@ -406,6 +448,7 @@ GEM
ruby-vips (>= 2.0.17, < 3)
io-console (0.6.0)
io-console (0.6.0-java)
io-event (1.4.4)
irb (1.9.0)
rdoc
reline (>= 0.3.8)
Expand All @@ -414,6 +457,7 @@ GEM
actionview (>= 5.0.0)
activesupport (>= 5.0.0)
jmespath (1.6.2)
jruby-openssl (0.14.3-java)
jsbundling-rails (1.2.1)
railties (>= 6.0.0)
json (2.6.3)
Expand Down Expand Up @@ -443,6 +487,7 @@ GEM
llhttp-ffi (0.4.0)
ffi-compiler (~> 1.0)
rake (~> 13.0)
localhost (1.2.0)
loofah (2.22.0)
crass (~> 1.0.2)
nokogiri (>= 1.12.0)
Expand All @@ -451,6 +496,7 @@ GEM
net-imap
net-pop
net-smtp
mapping (1.1.1)
marcel (1.0.2)
matrix (0.4.2)
method_source (1.0.0)
Expand Down Expand Up @@ -505,6 +551,9 @@ GEM
opensearch-ruby (3.0.1)
faraday (>= 1.0, < 3)
multi_json (>= 1.0)
openssl (3.2.0)
openssl (3.2.0-java)
jruby-openssl (~> 0.14)
orm_adapter (0.5.0)
os (1.1.4)
parallel (1.23.0)
Expand All @@ -517,11 +566,24 @@ GEM
activesupport (>= 5.2)
phonelib (0.8.5)
php_serialize (1.2)
process-metrics (0.2.1)
console (~> 1.8)
samovar (~> 2.1)
propshaft (0.8.0)
actionpack (>= 7.0.0)
activesupport (>= 7.0.0)
rack
railties (>= 7.0.0)
protocol-hpack (1.4.2)
protocol-http (0.26.1)
protocol-http1 (0.18.0)
protocol-http (~> 0.22)
protocol-http2 (0.16.0)
protocol-hpack (~> 1.4)
protocol-http (~> 0.18)
protocol-rack (0.4.1)
protocol-http (~> 0.23)
rack (>= 1.0)
pry (0.14.2)
coderay (~> 1.1)
method_source (~> 1.0)
Expand All @@ -537,10 +599,6 @@ GEM
psych (5.1.1.1-java)
jar-dependencies (>= 0.1.7)
public_suffix (5.0.3)
puma (6.4.0)
nio4r (~> 2.0)
puma (6.4.0-java)
nio4r (~> 2.0)
racc (1.7.3)
racc (1.7.3-java)
rack (2.2.8)
Expand Down Expand Up @@ -669,6 +727,9 @@ GEM
ffi (~> 1.12)
ruby2_keywords (0.0.5)
rubyzip (2.3.2)
samovar (2.2.0)
console (~> 1.0)
mapping (~> 1.0)
sassc (2.4.0)
ffi (~> 1.9)
sassc (2.4.0-x64-mingw32)
Expand Down Expand Up @@ -729,7 +790,9 @@ GEM
thor (1.3.0)
tilt (2.3.0)
timeout (0.4.1)
timers (4.3.5)
timezone (1.3.23)
traces (0.11.1)
truemail (3.1.0)
simpleidn (~> 0.2.1)
turbo-rails (1.5.0)
Expand Down Expand Up @@ -823,6 +886,7 @@ DEPENDENCIES
execjs
factory_bot_rails
faker!
falcon
faraday
fast_page (~> 0.1.5)
friendly_id (~> 5.2)
Expand Down Expand Up @@ -863,7 +927,6 @@ DEPENDENCIES
propshaft
pry
pry-remote
puma (~> 6.0)
rack-cors (~> 1.0)
rails (= 7.1.1)
rails_heroicon
Expand Down
2 changes: 2 additions & 0 deletions config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ class Application < Rails::Application

config.active_storage.variant_processor = :mini_magick

config.active_support.isolation_level = :fiber

# Settings in config/environments/* take precedence over those specified here.
# Application configuration can go into files in config/initializers
# -- all .rb files in that directory are automatically loaded after loading
Expand Down

0 comments on commit b50b50e

Please sign in to comment.