On Sun, Mar 26, 2023 at 12:13:55PM -0700, Amit Gupta via Postfix-users wrote:

> Hello, according to the docs, when there is a "high volume" of mail in the
> active queue, then a connection is added to the cache,   How is "high
> volume" determined?  Below is the quote from the documentation:
> 
> "On-demand connection caching. This is enabled by default, and is
> controlled with the smtp_connection_cache_on_demand configuration
> parameter. When this feature is enabled, the Postfix smtp(8) client
> automatically saves a connection to the connection cache when a destination
> has a high volume of mail in the active queue"

It suffices for the backlog of pending deliveries to exceed the
destination concurrency limit, so that by the time the current delivery
"cohort" is completed, any cached connections will have an opportunity
to be used.

Basically, connection reuse kicks in when a spike in the input rate
exceeds the output rate, allowing a backlog of mail to accumulate,
which can make connection caching productive (they get reused, rather
than time out idle).

-- 
    Viktor.
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to