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

[NEW EXAMPLE] Puppet - HTTP Connection Pool #39

Closed
ainzzorl opened this issue Aug 9, 2021 · 0 comments
Closed

[NEW EXAMPLE] Puppet - HTTP Connection Pool #39

ainzzorl opened this issue Aug 9, 2021 · 0 comments
Labels
new example New example proposal

Comments

@ainzzorl
Copy link
Owner

ainzzorl commented Aug 9, 2021

General

Description

Puppet, an automated administrative engine for your Linux, Unix, and Windows systems, performs administrative tasks (such as adding users, installing packages, and updating server configurations) based on a centralized specification.

Puppet implements a pool for reusing HTTP connections.

Links

What makes it interesting

  • Idiomatic Ruby.
  • Very common problem, very reusable.
  • Simple, easy to understand.

Related work

No

Other

A library implementing similar functionality: https://github.com/mperham/connection_pool/blob/master/lib/connection_pool.rb

Similar functionality in Rails: https://github.com/rails/rails/blob/83217025a171593547d1268651b446d3533e2019/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb

@ainzzorl ainzzorl added the new example New example proposal label Aug 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new example New example proposal
Projects
None yet
Development

No branches or pull requests

1 participant