General

Profile

synacker (Mikhail Milovidov)

  • Login: synacker
  • Registered on: 01/22/2026
  • Last sign in: 09/12/2026

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 1 1 2

Activity

09/12/2026

08:44 PM Ruby Feature #21869: Add receive_all Method to Ractor API for Message Batching
Thank you for the feedback, Koichi!
I’ve rebased the PR to the current master and added benchmark examples to illustrate the performance characteristics of `receive_all`. You can find the benchmarks here:
https://github.com/ruby/ru...
synacker (Mikhail Milovidov)

04/05/2026

07:39 PM Ruby Feature #21869: Add receive_all Method to Ractor API for Message Batching
This is my first pr and issue. I’m unsure about the current status — is the request rejected, or are there any actions required from my side? synacker (Mikhail Milovidov)

03/17/2026

09:56 PM Ruby Feature #21869: Add receive_all Method to Ractor API for Message Batching
ko1 (Koichi Sasada) wrote in #note-8:
> If it returns `[]` always, I think we don't need to introduce it.
I've updated pr. The limit parameter behaves as fallow:
1. ```limit == nil```: returns all messages in the queue, or blocks if...
synacker (Mikhail Milovidov)
10:18 AM Ruby Feature #21869: Add receive_all Method to Ractor API for Message Batching

ko1 (Koichi Sasada) wrote in #note-8:
> For this purpose, it is possible to introduce another parameter such as `timeout: 0`.
> ...
LGTM, I’ll update the PR with this suggestion.
synacker (Mikhail Milovidov)

03/05/2026

09:42 AM Ruby Feature #21930: Add Ractor#empty? method to check for pending messages without blocking
nobu (Nobuyoshi Nakada) wrote in #note-8:
> synacker (Mikhail Milovidov) wrote in #note-4:
> ...
Thank you for the feedback. Ractor#empty? isn’t a niche fix - it’s a general‑purpose primitive for efficient schedulers and Ractor‑Fiber i...
synacker (Mikhail Milovidov)

03/03/2026

09:47 PM Ruby Feature #21930: Add Ractor#empty? method to check for pending messages without blocking
ufuk (Ufuk Kayserilioglu) wrote in #note-6:
> @synacker Which version of Ruby are you testing with? Can you please send your `ruby -v` output for the benchmark results?
This is a ruby version from my pr (https://github.com/ruby/ruby/...
synacker (Mikhail Milovidov)
08:41 PM Ruby Feature #21930: Add Ractor#empty? method to check for pending messages without blocking
nobu (Nobuyoshi Nakada) wrote in #note-3:
> As for your example, why does `Worker` ractor handle both of `main_task` and dispatch alone, instead of launching each ractors?
I compared two strategies for handling concurrent tasks:
1...
synacker (Mikhail Milovidov)

03/02/2026

09:32 AM Ruby Feature #21930: Add Ractor#empty? method to check for pending messages without blocking
nobu (Nobuyoshi Nakada) wrote in #note-3:
> This sounds like leading to a typical TOC/TOU problem.
I appreciate the concern about a potential TOC/TOU issue, but I believe it doesn’t apply in this specific case. Consider the following pa...
synacker (Mikhail Milovidov)

03/01/2026

06:42 PM Ruby Feature #21930: Add Ractor#empty? method to check for pending messages without blocking
Added pr: https://github.com/ruby/ruby/pull/16277 synacker (Mikhail Milovidov)
06:20 PM Ruby Feature #21930 (Feedback): Add Ractor#empty? method to check for pending messages without blocking
**Summary**
In concurrent Ractor‑based architectures, there’s a critical need to check whether a Ractor has pending messages without blocking. Currently, this is not possible with the standard API
**Motivation**
The Ractor API provi...
synacker (Mikhail Milovidov)

Also available in: Atom