The practice about the communication between Rails App
- Rails 5.1.4
- Ruby 2.3.3
- jerry_app
listen: 127.0.0.1:9001
- tom_app
listen: 127.0.0.1:9002
No databases.yml
file, if you need it, create and config it by yourself.
It needs redis
software environment.
gRPC example: you are better to install grpc
and protocol buffers
environment.
listen: 127.0.0.1:9003
bundle exec gruf
-
API
-
Sidekiq
-
gRPC (require ruby version < 2.5)
Yeah, you can replace Sidekiq with other message queue, and you can replace gRPC with other RPC, for example Thrift.