This falls under the category of 'reinventing the wheel'. There are people spending a lot of time and energy building things like database connection pools and unless you have a strong belief these implementations are flawed, better to use their work. Reminds me of an old programmer adage... "Good programmers write good code, great programmers steal good code. "