cloud_controller_ng icon indicating copy to clipboard operation
cloud_controller_ng copied to clipboard

Evaluate if CC runs truffleruby

Open FloThinksPi opened this issue 4 years ago • 0 comments

Issue

Different sources claim alternative ruby implementations as well as CRuby 3.x do have a positive performance impact on rails applications that can be quite substantiell.

Context

See https://eregon.me/blog/2022/01/06/benchmarking-cruby-mjit-yjit-jruby-truffleruby.html for reference to a benchmark comparing multiple ruby interpreters also with a rails application benchmark.

We should try out some of them firstly if they work and also if they improve overall performance in a mensurabel way.

As truffleruby claims to be the only ruby interpreter (other than CRuby) which can run rails unit tests successfully(because it is the most compatible one to CRuby) and it also shows the highest potential for improving performance according to the synthetic benchmarks, i feel high sympathy to try it out instead of a less compatible and less performant alternative interpreter like jruby.

Acceptance Criteria

  • [ ] Have a branch of CC_NG that runs with truffleruby
  • [ ] Measure impact on performance (single api call speed)
  • [ ] Measure impact on throughput (amount of requests per second)

FloThinksPi avatar Jan 12 '22 13:01 FloThinksPi