One Thread to Poll Them All: How a Single Pipe Made WaterDrop 50% Faster
27-Feb-2026 337
One polling thread, 25 producers, 50% faster. Learn how WaterDrop replaced per-thread rd_kafka_poll with file descriptor-based IO.select multiplexing.
One Thread to Poll Them All: How a Single Pipe Made WaterDrop 50% Faster #ruby #rubydeveloper #rubyonrails #Thread #Single #WaterDrop #Faster #thread https://rubyonrails.ba/link/one-thread-to-poll-them-all-how-a-single-pipe-made-waterdrop-50-faster