You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In apalis, we use tower::CallAll to process jobs and in a scenario where someone has a layer blocking service readiness such as ConcurrencyLayer then it means a Request is polled from the Stream then held until the service becomes ready while there might be other consumers that may be available to handle the request.
Is it worth considering changing the logic to first check if service is ready then fetch the next item in stream?
The text was updated successfully, but these errors were encountered:
Description
In
CallAll
, once its determined that its not end of a stream, we have the following operations:.call
into the queue.This can be observed here:
tower/tower/src/util/call_all/common.rs
Lines 112 to 138 in 6283f3a
Motivation
In apalis, we use
tower::CallAll
to process jobs and in a scenario where someone has a layer blocking service readiness such asConcurrencyLayer
then it means aRequest
is polled from theStream
then held until the service becomes ready while there might be other consumers that may be available to handle the request.The text was updated successfully, but these errors were encountered: