volanar
(Volanar)
February 10, 2023, 6:36pm
13
Benoit Daloze:
One issue IIRC was some gems rely on Hash being thread-safe, which we have a general solution for but is not merged/integrated yet in TruffleRuby. OTOH it鈥檚 very rarely correct to just use Hash concurrently, it often results in hiding concurrency bugs in harder-to-find ways. So it鈥檚 arguably better to just fix the gems relying on that, but that takes time.
We need to benchmark performance, and for that to be meaningful/representative we should benchmark multi-threaded. That needs A way to mark C extensions as thread-safe, so they can be executed in parallel 路 Issue #2136 路 oracle/truffleruby 路 GitHub
I hope it will be solved quickly
How much do you think the performance indicators of discourse will improve with the use of truffleruby (TTFB, overall performance, etc.)?