4 ms·
We have a couple legacy Rails <-> Elixir apps being slow-ported forward (low hanging fruit first). The real winner so far for us has been Exq [1], which is a Si
by themgt 10y ago
We have a couple legacy Rails <-> Elixir apps being slow-ported forward (low hanging fruit first). The real winner so far for us has been Exq [1], which is a Sidekiq-compatible job library.
What that means is you can selectively receive jobs in Elixir (e.g. high-perf Phoenix websocket/request handler) and process them in legacy Ruby Sidekiq workers when needed, or vice-versa use Elixir to process jobs whose functions you've ported forward.
If your Rails app is already setup use Sidekiq background jobs, I think this method is much-preferable to these direct communication libraries.
[1] https://github.com/akira/exq https://github.com/akira/exq