in following https://github.com/mperham/connection_pool, Can anybody guide me what is the difference between ConnectionPool and ConnectionPool::Wrapper ? Under what circumstances one should use ConnectionPool::Wrapper ? Pros/cons of each method if they are similar ? I am finding it hard to understand by reading documentations https://github.com/mperham/connection_pool
Asked
Active
Viewed 156 times
0
-
As always, `Wrapper` can be used to wrap an existing pool, `ConnectionPool` provides it’s own implementation. – Aleksei Matiushkin Jun 25 '19 at 11:44
-
Pardon me for my poor understanding, But what do you mean to wrap an existing pool ? – Mohsin Sethi Jun 25 '19 at 13:39
-
To wrap e. g. `redis` pool, provided by `redis`. – Aleksei Matiushkin Jun 25 '19 at 14:25
-
Reading through this thread will help explain the purpose of the wrapper https://github.com/mperham/connection_pool/issues/105 – courtsimas May 08 '20 at 15:44