Ecto v1.1.0 Ecto.Pools.SojournBroker.CoDel

CoDel based broker.

Drops requests waiting for a connection using the CoDel algorithm. See :sbroker_codel_queue for more information.

Options

  • :queue_interval - The first interval in milliseconds between drops when above target (default: 100)
  • :queue_target - The target time in milliseconds for requests to wait in the queue (default: div(queue_interval, 10))
  • :queue_out - Either :out for a FIFO queue or :out_r for a LIFO queue (default: :out)
  • :queue_drop - Either :drop for head drop on max size or :drop_r for tail drop (default: :drop)
  • :queue_size - The maximum size of the queue (default: 128)