supavisor icon indicating copy to clipboard operation
supavisor copied to clipboard

Custom pool implementation with telemetry

Open chasers opened this issue 1 year ago • 0 comments

Replace poolboy with custom pool implementation:

  • [ ] better support idle_timeout (database_idle_time)
  • [ ] telemetry events
  • [ ] min_idle_workers - ensure a minimum count of workers are started and available - useful when startup time of a worker is costly - how many additional idle direct connections ready inside pool always
  • [ ] should be parition-able
  • [ ] workers should only be allowed to be checked out based on some criteria or state
  • [ ] don't Supervisor.terminate_child in process loop, do async

Maybe fork: https://github.com/general-CbIC/poolex

chasers avatar Feb 21 '24 17:02 chasers