Enlighten the noob

Freelance developer that just can’t stop enjoying Ruby on Rails
Follow this Taaalk

3 followers

421 views

William
07:34, 02 Jul 20
How do you incorporate go with ruby on rails?
Martijn Storck
07:38, 02 Jul 20
I found that incorporating Go and Ruby doesn't really bring any benefits. Calling Go code from Ruby using something like FFI or a native extension is slow and cumbersome. So Go and Ruby exist alongside eachother in my applications, communicating with eachother over message queues (like RabbitMQ) or synchronously over gRPC or HTTP.
Do you have any experience improving Ruby applications by using Go? I've used it mainly to improve performance for small satelite services like API gateways, or big data processing tasks. The challenge is always that a lot of business logic is kept in Rails models, which you can't access from Go without losing a lot of the performance benefits.
Follow this Taaalk

3 followers

421 views

Start your own Taaalk, leave your details or meet someone to Taaalk with.