volanar
(Volanar)
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’s very rarely correct to just use Hash concurrently, it often results in hiding concurrency bugs in harder-to-find ways. So it’s 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.)?