Making *MaNy* threads on Ruby Koichi Sasada Cookpad Inc. ko1@cookpad.com 1 RubyKaigi 2022 MaNy Project • Goal: Make MANY threads (> 100K) • Support massive network concurrent connections • HTTP/2, WebSocket, GRPC, … • Like Go, Erlang, … • Lightweight Ractor creation • Many actors like Erlang • Technique: M:N threads • M native threads (M is about nproc) and N (> 100K) Ruby threads • Current: 1:1 m