I am working on a multiple projects that talk to each other sometimes and I've run into an issue where app
- A calls B (
request 1, still running) - B calls A (
request 2) - based on
request 2's result, B responds to request 1
This requires me running multi-threaded rails in development mode.
I know I can set it up using puma or something like that but ... Isn't there really a simpler way?
I would like to avoid changing anything in the project (adding gems, config files..).
Something like rails s --multi would be nice, can't webrick just run with multiple threads or spawn more processes?
Can I perhaps install a standalone gem to do what I need and run something like thin run . -p 3?