Skip to content

Production ready? #228

Answered by travisbell
schonert asked this question in Q&A
Mar 11, 2024 · 4 comments · 2 replies
Discussion options

You must be logged in to vote

FWIW, we've been using Falcon on a medium/large scale production service (~10,000 rps) for around 3 months now and haven't had any issues. Mind you this isn't a Rails app, so naturally YMMV. But Falcon is solid.

We took some time to async-ify what we could like our Redis and external HTTP calls which helped out a lot.

With regards to config, it's pretty straight forward:

bundle exec falcon-host config/falcon/production.rb
require "falcon/environment/rack"

service "web.localhost" do
  include Falcon::Environment::Rack

  count ENV.fetch("WEB_CONCURRENCY", 1).to_i
  health_check_timeout 60
  preload "preload.rb"
  rackup_path "config.ru"
  url "http://[::]:#{ENV["APP_PORT"]}"

  endpoint do

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@ioquatix
Comment options

@trevorturk
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by ioquatix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants
Converted from issue

This discussion was converted from issue #227 on March 11, 2024 23:12.