Events are added to Redis in reactor thread by inbound stream.
Before InboundStream#next_event method, which is not thread safe, was delegated to thread pool. However, InboundStream#push_next_event would delegate the execution back to reactor. In the end all redis blocking calls (we use rb-redis there) would be called from reactor.
parent
ea6d5d43
Please register or sign in to comment