Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom pool implementation with telemetry #310

Open
6 tasks
chasers opened this issue Feb 21, 2024 · 0 comments
Open
6 tasks

Custom pool implementation with telemetry #310

chasers opened this issue Feb 21, 2024 · 0 comments

Comments

@chasers
Copy link
Contributor

chasers commented Feb 21, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant