Based on https://brunosutic.com/blog/async-ruby
rvm install 3.0.1
rvm use 3.0.1
bundle
- bump max number of open file descriptors: ulimit -n 1000
brew install postgresql redis
(optional)- set postgresql max_connections to 1000 (optional)
ruby async.rb [db_user, db_name]